HartyBart opened this issue on Jan 29, 2020 ยท 10 posts
HartyBart posted Wed, 29 January 2020 at 7:11 PM
After a break I had one more try at it... I moved forward and this works for adjusting all the Properties on the light panel... except the vital one!
import poser
scene = poser.Scene()
if (scene):
lights = scene.Lights()
for light in lights:
light.SetShadow(1)
light.SetRayTraceShadows(0)
light.SetShadowBiasMin(4.0)
light.SetShadowBlurRadius(5)
light.SetAmbientOcclusion(1)
light.SetAmbientOcclusionStrength(0.5)
But the vital command seems to be missing... it should be something like light.SetShadowMapSize but I've tried every possible variant and also added Preview into the mix too, and it's error messages all the way.
Learn the Secrets of Poser 11 and Line-art Filters.