Deck 4
This commit is contained in:
parent
2131fcfbee
commit
e5537cce8b
|
@ -3,6 +3,8 @@ include GNUmakevars
|
|||
|
||||
|
||||
all: \
|
||||
test-deck_04.png \
|
||||
test-feldschirm_projektor_v.png \
|
||||
test-deck_06.png \
|
||||
test-deck_05.png \
|
||||
test-deck_08.png \
|
||||
|
@ -69,6 +71,7 @@ test-schneller_kreuzer.png: test-schneller_kreuzer.pov \
|
|||
deck_08.pov \
|
||||
deck_05.pov \
|
||||
deck_03.pov \
|
||||
feldschirm_projektor_v.pov \
|
||||
deck_02.pov \
|
||||
deck_01.pov shift.pov \
|
||||
|
||||
|
@ -145,6 +148,7 @@ test-deck_03.png: test-deck_03.pov \
|
|||
huelle.pov \
|
||||
landestuetze.pov \
|
||||
deck_03.pov \
|
||||
feldschirm_projektor_v.pov \
|
||||
|
||||
test-deck_02.png: test-deck_02.pov \
|
||||
huelle.pov \
|
||||
|
@ -181,5 +185,11 @@ test-deck_05.png: test-deck_05.pov deck_05.pov \
|
|||
test-deck_06.png: test-deck_06.pov deck_05.pov deck_06.pov \
|
||||
speicherbank.pov
|
||||
|
||||
test-feldschirm_projektor_v.png: test-feldschirm_projektor_v.pov \
|
||||
feldschirm_projektor_v.pov
|
||||
|
||||
test-deck_04.png: test-deck_04.pov deck_04.pov \
|
||||
|
||||
|
||||
%.gif: %.ppm
|
||||
ppmquant 256 $< | ppmtogif > $@
|
||||
|
|
|
@ -0,0 +1,101 @@
|
|||
#include "treibstofftank.pov"
|
||||
#include "speicherbank.pov"
|
||||
#include "kraftwerk.pov"
|
||||
|
||||
#local Z = -35;
|
||||
|
||||
#declare deck_04 =
|
||||
union {
|
||||
#if (1)
|
||||
intersection {
|
||||
union {
|
||||
difference {
|
||||
object { huelle }
|
||||
// Ausschnitte
|
||||
}
|
||||
}
|
||||
box {
|
||||
<-50, Z+5, -50>
|
||||
< 50, Z+0, 50>
|
||||
}
|
||||
}
|
||||
#end
|
||||
difference {
|
||||
cone {
|
||||
<0, (Z+0.2), 0> sqrt(pow(49,2)-pow((Z+0.2),2)),
|
||||
<0, (Z-0.2), 0> sqrt(pow(49,2)-pow((Z-0.2),2))
|
||||
texture { T_arkonstahl }
|
||||
}
|
||||
|
||||
// Ausschnitt f. Landestützen
|
||||
#local aa = 0;
|
||||
#while (aa < 360 )
|
||||
union {
|
||||
cone {
|
||||
<23, Z-0.3, 0>, 2
|
||||
<23, Z+0.3, 0>, 2
|
||||
}
|
||||
box {
|
||||
<23, Z-0.3, -2>
|
||||
<28, Z+0.3, +2>
|
||||
}
|
||||
cone {
|
||||
<28, Z-0.3, 0>, 2
|
||||
<28, Z+0.3, 0>, 2
|
||||
}
|
||||
texture { T_arkonstahl }
|
||||
rotate <0, aa, 0>
|
||||
}
|
||||
#local aa = aa + 30;
|
||||
#end
|
||||
|
||||
#if (SCHNITT_1)
|
||||
intersection {
|
||||
torus {
|
||||
23, 23
|
||||
}
|
||||
plane {
|
||||
<0, 0, -1> 0
|
||||
rotate <0, 45, 0>
|
||||
}
|
||||
plane {
|
||||
<0, 0, +1> 0
|
||||
rotate <0, -45, 0>
|
||||
}
|
||||
rotate <0, 135, 0>
|
||||
translate <0, Z, 0>
|
||||
}
|
||||
#end
|
||||
}
|
||||
|
||||
#if (1)
|
||||
// Treibstofftanks
|
||||
#local rr = 30.5;
|
||||
#while (rr < 38.0)
|
||||
#local da = degrees(asin(0.5/rr))*2;
|
||||
#local da = 360 / int(360 / da);
|
||||
#local aa = 0;
|
||||
#while (aa <= 360 - da)
|
||||
#local ss = 1;
|
||||
#if (SCHNITT_1)
|
||||
#local pp = vrotate(<rr, 0, 0>, <0, aa, 0>);
|
||||
#if (pp.x < 0 & pp.z < 0)
|
||||
#local ss = 0;
|
||||
#end
|
||||
#end
|
||||
#if (ss)
|
||||
object {
|
||||
treibstofftank
|
||||
translate <rr, (Z+0.2), 0>
|
||||
rotate <0, aa, 0>
|
||||
}
|
||||
#end
|
||||
#local aa = aa + da;
|
||||
#end
|
||||
#local rr = rr + 1.0;
|
||||
#end
|
||||
#end
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,92 @@
|
|||
#include "colors.inc"
|
||||
#include "shapes.inc"
|
||||
#include "textures.inc"
|
||||
#include "metals.inc"
|
||||
#include "stones.inc"
|
||||
#include "landestuetze.pov"
|
||||
|
||||
#declare SCHNITT_1 = 1; // Quadrant -/*/-
|
||||
#declare XZ_GRID = 0;
|
||||
|
||||
global_settings {
|
||||
assumed_gamma 1.0
|
||||
ambient_light rgb<0.5, 0.5, 0.5>
|
||||
}
|
||||
background { color rgb<0.2, 0.4, 0.8> }
|
||||
light_source {
|
||||
<-200, 200, -200>
|
||||
color White
|
||||
}
|
||||
|
||||
#local CP = <-90, 60, -90>;
|
||||
light_source {
|
||||
CP
|
||||
color White*0.5
|
||||
}
|
||||
camera {
|
||||
orthographic
|
||||
location CP
|
||||
look_at <-0, 30, -0>
|
||||
angle 20
|
||||
}
|
||||
|
||||
#include "huelle.pov"
|
||||
#include "deck_04.pov"
|
||||
|
||||
union {
|
||||
object {
|
||||
deck_04
|
||||
}
|
||||
#local i = 0;
|
||||
#while (i < 12)
|
||||
object {
|
||||
landestuetze
|
||||
rotate <0, i * 30, 0>
|
||||
}
|
||||
#local i = i + 1;
|
||||
#end
|
||||
#if (XZ_GRID)
|
||||
#local xx = -40;
|
||||
#while (xx <= 40)
|
||||
|
||||
cylinder {
|
||||
<xx, 0, -100>,
|
||||
<xx, 0, +100>,
|
||||
0.1 + 0.1 * (mod(xx, 10) = 0)
|
||||
pigment { color <1, 0, 0> }
|
||||
}
|
||||
#local xx = xx + 1;
|
||||
#end
|
||||
#local zz = -40;
|
||||
#while (zz <= 40)
|
||||
|
||||
cylinder {
|
||||
<-100, 0, zz>,
|
||||
<+100, 0, zz>,
|
||||
0.1 + 0.1 * (mod(zz, 10) = 0)
|
||||
pigment { color <0, 0, 1> }
|
||||
}
|
||||
#local zz = zz + 1;
|
||||
#end
|
||||
#end
|
||||
translate <0, 55, 0>
|
||||
}
|
||||
|
||||
|
||||
cylinder {
|
||||
<0, 0, 0>,
|
||||
<0, -1, 0>, 1000
|
||||
pigment {
|
||||
radial
|
||||
color_map{
|
||||
[0.1 rgb 0.1 ]
|
||||
[0.1 White]
|
||||
}
|
||||
frequency 16
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue