PDA

View Full Version : .3ds file don't include texture,how can I load model with texture?



hooknn
11-30-2005, 12:29 AM
With people's help in this forum.I found a lib file called lib3ds.Now I can load .3ds file model in my program.But there is a new problem. .3ds file don't include texture.How can I load model with texture in OpenGL.Waiting for your advices.

ZbuffeR
11-30-2005, 03:12 AM
So it is not a Opengl problem, it is a lib3ds one right ?
Better ask them, or read their docs, especially about materials :
http://lib3ds.sourceforge.net/lib3ds-1.2.0/doc/html/group__material.html