Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
value=1.0
for mat in poser.Scene().CurrentFigure().Materials():
shdrTree = mat.ShaderTree();
if shdrTree!=None:
for node in shdrTree.Nodes():
if node.Name()=="PM:Gamma":
node.Input(1).SetFloat(value)
The attached script allows to set the gamma for the current material, actor or all materials and to do it for maps that should not be corrected (Displacement, Bump...), too. It's for Poser Pro 2010 only, though.
Thanks dizzi. I'm under a deadline at work and have very little time for Poser stuff today.
Vex - it is possible to make the gamma value automatic.
Change the gamma node to a subtract, and add two more nodes.
Isaoshi wrote how here:
Since this handy idiom was revealed, I'm making all my shader GC automatically shut off when render GC is enabled.
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)
Note - looking down that thread, I see you were already there, proclaiming that you feel dumb.
grin
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)
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.
I would like to include a script in my packages that disable MAT-based GC ( set a specific value to 1 ).
Anyone know if there's one available to share ( with credit of course ) or help me figure out how to make one?