Einfach-TFK für 200m-Kreuzer.

This commit is contained in:
hjp 1998-03-16 23:33:21 +00:00
parent 12533d4590
commit 1eec387634
3 changed files with 106 additions and 19 deletions

View File

@ -1,6 +1,6 @@
# what's where?
POVHOME=/usr/local/povray3
POVBIN=$(POVHOME)/bin
POVHOME=/usr/lib/povray3
POVBIN=/usr/bin
POVINC=$(POVHOME)/include
POVRAY=$(POVBIN)/x-povray
@ -11,24 +11,10 @@ HEIGHT=300
%.ppm: %.pov
$(POVRAY) +W$(WIDTH) +H$(HEIGHT) +V -I$< +L$(POVINC) +Q5 +D +FP
dgk-hangar.ppm: \
dgk-hangar.pov \
dgk.pov \
maindecks.pov \
strut.pov \
ring.pov \
guns.pov \
tfk.pov \
hangar.pov \
hangars.pov \
name.gif \
Makefile
%.pov: make%
$< > $@
./$< > $@
dgk.ppm:
test-ring.ppm: test-ring.pov ring.pov
test-hangar.ppm: test-hangar.pov hangar.pov
all: test-tfk1.ppm
test-tfk.ppm: test-tfk.pov tfk.pov
test-struts.ppm: test-struts.pov dgk.pov
test-tfk1.ppm: test-tfk1.pov tfk1.pov

31
pr/tfk/test-tfk1.pov Normal file
View File

@ -0,0 +1,31 @@
#include "colors.inc"
#include "shapes.inc"
#include "textures.inc"
#include "stones.inc"
global_settings {
assumed_gamma 1.0
ambient_light rgb<0.5, 0.5, 0.5>
}
camera {
//location <-0, 100, 130>
//location <0, 0, 30>
location <0, 20, 0>
look_at <0, 0, 5>
//location <20, 17, 60>
//look_at <0, 17, 20>
}
light_source {
<100, 100, 0> color White
}
light_source {
<0, 50, 0> color White
}
#declare Ynkelonium_Texture =
texture {pigment {color Salmon}}
#include "tfk1.pov"
object { TFK1 }

70
pr/tfk/tfk1.pov Normal file
View File

@ -0,0 +1,70 @@
#declare TFK1_Lauf =
union {
#declare i = 0
#while (i < 5)
cone {<0, 1, 0>, 0.4, <0, 1, 5>, 0.4
texture {
pigment {color <0.7, 0.7, 1.0>}
finish {phong 1.0 metallic}
}
rotate <0, 0, i*72>
}
#declare i = i + 1
#end
#declare i = 0
#while (i < 5/0.03)
cone {<-0.125, 1.4, 0>, 0.2, <0.125, 1.4, 0.03>, 0.2
texture {
pigment {color <1.0, 1.0, 0.0>}
finish {phong 1.0 metallic}
}
rotate <0, 0, i*12>
translate <0, 0, i*0.03>
}
#declare i = i + 1
cone {<-0.125, 1.4, 0>, 0.2, <0.125, 1.4, 0.03>, 0.2
texture {
pigment {color <1.0, 0.0, 0.0>}
finish {phong 1.0 metallic}
}
rotate <0, 0, i*12>
translate <0, 0, i*0.03>
}
#declare i = i + 1
#end
difference {
union {
cone {<0, 0, 5>, (1.4), <0, 0, 6>, (2)}
cone {<0, 0, 8>, (1.4), <0, 0, 6>, (2)}
}
cone {<0, 0, 4.9>, (0.6), <0, 0, 8.1>, (0.6)}
texture {
pigment {color <0.7, 0.7, 1.0>}
finish {phong 1.0}
}
}
}
#declare TFK1 =
union {
sphere { <0, 0, 0>, 5
texture {
pigment {color <0.7, 0.7, 1.0>}
finish {phong 1.0}
}
}
cone { <0, 0, 4.5>, 1.6, <0, 0, 5.5>, 1.6
texture {
pigment {color <0.7, 0.7, 1.0>}
finish {phong 1.0 metallic}
}
}
object {TFK1_Lauf translate <0, 0, 5>}
cone { <0, 3.2, 4.0>, 0.2, <0, 3.2, 4.2>, 0.4
texture {
pigment {color <0.1, 0.1, 0.2>}
finish {phong 1.0 metallic}
}
}
}