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