Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
My python page
My ShareCG freebies
I tested it only in 4. Will try in 5; I suspect a whole different approach may be needed there.
My python page
My ShareCG freebies
My python page
My ShareCG freebies
Attached Link: http://www.fantasy3d.com/pfiles/python/GlobalAmbient.zip
I wrote this one, basing it loosely on Ockham's script. It allows you to separate the red, green and blue components of global ambience. It updates as you drag the slider.I tried to include a "cancel" button that would restore the original ambient settings, but I have run into the "hair" problem. It looks like hair, and other parented props, aren't being restored. I messed with that a bit, but I haven't figured out why.
Aside from that bug, this seems to work pretty well. Give it a try and please let me know what you think.
Attached Link: http://www.fantasy3d.com/pfiles/python/GlobalAmbient.zip
btw, I think I fixed the parented object problem. I posted the fix to the same link.Holy crud. So you lose the ambient when you render?? I hadn't realized that. I will take a look. I am using P4, but I have P5 installed downstairs on that computer. That sure makes no sense to me at all. Maybe it has to do with the render engine on P5? What happens if you use the P4 renderer on P5? I guess I can find out for myself but if you happen to try that, please let me know.
So, it seems to work fine on P4. I guess those pesky material nodes are getting in the way again. I can't believe P5 won't let you modify them YET even though that program is about, what, two years old now?
Sorry. I can't test P5 right now. My daughter is hogging my other computer. But I bet that is going to be a whole other can of worms, as Ockham suggested early on.
(memo to self: learn to read threads)
===Underdog===
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.
Would it be possible to have a python script that would give you a dial that controls the ambient value of every surface in a scene at the same time?That way it would be possible to just have one key light and avoid multiple highlights on shiny objects.