Utilisation : Les liens ne sont pas apparents. Pour obtenir des informations sur un mot clé, cliquez-le dans le script !
Le fichier d'initialisation :
; Persistence Of Vision raytracer version 3.5 sample file.
Antialias = Off
Antialias_Threshold = 0.1
Antialias_Depth = 2
Input_File_Name = clockd.pov
Initial_Frame = 1
Final_Frame = 60
Initial_Clock = 0
Final_Clock = 1
Cyclic_Animation = on
Pause_when_Done = off
Le script :
// Persistence Of Vision Ray Tracer POV-Ray 3.5 sample Scene // by Chris Young // CLOCKD.POV demonstrates basic use of the clock_delta identifier. // Run this scene with various start & end clock values or frames. #include "colors.inc" light_source {<100, 1000,-1000>, White} camera {location <0, 1,-16> direction 2*z look_at <0, 1, 0>} union { cylinder {0, z, 2 pigment {radial color_map {[0.5 Green][0.5 Cyan]} frequency 12 rotate x*90}} cone {0, 0.25, y*2, 0 pigment {Blue} rotate -z*clock*360} translate y*3 } text {ttf "timrom.ttf" concat("clock_delta=", str(clock_delta, 8, 4)), 0.1, 0 pigment {Red} translate -5*x } union { plane {y,-2} plane {-z,-10} plane {x,-10} pigment {checker Cyan, Yellow} }
Et voici ce que nous obtenons :
