1. Draw 3 cubes in a line having equal sides. The second cube shall be origo centered. The distance between the cubes shall be same as the length of the sides.
2. Use Z buffer for proper visibility of the side panels of the cubes.
3. Define a camera that points always to the origo. The camera shall be moved by mouse or keyboard around on a cylinder surface.
4. Create a red diffuse light source going around the origo on a circle path, the light direction points to the origo always in the animation.
5. Visualize the light source with a small red sphere.