PDA

View Full Version : how to load an 3ds model file to OpenGl?



wanghua_1976
03-23-2003, 10:25 PM
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

oliii
03-24-2003, 03:14 AM
oh dear... For a beginner, try a 3ds file converter. Some converts the code to a C file. try xroads.
http://synapses.bu.edu/tools/xroads/xroads.stm

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

HalcyonBlaze
03-24-2003, 04:15 AM
If you look on the 2nd page of the OpenGL tutorials on www.gametutorials.com (http://www.gametutorials.com) , they have a tutorial on how to load JPEGs as textures.

- Halcyon

wanghua_1976
03-25-2003, 05:19 PM
thanks,very much!!!!
now ,i have resolved this problem