Forum: Poser - OFFICIAL


Subject: Turning of "Cast Shadow" en mass -

autorenderphreak opened this issue on Feb 28, 2005 ยท 6 posts


autorenderphreak posted Mon, 28 February 2005 at 3:43 PM

Does anyone know how to turn off "Cast Shadow" for all objects at the same time. I don't want to do it in the render options (because there are one or two object I still want to cast shadows). Please LMK if anyone has any ideas. Thanks! ARP


ockham posted Mon, 28 February 2005 at 4:24 PM

Here's a python script that does the job....... Take the attached text and rename it to CastOnOff.py or something like that.

My python page
My ShareCG freebies


Mason posted Mon, 28 February 2005 at 4:44 PM

wow. you actually make a pz2 file to turn off the shadows. Too bad P5 doesn't just offer the call. Then you could recurse parts and turn it off immediatly. Another way to do it is save your scene, open it in a text editor like note pad and replace "castshadows 1" with "castshadows 0".


ockham posted Mon, 28 February 2005 at 5:15 PM

Let's hope P6 expands the range of Python access. Not holding my breath........

My python page
My ShareCG freebies


autorenderphreak posted Mon, 28 February 2005 at 8:28 PM

Can I use this script if I'm using Poser 4 (not Poser Pro)? Thanks, ARP


autorenderphreak posted Mon, 28 February 2005 at 8:54 PM

Thanks Mason, That worked (and it was really easy). Any way of turning all of one character's shadow on (the parent and all the parts)? If not, no big deal, this already helped a lot. Thanks to all. ARP