问题描述
游戏程序员将在OpenGL中加载的推荐动画模型格式是什么?
What is the recommended animated model format that a game programmer would load in OpenGL?
我看了一些OpenGL教程中可用的.md2和.3ds格式.但是,它们似乎都已经相当老了.有没有当代游戏程序员会喜欢的任何受支持的模型格式?
I have taken a look at .md2 and .3ds formats available at some OpenGL tutorials. However, it would appear that they are both fairly old. Is there any well-supported model format that a contemporary game programmer would prefer?
推荐答案
如果您是初学者,则可能应该从这些格式开始. (或者MD3,可能是MD2之后的MD3.)较新的3D格式通常不会通过客观地更好地取代旧的3D格式,而是通常通过支持更复杂的功能来取代旧的3D格式.我建议您选择一种复杂的格式,以免给自己带来麻烦.
If you're a beginner, you should probably start with those formats. (Or maybe MD3, which comes after MD2.) Newer 3D formats don't typically supercede old ones by being objectively better, but usually by supporting more complex features. I'd recommend not making life difficult for yourself by picking a complex format.
如果您不是初学者,那么您可能不会问这个问题. ;)专业开发人员通常具有特定于他们使用的引擎的定制模型类型.
If you're not a beginner, then you probably wouldn't be asking this question. ;) Professional developers usually have a bespoke model type that is specific to the engine they're using.
如果您对模型有特定要求,那么可能存在符合您需求的模型格式,但是MD2和MD3在商业游戏中效果很好,因此它们也可能对您也很好.通常,您应该从另一侧着手解决这个问题-我的艺术家可以创建哪种类型的模型,或者我可以获得哪种类型的模型?它们采用什么格式?我可以使用这种格式吗?
If you have specific requirements for your models then it's possible that there exists a model format that fits your needs, but MD2 and MD3 worked fine for commercial games so they'll probably work fine for you too. Generally you should approach this from the other side - what sort of models can my artists create, or what sort of models can I obtain? What format are they in? Can I use that format?
这篇关于推荐的动画模型格式以在OpenGL中加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!