PDA

View Full Version : how to load multi-texture 3ds



folli88
01-05-2012, 08:47 AM
Hi all,
i have a question about loading 3ds using this (http://www.spacesimulator.net/wiki/index.php?title=Tutorials:3ds_Loader) tutorial. I want to use more than one texture on the model (because here (http://www.scifi3d.com/list.asp?intGenreID=10&intCatID=10) all the models have more than one) but it seems that this library can't do that. Do you know any other alternatives or a way to edit this existing library to reach my aim?

thanks.

thokra
01-05-2012, 02:34 PM
OpenGL has no concept of proprietary model or scene description formats. For 3DS files up to spec version 4 (I believe) there is http://code.google.com/p/lib3ds/

Still, this has nothing to do with advanced OpenGL in any way.

folli88
01-05-2012, 02:52 PM
Thanks for your reply. Do you know if this library loads also textures? I can't find it in the source...

Thanks for your patience!!!

folli88
01-06-2012, 11:02 AM
I apologize for the wrong section!!!!

V-man
01-06-2012, 11:13 AM
No, it does not.
If you want to read image files, there is DevIL, SOIL and many others.
http://www.opengl.org/wiki/Image_Libraries