raytracing:animation
Dies ist eine alte Version des Dokuments!
Animationen
Vorgehen
- Szene mit
clock
-Variable parametrisieren. - Ini-Datei für Animationsparameter erstellen.
- Bilder generieren.
- Bilder mit MakeAVI zu Video zusammenfügen.
Tipps
clock
für jeden Animationsabschnitt um 1 erhöhen, z.B.:- erster Teil der Animation:
clock
zwischen 0 und 1 - zweiter Teil der Animation:
clock
zwischen 1 und 2
- Animation erst mit kleiner Auflösung und wenigen Frames berechnen, später Auflösung und Anzahl Frames erhöhen.
Beispiel
- animation.pov
#include "colors.inc" camera { location <0, 2, -6> look_at <0, 1.5, 2> } light_source { <0, 5, 1> color White } sphere { <1, 1, 0>, 1 texture { pigment { color Orange } } rotate <0, 360*clock, 0> } plane { <0, 1, 0>, 0 texture { pigment { checker color Gray, color White } } }
- animation.ini
Input_File_Name="animation.pov" Initial_Frame=1 Final_Frame=30 Initial_Clock=0 Final_Clock=1
raytracing/animation.1416062483.txt.gz · Zuletzt geändert: 2020/10/13 14:25 (Externe Bearbeitung)