how to load 3DS files with jpeg texture

can anyone tell me how to load a 3ds file with jpeg texture in a OpenGL proagram?
thank you

You have three options at least:

  1. Read it as a usual 3ds file.
  2. Check google for free source code.
  3. See for 3ds file description.

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

Find docs about the 3ds hierachy and chunks file. Have a look at Clax at

For Jpeg, use the libjpeg.

DigiBen’s got it all covered: for a 3DS loader and has a jpeg texture loader.

thank you very much