TU Delft

Maya Scripts

main | popular | browse | advanced search | info

Script Details

Script Icon

Sun Simulator 1.71

Author: TOI, T Welman
Date: 2007-11-07

Synopsis:

This script calculates the altitude and azimuth for the sun for any given date, time and location. It can automatically rotate a directional light for you. It can also be used to create animations of the solar transit.

Tip: This script is part of the TOI Maya Toolbox. It's a collection of scripts with an easy-to-use installer.
The TOI Toolbox is available for download from our general downloads page.

Usage:

1. Load the script (source script)
2. Launch the interface using the command: toi_sunSim();
3. Select the directional light to be used (optional)
4. Enter location and date and time

You have to manually select if Daylight Saving Time is in effect!

This script assumes a default directional light, resulting in the negative Z-axis pointing northward, but you can use the Orientation section to re-orient (and display a north arrow)

Script:

Script type mel sun_simulator.mel Download - View source

Keywords:

sun, simulation, simulator, sunsim, directional, azimuth, altitude, rotation

Reactions

add message
Messages 1 - 10 (10)
previous - next
Quicklinks:
TOI-Pedia Logo

Digital course materials and tutorials library


» compleet overzicht
Script Icon 63

Bookshelf Generator (2014-03-31)

» more scripts
loading...
Contact:
TOI, TU Delft
Faculty of Architecture

e-mail: toi-bk@tudelft.nl
student mailpolicy

Visit:
room 01+.West.040
Faculty of Architecture
Building 8
Julianalaan 134
2628 BL Delft

Postal address:
TOI, room 01.West.130
P.O. box 5043
2600 GA Delft

3D Print Lab:
room 01.West.040

website feedback