[Closed] Light source follows camera angle?
Lets look at following image
We have 3-5-7 etc cameras, and ONE light source, whatever it is. Sun, direct, etc…
Is it possible to force light source to FOLLOW camera direction, but ofcourse, looking from the top view? Sun azimuth will stay the same, but only top view angle will be changed.
Changing right before render time will be delicous!
I hope I explained it well, simply, I want to have Sun BEHIND the camera EVERY TIME, before render, not to move it manually, everytime.
Or am I too optimist?
Thanks and cheers!
i sounds like using of position and orientation constraints with relative offset…
This sounds more like a rigging question.
Since you need to keep the azimuth, a lookat constraint can help you. You just need to use it in an awkward backward way.
- Make a point.
- Place it at the camera target. You can link it to the target for convenience.
- shift-copy it vertically up to make another point (distance doesn’t matter much)
- pick the first point, put a lookAt constraint on it and pick the second point as the lookAt target.
- set the LookAt axis from X to Z (so the first point’s Z axis is now always pointing to the second point’s position; meaning up)
- pick the Camera (not its target) as the LookAt Upnode
- set Upnode control to LookAt, not Axis Alignment, and pick your desired source axis below; this makes the source axis point in the direction of the camera, while still keeping the lookAt axis (Z in our case) strictly pointing up (second point’s position).
- Link your light to the first point.
If you want to put the pivot about which the light rotates to a different place, you can make a point there (let’s call it third point) and orientation constrain it to the first point. Link the light to this third point and it’ll rotate around it.