View Full Version : how to load 3DS files with jpeg texture

05-15-2002, 08:39 PM
can anyone tell me how to load a 3ds file with jpeg texture in a OpenGL proagram?
thank you

Michael Steinberg
05-15-2002, 09:24 PM
You have three options at least:
1. Read it as a usual 3ds file.
2. Check google for free source code.
3. See wotsit.org for 3ds file description.

(and you may use libjpg for the jpeg files...)

05-15-2002, 11:36 PM
Find docs about the 3ds hierachy and chunks file. Have a look at Clax at http://www.geocities.com/SiliconValley/Bay/6525/

For Jpeg, use the libjpeg.

05-16-2002, 06:25 PM
DigiBen's got it all covered:
http://www.gametutorials.com/Tutorials/OpenGL/OpenGL_Pg4.htm for a 3DS loader and
http://www.gametutorials.com/Tutorials/OpenGL/OpenGL_Pg1.htm has a jpeg texture loader.

05-16-2002, 10:18 PM
thank you very much