This sample shows us how to read, parse 3DS file, and display them on the screen with OpenGL. The key point here is read the model vertex position, texture coordinates, vertex color and feed them into OpenGL API. Nothing special care need here.
The full source code could be found from here.
转载于:https://www.cnblogs.com/open-coder/archive/2012/12/29/2839410.html
本文介绍如何使用OpenGL读取、解析并显示3DS文件。重点在于读取模型顶点位置、纹理坐标、顶点颜色,并将其输入到OpenGL API中。提供了完整的源代码链接。

被折叠的 条评论
为什么被折叠?



