Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Loading material properties - please help !

  1. #1
    Member Regular Contributor
    Join Date
    Jul 2001
    Posts
    409

    Loading material properties - please help !

    Hello,

    I'm writing an ASE loader and I've the following question about ASE files :
    what are *MATERIAL_SHINE and
    *MATERIAL_SHINESTRENGTH ?
    This time I really need your help, because I don't see how to calculate the GL_SHININESS !

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    May 2000
    Location
    Oxford, England
    Posts
    547

    Re: Loading material properties - please help !

    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....

  3. #3
    Member Regular Contributor
    Join Date
    Jul 2001
    Posts
    409

    Re: Loading material properties - please help !

    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 !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •