Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
In Poser 7 I see the checkbox "Shadows".
The Python method is:-
SetShadow(1) #shadows off
SetShadow(0) #shadows off
The dials are set with:-
SetShadowBiasMax(value) # float value
SetShadowBiasMin(value) # float value
SetShadowBlurRadius(value) # float value
If I recall correctly the Properties panel will not update unless you manually force it by switching to the Parameters panel and back 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.
import poser
import string
import aasubrs
reload(aasubrs)
scn = poser.Scene()
for a in scn.Actors():
if a.IsLight():
print "found light ",a.Name()
a.SetShadow(1)
a.Set??????????(0.5)
poser.ProcessCommand(1559)
#scn.DrawAll();
In this Python script, as run under Poser 7, what Poser Python function should I call to set the parameter called "Shadow" in a light's parameter box in Poser 7?