73 lines
1.5 KiB
POVRay
73 lines
1.5 KiB
POVRay
|
#version 3.7;
|
||
|
|
||
|
global_settings {
|
||
|
ambient_light rgb <0.12, 0.04, 0.04>
|
||
|
assumed_gamma 1.0
|
||
|
}
|
||
|
|
||
|
#include "colors.inc"
|
||
|
#include "WS/pickover.inc"
|
||
|
|
||
|
#declare Tiers = NBPASS * 0.3333333;
|
||
|
#declare CK = (clock/Tiers)*180;
|
||
|
|
||
|
#declare Rep = object
|
||
|
{
|
||
|
union {
|
||
|
#local RB = 0.015;
|
||
|
cylinder { 0, <2, 0, 0>, RB pigment { color Red } }
|
||
|
cylinder { 0, <0, 2, 0>, RB pigment { color Green } }
|
||
|
cylinder { 0, <0, 0, 2>, RB pigment { color Blue } }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// object { Rep translate <-1, 0.10, -1> }
|
||
|
|
||
|
object {
|
||
|
object {
|
||
|
Pickover
|
||
|
texture {
|
||
|
pigment { color srgb <0.35, 0.45, 0.80> }
|
||
|
finish { phong 0.38 metallic 0.55 }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#if (clock < (Tiers))
|
||
|
rotate x*(CK)
|
||
|
#elseif (clock < (Tiers*2))
|
||
|
rotate y*(CK)
|
||
|
#else
|
||
|
rotate z*(CK)
|
||
|
#end
|
||
|
translate y*2.25
|
||
|
}
|
||
|
|
||
|
// ----------------------------------------------------------
|
||
|
|
||
|
plane {
|
||
|
<0, 1, 0>, 0
|
||
|
texture {
|
||
|
pigment { color srgb <0.133, 0.155, 0.111> }
|
||
|
finish { phong 0.18 metallic 0.55 }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
// ----------------------------------------------------------
|
||
|
|
||
|
light_source { <-12, 17, -11> color Gray90 }
|
||
|
light_source { <-11, 11, 9> color Gray60 }
|
||
|
|
||
|
#declare XCAM = -3.8;
|
||
|
#declare YCAM = 3;
|
||
|
#declare ZCAM = 2.1;
|
||
|
|
||
|
camera {
|
||
|
location <XCAM, YCAM, ZCAM>
|
||
|
look_at <0, 2.09, 0>
|
||
|
right x*image_width/image_height
|
||
|
angle 86
|
||
|
}
|
||
|
// ----------------------------------------------------------
|
||
|
|