Mon, Sep 9, 4:35 AM CDT

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Sep 09 2:22 am)



Subject: Help: Idea for Python script. Global shading rate adjust for Poser 5.


Berserga ( ) posted Sat, 16 October 2004 at 4:32 PM · edited Sun, 08 September 2024 at 11:44 PM

OK Python Gurus, (KoffOckhamKoff!) I think the single thing that affects render quality most in Poser 5 is shading rate. Without adjusting it most hairs look like crap, and while working on a pic today I really realized how big a difference a lower shading rate makes with skin textures. It's like Night and day.

The problem is that going thru every body part on a character and manually adjusting the shading rate is EXTREMELY TEDIOUS. (You can't just do it for the whole figure) and it might be nice to be able to turn it up and down for test renders.

My question is: Would it be possible to make a Python script that allows you to change the shading rate for all a character's body parts at once?

Message edited on: 10/16/2004 16:33


PhilC ( ) posted Sat, 16 October 2004 at 5:06 PM

Is shading rate declared in the available Python methods? I've just looked through and can not find it.

philc_agatha_white_on_black.jpg


ockham ( ) posted Sat, 16 October 2004 at 5:08 PM

No way to do it directly. All of those node-related parameters are beyond Python's reach, at least in the current version. Would have to save a PZ3, rewrite a temporary modified PZ3, and reload. Certainly possible, but slow and inconvenient.

My python page
My ShareCG freebies


ockham ( ) posted Sat, 16 October 2004 at 5:15 PM

Hmm. After looking at the PZ3, maybe not so hard after all. If you don't need to know the original value, and just want to force them all to a chosen number, a very short PZ2 could be written and loaded. (IE, you don't want an increment; you just want to make them all 0.013 or whatever.) Would that do?

My python page
My ShareCG freebies


ockham ( ) posted Sat, 16 October 2004 at 5:35 PM

file_134544.jpg

Works! As usual, take the attached MESSAGE#####.txt and rename to ShadingRate.py before using.

My python page
My ShareCG freebies


Berserga ( ) posted Sat, 16 October 2004 at 8:56 PM

Yes that would do nicely Thank you!


quinlor ( ) posted Sun, 17 October 2004 at 4:15 AM · edited Sun, 17 October 2004 at 4:15 AM

If you want to lower the shading rate for everything, why don't you just reduce the minimum shading rate in the render settings? Poser uses the lower of this and the shading rate set for the object.

Message edited on: 10/17/2004 04:15


stewer ( ) posted Sun, 17 October 2004 at 4:47 AM

Actually, the shading rate is exposed in Python. It came with SR3, so it didn't make it in the PDF manual. But you can generate updated Python documentation using the document.py script that comes with Poser. I think it was also documented in the SR3 readme.


Berserga ( ) posted Sun, 17 October 2004 at 9:10 AM

Quinlor, you have to lower both. Lowering the rate for the object is the hard part since if it has many body parts it takes a loooong time to set manually.


quinlor ( ) posted Sun, 17 October 2004 at 9:51 AM

Yes, you are right! My memory was wrong, Poser uses the higher of the two, not the lower.


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.