Fortraneries/Fraktalism/pick3d.pov

84 lines
1.8 KiB
POVRay
Raw Normal View History

2022-03-08 10:36:32 +01:00
#version 3.7;
global_settings {
ambient_light rgb <0.12, 0.04, 0.04>
assumed_gamma 1.0
}
#include "colors.inc"
#declare Tiers = NBPASS * 0.3333333;
#declare CK = (clock/Tiers)*180;
2022-03-18 23:38:23 +01:00
// --------------------------------------------------------------
2022-03-08 10:36:32 +01:00
#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> }
2022-03-18 23:38:23 +01:00
// --------------------------------------------------------------
2022-03-31 22:14:11 +02:00
#declare TS = 0.025;
2022-03-18 23:38:23 +01:00
#declare Truc = object
{
2022-03-31 22:14:11 +02:00
// box { <-TS, -TS, -TS>, <TS, TS, TS> }
sphere { <0, 0, 0>, TS*0.83 }
2022-03-18 23:38:23 +01:00
}
#include "WS/pickover.inc"
2022-03-08 10:36:32 +01:00
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 {
2022-03-31 22:14:11 +02:00
pigment { color srgb <0.233, 0.155, 0.191> }
2022-03-08 10:36:32 +01:00
finish { phong 0.18 metallic 0.55 }
}
}
// ----------------------------------------------------------
2022-03-31 22:14:11 +02:00
light_source { <-12, 15, -11> color Gray90 }
light_source { < 11, 11, 13> color Gray60 }
2022-03-08 10:36:32 +01:00
2022-03-31 22:14:11 +02:00
#declare XCAM = -3.1;
2022-03-08 10:36:32 +01:00
#declare YCAM = 3;
2022-03-31 22:14:11 +02:00
#declare ZCAM = 1.9;
2022-03-08 10:36:32 +01:00
camera {
location <XCAM, YCAM, ZCAM>
look_at <0, 2.09, 0>
right x*image_width/image_height
2022-03-31 22:14:11 +02:00
angle 82
2022-03-08 10:36:32 +01:00
}
// ----------------------------------------------------------