views:

43

answers:

1

Hello, this is my 1st question in the site. I need a 3DS model loader for opengl applications. Loader should also be able to load .jpg textures. I tried to use OpenSceneGraph for this purpose but this time I have to also use the whole OpenSceneGraph data structure to render the scene. Is it possible to use OpenSceneGraph only for model loading and do the rest with standart opengl code, especially glTranslate, glRotate, etc.

+3  A: 

Googling turned up this: lib3ds

Not sure if it can read JPEGs but that should be easy enough with libjpeg or equivalent.

Staffan
If you happend to use libSDL than libSDL_image might be your friend.
Sean Farrell