Ken _Gilliland opened this issue on Jun 16, 2005 ยท 3 posts
Ken _Gilliland posted Thu, 16 June 2005 at 12:53 PM
With Poser 5 and 6 not wanting to attach P4/PP MAT bump files I thought the easiest solution would be to write a partial MAT file using the Bump part of the shader tree... the problem I'm having is it wipes out the exisiting texture map as well.
Below is a portion of the code, what am I doing wrong?
{
version
{
number 5
}
figure
{
material plumage
{
bumpStrength 1
bumpMap ":Runtime:textures:songbirds:SBRP5_bump.jpg"
0 0
shaderTree
{
node "poser" "PoserSurface"
{
pos 10 10
nodeInput "Bump"
{
value 0.036 -10 10
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node "Image_Map_4"
file ""
}
}
node "image_map" "Image_Map_4"
{
pos 291 277
nodeInput "Image_Source"
{
value 1 1 1
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file ":Runtime:textures:songbirds:SBRP5_bump.jpg"
}
nodeInput "Auto_Fit"
{
value 0 0 0
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file ""
}
nodeInput "U_Scale"
{
value 1 -1 1
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file ""
}
nodeInput "V_Scale"
{
value 1 -1 1
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file ""
}
nodeInput "U_Offset"
{
value 0 0 1
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file ""
}
nodeInput "V_Offset"
{
value 0 0 1
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file ""
}
nodeInput "Texture_Coords"
{
value 1 0 0
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file ""
}
nodeInput "Image_Mapped"
{
value 4 0 0
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file ""
}
nodeInput "Background"
{
value 1 1 1
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file ""
}
nodeInput "Global_Coordinates"
{
value 0 0 1
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file ""
}
nodeInput "Mirror_U"
{
value 0 0 0
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file ""
}
nodeInput "Mirror_V"
{
value 0 0 0
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file ""
}
nodeInput "Texture_Strength"
{
value 1 0 1
parmR NO_PARM
parmG NO_PARM
parmB NO_PARM
node NO_NODE
file ""
}
}
...