3ds files and opengl lights

Started by
-1 comments, last by knobby67 16 years, 8 months ago
Hello everyone, I'm writting a model loader to load 3ds models (I'm using lib3ds). All is going well except I'm a bit stuck on lights, I've found the lights, however it really only contains data position, if it's a spot, distance and light colour. The problem is normally for a light I'd set AMBIENT SPECULAR and DiffUSE, however 3ds only seems to have one array for colour? I'm guessing this is diffuse as this has the most effect. Can someone tell me how I get the other 2 types of light if 3ds only produces 1 light array? Or does this model type not produce the other type at all. Thanks

This topic is closed to new replies.

Advertisement