Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
q6d.inc
Go to the documentation of this file.
1//POVRay include files
2#include "arrays.inc"
3#include "chars.inc"
4#include "colors.inc"
5#include "finish.inc"
6#include "glass.inc"
7#include "golds.inc"
8#include "math.inc"
9#include "metals.inc"
10#include "rand.inc"
11#include "shapes.inc"
12#include "shapes2.inc"
13#include "shapesq.inc"
14#include "skies.inc"
15#include "stoneold.inc"
16#include "stones.inc"
17#include "stones1.inc"
18#include "stones2.inc"
19#include "strings.inc"
20#include "textures.inc"
21#include "transforms.inc"
22
23#macro AXIS_POVRAY(mac_x_ver,mac_y_ver,mac_z_ver,mac_x_rot,mac_y_rot,mac_z_rot)
24object {
25 union {
26 union {
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>)}
30 }
31 union {
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>)}
35 }
36 union {
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>)}
40 }
43 }
44}
45#end
46
47
48#macro AXIS_NED()
49object {
50 union {
51 union {
52 cylinder{<0.,0.,0.><2500.,0.,0.> 10}
54 }
55 union {
56 cylinder{<0.,0,0.><0.,2500.,0.> 10}
58 }
59 union {
60 cylinder{<0.,0,0.><0.,0.,2500.> 10}
62 }
63 }
64 matrix < 1, 0, 0,
65 0, 0,-1,
66 0,-1, 0,
67 0, 0, 0 >
68}
69#end
70
71
72
73#macro Q6D(xned, yned, zned, phi, theta, psi)
74
75object {
76 union {
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}}}
81
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}}}
85 }
88 matrix < 1, 0, 0,
89 0, 0,-1,
90 0,-1, 0,
91 0, 0, 0 >
92}
93#end
94
95
96#declare cam_x = 0;
97#declare cam_y = 5000;
98#declare cam_z = 20000;
99
100#declare cam_look_x = 0;
101#declare cam_look_y = 0;
102#declare cam_look_z = 0;
103
104#declare cam_a = 36;
105//#declare cam_a = 10;
106
107camera
108{
111 angle cam_a
112}
113
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;
130
135
136
137//plane { -y, 3000 texture{T_Chrome_2D normal{waves 0.1 frequency 3000.0 scale 30.0}} translate<0,0,0>}
138//plane { -z, 3000 texture{T_Chrome_2D normal{waves 0.1 frequency 3000.0 scale 30.0}} translate<0,0,0>}
139
140plane { -y, 3000 texture{T_Chrome_2D}}
141//plane { -z, 3000 texture{T_Chrome_2D}}
142
144pigment {bozo turbulence 0.65 octaves 7 omega 0.7 lambda 2
145color_map {
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>]
149scale <0.1, 0.5, 0.1>} rotate 90*z}
150
151background{Gray50}
static const float scale[]
uint16_t foo
Definition main_demo5.c:58
float lambda