It seems this should be easy - I have a long list of normals as a list of tuples in my python script.
[(nx, ny, nz), (nx, ny, nz), (nx, ny, nz)...]
Each tuple represents the direction I want a sun lamp to point for that particular frame of animation.
How do I set the direction of a sun lamp using a vector?
Is there a straightforward python method - maybe in mathutils - that would set sun lamp's matrix so that it points in the direction of the vector?
I've looked there but nothing stands out as far as I can see, though I'm a mathutils noob.
No nodes or plugins, thanks!