View Full Version : Loading material properties - please help !
09-04-2001, 01:44 AM
I'm writing an ASE loader and I've the following question about ASE files :
what are *MATERIAL_SHINE and
This time I really need your help, because I don't see how to calculate the GL_SHININESS !
Rob The Bloke
09-05-2001, 02:46 PM
Offering a stab in the dark :
*MATERIAL_SHINE -> GL_SHININESS
*MATERIAL_SHINESTRENGTH -> intensity of the specular colour perhaps?
If MATERIAL_SHINE is in the range of 5 to 100 and MATERIAL_SHINESTRENGTH is in the range of 0 to 1, then I'd guess that'd be it.
As I say though, complete stab in the dark. Its rare for Material properties to match perfectly from a package to openGL, so you kinda blag it.... My experiance is with Maya, and thats messy....
09-06-2001, 12:07 AM
Thank you, it seems to work, although it's difficult to be sure that what I get is what my graphist had in mind... Thanks !
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.