简体   繁体   English

3D模型渲染基础知识资源

[英]Resources on basics of 3D model rendering

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. 我已经完成了OpenGL的所有基础知识,我可以对其进行硬编码以绘制一些东西,从一开始就不需要完整的演练,但是我不知道如何将其应用于渲染模型,以及似乎没有任何地方可以解释它。 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. 我尝试查看是否可以在任何文件类型的结构上找到任何内容,以查看是否可以自己使用它们来呈现模型,但这有点死胡同。

Section 24 of the OpenGL FAQ has some topics covering loading/rendering of various file formats. OpenGL常见问题解答的第24节包含一些主题,涉及各种文件格式的加载/渲染。 Specifically section 24.040. 特别是第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. obj使用的一种较常见的格式是obj文件格式 ,可能是因为许多程序都可以将其导出。 There's plenty of resources around regarding obj to Google up. 关于obj到Google的资源很多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM