Download DIALux Version 4.7

Transcript
DIALux Version 4.7
<0,clock*360,0>. From “Initial_clock=0” up to
“Initial_clock=1” the camera is turned around 360°.
POV-Ray creates every 360/25= 14.4 degree a picture.
The camera should be turned around its own centre.
Therefore it is necessary to translate it into the origin
before rotating, otherwise the camera will be rotated
around the origin on a circular path. To achieve this you
have to enter <translate –camlocation> then <rotate
<0,clock*360,0>> then again <translate camlocation> .
desired
gewünschte
Drehung
rotation
Kamera
camera
0/0
Translationsweg
translation
path
turn without
Drehung
ohne
Translation
translation
Fig. 514 Camera – Rotation and translation
Each picture will be calculated one after another after
clicking on the “Run” icon. Each picture will be saved
into the work directory with consecutive numbering.
With any animation tool, pictures can be combined to a
movie (*.avi, *.mpeg,…) The freeware tool VirtualDub
can create such movies in a short time in high quality.
http://www.virtualdub.org/index
Translation animation
You can define a camera path using clock. To do so, the
Ini file and the POV file have to be changed. Instead of
the camera rotation you can change the camera location
using the clock parameter. In the following example we
change the POV file of the first example. The Ini is
already changed. The POV file will be changed by adding
the clock variable to the X position of the camera
location.
#declare GAMMA=1.4;
#declare AMBIENTLIGHT=0.0;
#declare LIGHTCORRECTIONVALUE=1.0;
#declare CAMLOCATION=<1.23+clock*11,1.15,3.11>;
#declare CAMLOOKAT=<12.4,1.5,-1.0>;
In DIALux the 3D view was turned in that way to enable
the camera path to go through the whole room. In the
beginning clock=0, that means the position X is 1.23m.
 DIAL GmbH, Lüdenscheid
page 319