Forum: Poser Python Scripting


Subject: Is This a bug SetShadowBlurRadius or ???

grichter opened this issue on Sep 24, 2010 ยท 9 posts


grichter posted Fri, 24 September 2010 at 10:05 AM

PP2010 all updates Mac version

PP2010 Manual says
Raytrace Shadows: Selecting Raytrace Shadows enables raytracing of shadows. Traditionally, raytracing results in clear, hard-edged shadows. However, Poser offers a method for softening the shadow edges, thus adding more realism to your raytraced shadows. You can control this effect using the Shadow Blur Radius dial (see below).

then the manual says (All bolded by me)

Shadow Blur Radius: All shadows have a blurry region around their edges. The Shadow Blur Radius parameter specifies the radius of this blurry region. By default, this dial is set to a low value. Raising the blur radius increases the soft shadow edge effect.

If the shadow is set to raytaced and I try this via a python script nothing changes. The value stays as is.
light.SetShadowBlurRadius(3.0)
If the shadow is set to DepthMapped then light.SetShadowBlurRadius(3.0) works.

Or if I run the script with the above code in raytrace mode I see no change as stated above. Change the shadow to depthmapped and the change appears by changing the shadow type or changes to 3.0, then change the shadow type back to raytraced and it holds at 3.0.

1.) Either I am doing something wrong
or
2.) it's a bug.

Anybody got as clue as to what's going on?

Thanks
Gary

Gary

"Those who lose themselves in a passion lose less than those who lose their passion"