我应该使用哪种 3D 模型格式? [英] Which 3D Model format should I be using?

查看:27
本文介绍了我应该使用哪种 3D 模型格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个游戏引擎,我想知道我应该使用/加载/导出什么 3D 模型格式?Obj 看似通用且简单,但它似乎也不可靠,因为大多数模型都包含错误,而且它的存储量不像其他格式那样多.

Im writing a game engine and I'm wondering what 3D model format should I use/load/export? Obj seems universal and easy but it also appears to be unreliable in that most models out there contain errors and it doesn't store anywhere near as much as other formats.

似乎有专门用于游戏的格式,例如 MD2/3/5 但我不确定,如果我建模,我使用wings3d,除了纯粹加载我需要的格式和支持的格式之外,我不知道还有什么其他细节我必须实施,例如我需要实施 IK 吗?我可以使用脚本化的每件动画而不是反向运动学和骨骼索具吗?

There appear to be formats specifically for games such as MD2/3/5 but Im not sure, I use wings3d if I model, and I don't know what other details beyond purely loading what I need and support from the format Id have to implement, such as would I need to implement IK? and can I use scripted per piece animation rather than Inverse kinematics and bone rigging?

推荐答案

Collada 是一个开放的Khronos 组(OpenGL 标准主体)拥有的基于 XML 的 3d 模型格式

Collada is an open XML based format for 3d models owned by the Khronos group(OpenGL standards body)

来自 Collada.org 常见问题解答:

From the Collada.org FAQ:

COLLADA 1.4.x 功能集包括:

The COLLADA 1.4.x feature set includes:

  • 网格几何体
  • 变换层次结构(旋转、平移、剪切、缩放、矩阵)
  • 效果
  • 着色器(Cg、GLSL、GLES)
  • 材料
  • 纹理
  • 灯光
  • 相机
  • 皮肤
  • 动画
  • 物理(刚体、约束、布娃娃、碰撞、体积)
  • 实例化
  • 技术
  • 多重表示
  • 资产
  • 用户数据

这篇关于我应该使用哪种 3D 模型格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆