Hi all,
I’d like to read a 3DS file in my C++ application. Sometime ago I used 3DWin, which also wrote on a file all the code needed to create the same model using OpenGL.
Since I can’t reach 3DWin site anymore(it appears to be down), does anyone know some similar program ?
goto support.discreet.com, register/logon there, go into download section and download a thingy called “3dsfiletoolkit”; in there you will find everything needed to do what you desire…
Check out the tool PolyTrans (http://www.okino.com/conv/conv.htm). It can import/outport several model formats, including OpenGL C code.
However, I would recommend making a loader that can load external models. This will cut down on the size of your executable, and you can pick and choose which models are loaded at a given time (rather than having every model in memory at every time).