有关 3D 模型渲染基础知识的资源
也许我错过了一些东西,但我已经找不到任何与此相关的问题。如果有人知道的话,如果您能发布链接,那就太好了。
我知道已经有大量的开源引擎,它们非常容易使用,这不是需要一个的问题,但我不喜欢不知道我想要使用的东西是如何工作的。但环顾四周,却找不到任何东西。我不是一个孤身一人执行制造引擎的疯狂任务的受虐疯子。
我已经完成了 OpenGL 的所有基础知识,我可以对其进行硬编码来绘制一些东西,我不需要从第一次启动它开始进行完整的运行,但我不知道如何将其转移到渲染模型,并且似乎没有任何地方可以解释它。我试图看看是否可以找到任何文件类型的结构上的任何内容,看看我是否可以自己弄清楚如何使用它们来渲染模型,但这有点死胡同。
Maybe I've missed something, but I couldn't find any questions about this already. If anyone knows of any then it would be great if you could post the links.
I know there's loads of massive opensource engines out there already that it'd be really easy to use, it's not a problem of needing one, but I don't like not knowing how the things I want to use work. But looking around, I can't find anything on it. I'm not some masochistic nutjob on a crazy lone mission to make an engine.
I've done all the basics of OpenGL already, I can hardcode it to draw something, I don't need a complete runthrough from first starting it, but I haven't a clue how to move that on to rendering a model, and nothing anywhere seems to explain it. I've tried to see if I can find anything on the structure of any file types to see if I could figure out myself how you use them to render the model, but that was a bit of a dead end.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
OpenGL FAQ 的 第 24 节 包含一些主题,涵盖各种加载/渲染文件格式。特别是第 24.040 节。
OpenGL 使用的更常见格式之一是 obj 文件格式,可能是因为许多程序可以导出到它。 Google 上有很多关于 obj 的资源。
Section 24 of the OpenGL FAQ has some topics covering loading/rendering of various file formats. Specifically section 24.040.
One of the more common formats that is used with OpenGL is the obj file format, probably because many programs can export to it. There's plenty of resources around regarding obj to Google up.