Jump to content
  • Advertisement
Sign in to follow this  
hylke2

lib3ds - color

This topic is 4849 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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)

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!