Skip to main content
gamedev.net
🔒 Locked

lib3ds - color

Started by hylke2 Aug 8, 2005 at 3:45 AM 1 replies 1k views
Original Post
hylke2
hylke2
Hello, I'm looking for the variable that holds the colors of the triangles. I've been browsing the online documentation from lib3ds, but I did not find it. So could anyone tell me which variable it is? Thanx Hylke
Daivuk
Daivuk
lib3ds. You are trying to load a 3ds file?

If its this, there is the solution ;) :

MAT_DIFFUSE = 0xA020
COLOR_24 = 0x0011 (unsigned char x3)
or
LIN_COLOR_24 = 0x0012 (unsigned char x3)
hylke2
hylke2
Quote:
Original post by Daivuk
lib3ds. You are trying to load a 3ds file?

If its this, there is the solution ;) :

MAT_DIFFUSE = 0xA020
COLOR_24 = 0x0011 (unsigned char x3)
or
LIN_COLOR_24 = 0x0012 (unsigned char x3)


Yes, but using lib3ds, which loads the file in to variables.
My problem is to find the right variable :-).
So I don't think that's gonna help me alot.
Hylke

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.