Mon, Dec 23, 1:06 AM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Is This a bug SetShadowBlurRadius or ???


grichter ( ) posted Fri, 24 September 2010 at 10:05 AM · edited Mon, 23 December 2024 at 12:47 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"


bagginsbill ( ) posted Fri, 24 September 2010 at 1:34 PM

Bug.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


grichter ( ) posted Fri, 24 September 2010 at 9:07 PM · edited Fri, 24 September 2010 at 9:18 PM

Thanks BB
Reported to SM

Gary

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


semidieu ( ) posted Sat, 25 September 2010 at 4:06 AM

If I recall correctly, I already mentioned this at SM (saw this already since Poser 7)


grichter ( ) posted Sat, 25 September 2010 at 7:48 AM

Did a search in the bug tracker for SetShadowBlurRadius so I could tack on to prior reports and saw nothing. Either way, lets hope they fix it :)

Guess I could change the shadow type in my script to Depthmapped then back to raytraced as a work around :)

Gary

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


semidieu ( ) posted Sat, 25 September 2010 at 8:16 AM

This was before they made the thread public to all beta tester. So it's certainly still in 'private' state.


grichter ( ) posted Mon, 27 September 2010 at 10:24 AM

A reply came back from a reporter to my bug report that states:

"For softness of raytraced shadows, you have to use the (Set)ShadowRaytraceSoftness methods. They are new in version 8.0.3.11575. In earlier versions, you can't change blurring for raytraced shadows from Poser Python."

Gary

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


semidieu ( ) posted Mon, 27 September 2010 at 1:55 PM

I saw this... And tried it in Poser Pro 2010... And this was not working... but now I know why. The build version of Poser Pro 2010 is still older.


grichter ( ) posted Mon, 27 September 2010 at 4:44 PM

Quote - I saw this... And tried it in Poser Pro 2010... And this was not working... but now I know why. The build version of Poser Pro 2010 is still older.

makes sense because the debug reporter asks if you have 10.4 and the public build is 10.3, which is what I have. So one more update it appears.

Gary

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


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.