// Persistence of Vision Ray Tracer Scene Description File // File: rubik_sample2.pov // Vers: 3.5 // Desc: Rubik's cube simulation example // Date: 03/03/08 // Auth: Nicolas Alvarez // #version 3.5; #include "debug.inc" Debug_Inc_Stack() #include "colors.inc" #include "rubik.inc" // ---------------------------------------- global_settings { max_trace_level 20 } camera { location <-3, 7,-10> look_at < 0, 2, 0> angle 60 } background{color rgb 0.1} light_source { <-25,41,-38> color rgb 1 } // ---------------------------------------- plane { y, 0 pigment { checker color rgb <0.0,0.0,0.5> color rgb 1 scale 2 } finish { reflection { 0.25,1 metallic 0.5 } } } // ---------------------------------------- #declare Cube = CreateCube(); SetManeuver(Cube,"U2 D2 L2 R2 F2 B2") AnimManeuver(Cube, clock) object { CubeObj(Cube) scale 0.99 translate y*1.5 }