how to load an 3ds model file to OpenGl?

i am a beginner to OpenGl .I have some 3ds files to load in the OpenGL scenes,these 3ds model include some materals(some jpg files),i can not load these jpg files to the OPengl,please help me

oh dear… For a beginner, try a 3ds file converter. Some converts the code to a C file. try xroads.

this is an old converter I used a long time ago. There are probably much better ones. I’d be interested to know.

If you look on the 2nd page of the OpenGL tutorials on , they have a tutorial on how to load JPEGs as textures.

  • Halcyon

thanks,very much!!!
now ,i have resolved this problem