PDA

View Full Version : Does anyone use lib3ds and textures?



benwestgarth
06-06-2005, 08:21 PM
Hi there,
I have succesfully imported a 3ds world into my game using lib3ds. What I can't figure out is how to map the textures to my geometry. There doesn't seem to be any samples or documentation on this. Can anyone help me out please?
Thanks,
Ben

jide
06-07-2005, 01:42 AM
Originally posted by benwestgarth:
Hi there,
I have succesfully imported a 3ds world into my game using lib3ds. What I can't figure out is how to map the textures to my geometry. There doesn't seem to be any samples or documentation on this. Can anyone help me out please?
Thanks,
BenEffectively, the examples do not provide anything for texturing... Some piece of advice: textures are stored per mesh. Have a look at the headers.

benwestgarth
06-07-2005, 04:10 PM
True, the textures are for each mesh, but I still can't tell how to find each set of texture coords for binding. Anyone have a code snip they could kindly post?
Cheers, Ben