cornelp opened this issue on Mar 13, 2006 ยท 9 posts
cornelp posted Mon, 13 March 2006 at 2:34 PM
I am trying to figure this out again. I had no problems before, but maybe I am missing something. Why wont this work? I have 2 separate MATs for 1 object. Loaded the object, selecting the MAT in P5 wont work, in P6 will work no problems. Why? I thought that if U add Actor $CURRENT will work no problem, but it seems to give me grief bout it. Here, I attached part of the PZ2 file: { version { number 5.01 } actor $CURRENT { material Roof { KdColor 0.988235 0.988235 0.988235 1 KaColor 0.001 0.001 0.001 1 KsColor 0.001 0.001 0.001 1 TextureColor 1 1 1 1 NsExponent 100 tMin 0 tMax 0 tExpo 0.6 bumpStrength 0.279996 ksIgnoreTexture 0 reflectThruLights 1 reflectThruKd 0 textureMap ":Runtime:textures:IA-Tillium:Roof.jpg" 0 0 bumpMap ":Runtime:textures:IA-Tillium:Roof-Bump.jpg" 0 0 reflectionMap NO_MAP transparencyMap NO_MAP ReflectionColor 0.00784314 0.00784314 0.00784314 1 reflectionStrength 1 shaderTree { node "poser" "PoserSurface" { name "PoserSurface" pos 10 10 showPreview 1 nodeInput "Diffuse_Color" { name "Diffuse_Color" value 0.988235 0.988235 0.988235 parmR NO_PARM parmG NO_PARM parmB NO_PARM node "Image_Map" file "" } nodeInput "Diffuse_Value" { name "Diffuse_Value" value 1 0 10 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Highlight_Color" { name "Specular_Color" value 0.001 0.001 0.001 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Highlight_Value" { name "Specular_Value" value 1 0 10 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Roughness" { name "Highlight_Size" value 0.01 0 10 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Ambient_Color" { name "Ambient_Color" value 0.001 0.001 0.001 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Ambient_Value" { name "Ambient_Value" value 0 0 10 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Transparency_Max" { name "Transparency" value 0 0 1 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Transparency_Min" { name "Transparency_Edge" value 0 0 1 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Transparency_Falloff" { name "Transparency_Falloff" value 0.6 0 100 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Translucence_Color" { name "Translucence_Color" value 0 0 0 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Translucence_Value" { name "Translucence_Value" value 0 0 10 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Reflection_Color" { name "Reflection_Color" value 0.00784314 0.00784314 0.00784314 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Reflection_Value" { name "Reflection_Value" value 1 0 10 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Refraction_Color" { name "Refraction_Color" value 1 1 1 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Refraction_Value" { name "Refraction_Value" value 1 0 10 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } nodeInput "Bump" { name "Bump" value 0.279996 -10 10 parmR NO_PARM parmG NO_PARM parmB NO_PARM node "Image_Map_2" file "" } nodeInput "Displacement" { name "Displacement" value 1 -10 10 parmR NO_PARM parmG NO_PARM parmB NO_PARM node NO_NODE file "" } Anyone out there can help me with this PLZ PLZ? THANK YOU VERY MUCH...
jancory posted Mon, 13 March 2006 at 4:09 PM
do you have a Figure in your scene? i don't know about P6, but P5 requires one before it'll apply any mat to a prop.
lost in the wilderness
Poser 13, Poser11, Win7Pro 64, now with 24GB ram
ooh! i guess i can add my new render(only) machine! Win11, I7, RTX 3060 12GB
Ghostofmacbeth posted Mon, 13 March 2006 at 4:20 PM
Yep ... I think P5 needs the prop to be parented before it will work but I am not sure if that is your issue.
nruddock posted Mon, 13 March 2006 at 4:57 PM
I'm pretty sure that "actor $CURRENT" only works if the file is an MT5, i.e. is applied in the Material room from the Material library.
cornelp posted Mon, 13 March 2006 at 5:35 PM
Yeah its a prop, and What is Parented? I never figured that part out. Basically its just a prop structure, and I have 2 separate texture sets for it. I want it to work in P5 and P6. For some reason Actor $Current wont work in P5 but works in P6. Is there another way to do this? I attached a part of the pz file above. Anyone has done this before perhaps and can show me where I mess up or what I am NOT doing PLZ? THANK YOU
jancory posted Tue, 14 March 2006 at 8:16 AM
tried out your pose file in my P5--worked fine with a Figure (any .cr2) in the scene, didn't work at all without one present. the prop doesn't need to be parented to anything (Object>Change Parent or Object Properties>Set Parent). hope this helps!
lost in the wilderness
Poser 13, Poser11, Win7Pro 64, now with 24GB ram
ooh! i guess i can add my new render(only) machine! Win11, I7, RTX 3060 12GB
cornelp posted Tue, 14 March 2006 at 2:27 PM
Yeah, it seems only MATs that are parented to a FIGURE will be applied, so I will have to do this the old fashion way, apply each MAT on its own and save it as a new Library Item. THANKX for your help, much appreciate it.
lesbentley posted Tue, 14 March 2006 at 2:47 PM
In P4 and P5 (don't know about P6) you can't apply any pose to anything, unless there is a figure is in the scene. You don't even get the double check marks at the bottom of a pose pallet untill one figure is loaded.
Given that there is a figure in the scene, you can apply poses (including MATs and any other type) to unparented props, so long as you address the prop as an actor, eg:
actor box_1
NOT
prop box_1
P.S. "$CURRENT" only works in P5 and up, in P4 you have to address the prop by name.
Message edited on: 03/14/2006 14:55
cornelp posted Tue, 14 March 2006 at 6:03 PM