Forum: Poser - OFFICIAL


Subject: Pose2Lux

LaurieA opened this issue on Feb 13, 2011 · 1102 posts


ice-boy posted Fri, 25 February 2011 at 7:22 AM

Quote - > Quote - how can we use IOR settings for glossy?

Define a glossy material in an XML file and load it into Pose2Lux:


   
       
       
            "color Kd" [USE_KD]
            "color Ks" [USE_KS]
            "float uroughness" [0.1]
            "float vroughness" [0.1]
            "color Ka" [0.0 0.0 0.0]
            "float d" [0.0]
            "float index" [0.0]
            "texture bumpmap" [USE_BUMPMAP]
       

       
   

Obviously changing the names of the library and material to suit your own needs.

You could save several versions of this simple glossy material in your library, each with a different IOR set in the "float index" field (defaulting to 0.0 in the example above)

could you use the blinn node from poser to tell pose2lux what kind of IOR number to use? that way it would be automatic?