diff --git a/pr/tfk/Makefile b/pr/tfk/Makefile index 523f8f1..618b9e5 100644 --- a/pr/tfk/Makefile +++ b/pr/tfk/Makefile @@ -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 diff --git a/pr/tfk/test-tfk1.pov b/pr/tfk/test-tfk1.pov new file mode 100644 index 0000000..71f3170 --- /dev/null +++ b/pr/tfk/test-tfk1.pov @@ -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 } + diff --git a/pr/tfk/tfk1.pov b/pr/tfk/tfk1.pov new file mode 100644 index 0000000..06e9553 --- /dev/null +++ b/pr/tfk/tfk1.pov @@ -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} + } + } + }