3d格式

Importing meshes into Unity can be achieved from two main types of files:

可以通过两种类型的文件将网格导入到unity中。

  1. Exported 3D file formats, such as .FBX or .OBJ 
    导出3D文件格式,比如fbx或者obj。
  2. Proprietary 3D application files, such as .Max and .Blend file formats from 3D Studio Max or Blender for example. 
    使用3D软件原生的文件格式。比如3d studiomax和blender 的max ,blend格式等。

Either should enable you to get your meshes into Unity, but there are considerations as to which type you choose:

以上两种方式均可以让你将模型网格导入到unity中,但是你需要按照你的需求考虑到底使用哪种格式。

Exported 3D files 导出3D文件

Unity can read .FBX.dae (Collada), .3DS.dxf and .obj files, FBX exporters can be found here and obj or Collada exporters can also be found for many applications

Unity支持读取fbx dae(collada一种开源的3d格式)3ds dfx和obj。Fbx导出器你可以在这里找到obj或者collada导出器你可以在很多三维软件中看到。

Advantages: 优点

  • Only export the data you need 
    只需要导出你需要的数据。
  • Verifiable data (re-import into 3D package before Unity) 
    可反复检查的数据(可以再untiy修改对其修改之前重新导回到3d软件中)
  • Generally smaller files 
    生成的文件比较小。
  • Encourages modular approach - e.g different components for collision types or interactivity 
    支持组合处理—比如用不同组件来处理碰撞和交互
  • Supports other 3D packages whose Proprietary formats we don't have direct support for 
    可以支持任何3d软件包尽管他们的原生格式不能直接被unity读取。

Disadvantages: 缺点

  • Can be a slower pipeline for prototyping and iterations 
    当制作游戏原型或者反复修改时可能是一个比较慢的流程。
  • Easier to lose track of versions between source(working file) and game data (exported FBX for example) 
    在原始文件(工作中正在处理的)和游戏数据之间不太容易做版本控制(比如导出fbx文件)。

Proprietary 3D application files 
3D软件原生格式

Unity can also import, through conversionMaxMayaBlenderCinema4DModoLightwave & Cheetah3D files, e.g. .MAX.MB.MA etc.

Unity可以通过转换导入max maya blender cinema4d mono lightwave和cheetah3D文件等,max mb ma格式。等

Advantages: 优点

  • Quick iteration process (save the source file and Unity reimports) 
    快速反复改进(保存后原始文件unity会自动导入)
  • Simple initially 
    容易掌握

Disadvantages: 缺点

  • A licensed copy of that software must be installed on all machines using the Unity project 
    所有用到unity工程的计算机都要安装相应的正版软件。
  • Files can become bloated with unnecessary data 
    文件中会包含不需要的一些数据
  • Big files can slow Unity updates 
    臃肿的文件可能会使unity更新变得很慢。
  • Less validation � harder to troubleshoot problems 
    存在一些小问题难以被察觉的。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值