@juancarreras wrote:
I need some python code for extracting the azimuth angle of a scene sun light without having to open the sun panel, ideally not even selecting the light but rather using a specific existing object name such as "MySun".
I'm trying to write a script to match the rotation of a domelight texture to match the current sun azimuth rotation.
I have some bits and pieces already but I can't figure out how to get the sun angle from its vector data.
My python scripting skills are pretty poor ....
Can anyone help ?
Thanks !
Posts: 9
Participants: 2