PDA

View Full Version : Reading 3DS files



08-19-2003, 10:42 AM
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 ?

Thanks in advance.

yaro_dup1
08-19-2003, 10:52 AM
Look at: www.gametutorials.com (http://www.gametutorials.com) there is a tutorial with source code for 3DS loading.

08-19-2003, 11:10 AM
Thanks a lot.
Do you know of a tool that writes C/openGL code from a 3ds model ?

DJSnow
08-19-2003, 12:08 PM
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...

Jared@ETC
08-20-2003, 03:29 AM
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).

08-20-2003, 08:39 AM
Thanks a lot, guys!