12 #include "shapes2.inc"
13 #include "shapesq.inc"
15 #include "stoneold.inc"
17 #include "stones1.inc"
18 #include "stones2.inc"
19 #include "strings.inc"
20 #include "textures.inc"
21 #include "transforms.inc"
23 #macro AXIS_POVRAY(mac_x_ver,mac_y_ver,mac_z_ver,mac_x_rot,mac_y_rot,mac_z_rot)
27 cylinder{<0.,0.,0.><2500.,0.,0.> 10}
28 text { ttf
"timrom.ttf" "X" 1, 0 scale <2,2,2> translate(<20, 0, 0>)}
29 texture{ pigment{rgb<1,0,0>}}
32 cylinder{<0.,0,0.><0.,2500.,0.> 10}
33 text { ttf
"timrom.ttf" "Y" 1, 0 scale <2,2,2> translate(<0, 20, 0>)}
34 texture{ pigment{rgb<0,1,0>}}
37 cylinder{<0.,0,0.><0.,0.,2500.> 10}
38 text { ttf
"timrom.ttf" "Z" 1, 0 scale <2,2,2> translate(<0, 0, 20>)}
39 texture{ pigment{rgb<0,0,1>}}
41 translate(<mac_x_ver,mac_y_ver,mac_z_ver>)
42 rotate(<mac_x_rot,mac_y_rot,mac_z_rot>)
52 cylinder{<0.,0.,0.><2500.,0.,0.> 10}
53 texture{ pigment{rgb<1,0,0>}}
56 cylinder{<0.,0,0.><0.,2500.,0.> 10}
57 texture{ pigment{rgb<0,1,0>}}
60 cylinder{<0.,0,0.><0.,0.,2500.> 10}
61 texture{ pigment{rgb<0,0,1>}}
73 #macro Q6D(xned, yned, zned, phi, theta, psi)
77 box{<-250,-10,-10><0,10,10> texture{pigment{Blue}}}
78 box{<0,-10,-10><250,10,10> texture{pigment{Red}}}
79 cylinder{<-250,0,-10><-250,0,-15> 125 texture{pigment{Green}}}
80 cylinder{<250, 0,-10><250,0,-15> 125 texture{pigment{Green}}}
82 box{<-10,-250,-10><10,250,10> texture{pigment{Blue}}}
83 cylinder{<0,-250,-10><0,-250,-15> 125 texture{pigment{Green}}}
84 cylinder{<0, 250,-10><0, 250,-15> 125 texture{pigment{Green}}}
86 rotate <phi,theta, psi>
87 translate <xned,yned,zned>
97 #declare cam_y = 5000;
98 #declare cam_z = 20000;
100 #declare cam_look_x = 0;
101 #declare cam_look_y = 0;
102 #declare cam_look_z = 0;
109 location <cam_x,cam_y,cam_z>
110 look_at <cam_look_x,cam_look_y,cam_look_z>
114 #local lgt1_pos_x = 3400;
115 #local lgt1_pos_y = 5100;
116 #local lgt1_pos_z = 2600;
117 #local lgt1_intense = 0.763488;
118 #local lgt2_pos_x = -3400;
119 #local lgt2_pos_y = 5100;
120 #local lgt2_pos_z = 2600;
121 #local lgt2_intense = 0.763488;
122 #local lgt3_pos_x = 3400;
123 #local lgt3_pos_y = 5100;
124 #local lgt3_pos_z = -1700;
125 #local lgt3_intense = 0.763488;
126 #local lgt4_pos_x = -3400;
127 #local lgt4_pos_y = 5100;
128 #local lgt4_pos_z = -1700;
129 #local lgt4_intense = 0.763488;
131 light_source{<lgt1_pos_x,lgt1_pos_y,lgt1_pos_z> White*lgt1_intense}
132 light_source{<lgt2_pos_x,lgt2_pos_y,lgt2_pos_z> White*lgt2_intense}
133 light_source{<lgt3_pos_x,lgt3_pos_y,lgt3_pos_z> White*lgt3_intense}
134 light_source{<lgt4_pos_x,lgt4_pos_y,lgt4_pos_z> White*lgt4_intense}
140 plane { -y, 3000 texture{T_Chrome_2D}}
143 sky_sphere {pigment {Navy}
144 pigment {bozo turbulence 0.65 octaves 7 omega 0.7
lambda 2
146 [0.0 0.1 color rgb <0.85, 0.85, 0.85> color rgb <0.75, 0.75, 0.75>]
147 [0.1 0.5 color rgb <0.75, 0.75, 0.75> color rgbt <1, 1, 1, 1>]
148 [0.5 1.0 color rgbt <1, 1, 1, 1> color rgbt <1, 1, 1, 1>]}
149 scale <0.1, 0.5, 0.1>} rotate 90*z}
static const float scale[]