lib3ds -> color

Hello,
I’ve got a really easy question.
Which variable holds the colors of all the triangles?
I’ve searched the lib3ds documentation, but I couldn’t find what I was looking for.
Thanx in advance,
Hylke

take a look at “face material” chunk (0x4130). Triangles have assigned not single color but material with diffuse, ambient, specular, etc. components.

So there’s no such color I can assign to glColor*()?

Diffuse material should best fit for color. 3DStudio (and so 3DSMax) are best suited for lighted scenes, so with using material instead of simple color.

Material colors or vertex colors? I see .3ds has material colors, but it doesn’t have vertex colors.

Originally posted by jide:
Diffuse material should best fit for color. 3DStudio (and so 3DSMax) are best suited for lighted scenes, so with using material instead of simple color.
I’Il just stick to light sources then :-p

Material colors or vertex colors? I see .3ds has material colors, but it doesn’t have vertex colors.
If you use lighting, it will change the color for (almost) each vertex.
So you only need one.