Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
Quote - scene.SetGroundShadows(1)
This is for turning on or off the basic preview shadows.
Quote - scene.SetRenderCastShadows(1)
This is a global render setting, and you do need it, but it's not the whole story (see below). > Quote - what else is there ?
actor.SetCastsShadows(1) is required for an actor to cast shadows and
*light.*SetShadow(1) is required for a light to cast shadows.
Shadows must be cast onto something. If you only have one single actor in the scene, there's nothing that its shadow can be cast on.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
back again. thanks for the input.
my projects are very simple. 1 standard figure or prop & shadow rendering off.
then i have a script that renders several rotations & exports the rendered images.
my purpose is to make more clipart for my grandsons to use in an image collage program.
i wanted to have a version of each file with and without shadows.
today i investigated turning shadows off.
that works by just setting the lights to not render shadows.
in the future i will not set shadows off when i save projects.
for now, i would need to manually correct and save each poser project.
if nothing else i will do that.
i think that scene.SetRenderCastShadows() should work according to the documentation.
it starts as 1 no matter what the render setting and when i change it, it has no effect.
i also found Shadows() & SetShadows(). No idea what object uses this property.
i tried scene, figure, and actor and got syntax error.
i checked out scene.RenderAntiAliased() as a comparison;
it seems to have a value inherent in the character and it can be changed with a result.
i am using poser7. it seems to have a few rough edges. a real object model would be nice.
thanks
it works. thank you.
i did a basic script first. it changed the render options interface.
i put the code then into my autorender script and it works great.
after my last post, i realized that i had not tried the poser4 render machine.
it works with the code we had explored.
you (nruddock) have specifically answered two major questions that were stopping me.
in the process, i have also learned more about the syntax.
i don't know how you know this stuff but you seem to have a handle on it.
thanks again.
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.
thanks to those who have helped me in the past.
i tried this:
scene.SetRenderCastShadows(1)
and this:
scene.SetGroundShadows(1)
what else is there?