Professional Documents
Culture Documents
blender.org
code.blender.org
Blender 2.6
Blender 2.6
Blender 2.4
English
Arabic
Bulgarian
Catalan
Czech
German
Danish
English
Greek
Esperanto
Spanish
Estonian
Farsi
Finnish
French
Indonesian
Italian
Japanese
Korean
Lithuanian
Macedonian
Mongolian
Dutch
Polish
Portuguese
Romanian
Russian
Serbian
Swedish
Thai
Turkish
Ukrainian
Chinese
Extension page
Discussion
View source
History
Page
1 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
From BlenderWiki
Sun Position
Position Sun object(s) for a given place, date and time.
UI location Group: World panel
Version 3.0.1 Author(s) Xaire
Blender 2.65 r#53207 License GPL
Category 3D View
Executable information
File name
http://projects.blender.org/tracker/download.php/153/467/29714/23877
Current version download
/sun_position.zip
Python modules sun_position
NASA composite
When properly installed, theSun position panel resides in the World panel under the Properties header.
Options now include an interactive world map with sunrise/sunset options as well as
a simple mode of binding the sun with an Environment Texture.
Introduction
2 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
The sun position widget can be used for creating sun animations as well as for just studying the sun position for
given locations and times as a singular object or multiple objects on the ecliptic or as an analemma.
Installation
These scripts are in modular form stored in its own directory named sun_position. Prior to installation, make
sure to uninstall any previous version of Sun Position and remove it from the Blender ...\scripts\addons
folder.
You can install the Sun panel in one of two ways:
Either unzip the sun_position.zip file and place the sun_position folder in the Blender ...\scripts\addons
folder.
Or, open Blender and click on File » User Preferences » Addons. Next click on Install Addon located at
the bottom of the Preferences panel, locate the zip file and select it and click on Install Addon.
Check 3D View: Sun Position and close the window or press Save as Default .
The Sun panel will be available in the World panel.
Instructions
In the Properties header, click on the World world button and enable the Sun
panel. For more information on any panel field, just hover the mouse over it.
Those who just want to do simple rendering without caring about azimuth, north offset, etc., can select a minimal
configuration while those wanting to do ecliptic studies or observe sun movement more in-depth can choose other
options. If you would like your preferences to appear in your default Blender scene, do the following:
3 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
Selecting an option determines whether the item is displayed in the Sun panel.
Note on Map images
If you have a low-end graphics card, you may find that the higher resolution maps may not load or may respond
slowly. In that case, try one of the supplied lower resolution maps. All the images are jpg. Also, two of the highest
resolution maps have been removed as of version 2.05 to make for a smaller sized addon. Hopefully no one will
find this inconvenient.
Normal Mode
4 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
Single column mode with a minimal number of options Two column mode showing all possible options
selected. selected.
Note: If north offset, refraction or daylight When comparing azimuth and solar elevation with NOAA's solar
savings time have been set in the Sun panel, calculator located at http://www.esrl.noaa.gov/gmd/grad/solcalc/, the
sun objects will be placed based on those "Show Refraction" box should be selected from within the Sun panel,
settings even if these options are later for the most accurate reading. Refraction is most notable at dawn and
hidden by your preference selection. dusk.
5 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
6 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
To use this mode in Cycles, go to the sun widget's inline preference panel and:
Select Sun + HDR texture then press Done and then enable the Sun panel.
In the Surface section of the World panel make sure that nodes are enabled, then:
7 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
The sun and texture are now bound together. Changing the values in the Rotation slider will rotate both sun and
texture along the Z axis. If you press Release binding , the Rotation slider will only move the sun. You may want to do
this for tweaking the position of the sun without using the lat/long image. The Elevation slider will move the sun
higher or lower. When satisfied, press Bind Texture to Sun to rebind them.
Map Help
8 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
9 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
One of the map image options is Textureless. In addition to freeing up GPU space, this selection allows you to
tweak the sun position within Cycles or the native renderer without blocking your view or caring about geographic
location. This clear mode of working is also available when using a map texture by pressing 'O', then moving the
mouse and or scroll wheel to reduce the opacity. However, one difference between using Textureless or a map
image is how North Offset is effected. The offset has no effect on the sun direction indicator when an image is used
but will effect it in Textureless mode. Why so? Well, on the map, north is north whereas in textureless mode, who
can tell?
10 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
11 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
Any mixture of options I, II and III can be used. Ecliptic range from the winter to summer solstice.
12 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
Additional Info
We gratefully acknowledge both NASA and the NOAA for their work and the liberal usage policy of their
products.
The world map images have been composited from two NASA images.
The sun positioning algorithms are based on the National Oceanic and Atmospheric Administration's (NOAA)
Solar Position Calculator which rely on calculations of Jean Meeus' book "Astronomical Algorithms."
Azimuth and solar elevation are provided in degrees and can be used in conjunction with time and place
coordinates to verify the accuracy of this widget with web based solar calculators such as the one provided by
the National Oceanic and Atmospheric Administration at http://www.esrl.noaa.gov/gmd/grad/solcalc/. For the
greatest accuracy in matching these values, make sure the Show Refraction option is set. Of course the
accuracy of results provided in the Sun panel can be no greater than that which NOAA has stated for their
solar calculator.
The default direction for North is Blender's Y+ axis. A North offset value is provided so that North can be set
in relationship to your model. When used, it will be in degrees or radians based on the Units setting in
Blender's Scene panel. The Show North option will keep a compass needle pointing north in the 3D viewport.
The decimal values for latitude and longitude can be plugged into Google Earth's "Fly to" field to look up the
location. Values are entered as (latitude,longitude). For example,[ 47.398, -2.687 ] will take you to ( 47° 23'
55" N ) by ( 2° 41' 13" W ).
Back to Extensions:2.6/Py/Scripts
13 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
Contents
1 Introduction
2 Installation
3 Instructions
4 Preferences
5 Normal Mode
6 Sun+HDR Texture Mode
7 Map Help
8 Sun positioning methods:
8.1 I. Using a sky texture in Cycles
8.2 II. Using a named object
8.3 III. Using an object group
8.4 IV. Mixing options
9 Additional Info
14 de 15 16/05/2013 10:20
Extensions:2.6/Py/Scripts/3D interaction/Sun Position - BlenderWiki http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interact...
Wiki
Special pages
Categories
Popular pages
New files
New pages
Recent changes
15 de 15 16/05/2013 10:20