Sunrays is a program for photographers and cinematographers that shows the sun’s position during the course of a day. It uses Google Earth to display the positions.

The program is shareware. The unregistered version is limited to a 2D display in Google Earth. The full version allows 2D and 3D display in Google Earth as well as SVG and PNG images.
It also includes a database with thousands of cities for when you are offline.

The program can be downloaded here .