3doutlaw opened this issue on Feb 29, 2012 · 8 posts
Medzinatar posted Thu, 01 March 2012 at 12:34 PM
When making this code, I looked inside a material file to find name Poser is using.
Rather than writing extra code, I just have script use internal name.
Most of the internal name have same value as what you see in material room, but these have exception
node "poser" "PoserSurface"
{
name "PoserSurface"
pos 10 10
showPreview 1
nodeInput "Highlight_Color"
{
name "Specular_Color"
value 1 1 1
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file NO_MAP
}
nodeInput "Highlight_Value"
{
name "Specular_Value"
value 0 0 10
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file NO_MAP
}