diff --git a/pr/sol/GNUmakefile b/pr/sol/GNUmakefile index 0f335f1..9ad0064 100644 --- a/pr/sol/GNUmakefile +++ b/pr/sol/GNUmakefile @@ -7,12 +7,12 @@ all: \ test-mittelstueck.ppm \ test-sol.ppm \ test-mensch.ppm \ - #exodus.ppm \ + exodus.ppm \ %.ppm: %.pov - $(POVRAY) +V -I$< +D +FP + $(POVRAY) +L$(POVINC) +V -I$< +D +FP %.pov: make% $< > $@ diff --git a/pr/sol/exodus.pov b/pr/sol/exodus.pov index 4903888..ee72a4e 100644 --- a/pr/sol/exodus.pov +++ b/pr/sol/exodus.pov @@ -10,32 +10,76 @@ global_settings { } background { color rgb<0.2, 0.4, 0.8> } light_source { - <2000, 2000, -2000> + <86E9, 86E9, -86E9> color White } + camera { location <6000, 1.65, 10> - look_at <0, 2500, 2500> + look_at <0, 2500, -1000> //ok + //look_at <6000, 1.65, 0> } #include "sol.pov" -#include "mensch.pov" +#include "../roboter/roboter.pov" object { Sol translate <0, 3300, 0> } -#declare i = 0 -#while (i < 10000) +#declare i = 3000 +#declare rand1 = seed(0) +#while (i < 6000) + #declare Mensch_Schritt = rand(rand1) * 30 - 15 + #declare Mensch_Farbe_Jacke = + color + #declare Mensch_Farbe_Hose = + color + #declare Groesse = rand(rand1) * 0.2 + 0.9 + #include "mensch.pov" object { Mensch - rotate <0, 90, 0> - translate + scale + rotate <0, -90, 0> + translate } #declare i = i + 1 #end +#declare i = 0 +#declare rand1 = seed(0) +#while (i < 50) + #declare Mensch_Schritt = 0 + #declare Mensch_Farbe_Jacke = + color + #declare Mensch_Farbe_Hose = + color + #include "mensch.pov" + object { + Mensch + rotate <0, -90, 0> + translate <0, i + rand(rand1)*1.8, 0> + } + #declare i = i + 3 +#end + +#declare i = 4000 +#while (i < 6000) + #debug concat ("\nRoboter: ", str(i, 0, 0)) + object { + roboter + rotate <0, 180, 0> + translate + } + object { + roboter + rotate <0, 0, 0> + translate + } + #declare i = i + 5 +#end + plane { <0, 1, 0>, 0.3 pigment { diff --git a/pr/sol/mensch.pov b/pr/sol/mensch.pov index 1ec0238..9fae1db 100644 --- a/pr/sol/mensch.pov +++ b/pr/sol/mensch.pov @@ -46,7 +46,7 @@ <0, -0.55, 0>, 0 scale <1, 1, 0.5> } - texture { pigment { color LimeGreen } } + texture { pigment { color Mensch_Farbe_Jacke } } translate <0, 1.4, 0> } @@ -55,39 +55,51 @@ <0, 0, 0> 1 scale <0.15, 0.15, 0.1> translate <0, 1, 0> - texture { pigment { color LimeGreen } } + texture { pigment { color Mensch_Farbe_Hose } } } // Beine cone { - <0.1, 0, 0>, 0.05 - <0.07, 1, 0>, 0.07 - texture { pigment { color LimeGreen } } + <0.1, -1, 0>, 0.05 + <0.07, 0, 0>, 0.07 + texture { pigment { color Mensch_Farbe_Hose } } + rotate + translate <0, 1, 0> } cone { - <-0.1, 0, 0>, 0.05 - <-0.07, 1, 0>, 0.07 - texture { pigment { color LimeGreen } } + <-0.1, -1, 0>, 0.05 + <-0.07, 0, 0>, 0.07 + texture { pigment { color Mensch_Farbe_Hose } } + rotate <-Mensch_Schritt, 0, 0> + translate <0, 1, 0> } // Arme - cone { - <0.25, 0.8, 0>, 0.05 - <0.25, 1.4, 0>, 0.05 - texture { pigment { color LimeGreen } } + union { + cone { + <0.0, -0.6, 0>, 0.05 + <0.0, 0.0, 0>, 0.05 + texture { pigment { color Mensch_Farbe_Jacke } } + } + sphere { + <0.0, -0.64, 0>, 0.04 + texture { pigment { color Flesh } } + } + rotate <-Mensch_Schritt, 0, 0> + translate <0.20, 1.4, 0> } - sphere { - <0.25, 0.76, 0>, 0.04 - texture { pigment { color Flesh } } - } - cone { - <-0.25, 0.8, 0>, 0.05 - <-0.25, 1.4, 0>, 0.05 - texture { pigment { color LimeGreen } } - } - sphere { - <-0.25, 0.76, 0>, 0.04 - texture { pigment { color Flesh } } + union { + cone { + <0.0, -0.6, 0>, 0.05 + <0.0, 0.0, 0>, 0.05 + texture { pigment { color Mensch_Farbe_Jacke } } + } + sphere { + <0.0, -0.64, 0>, 0.04 + texture { pigment { color Flesh } } + } + rotate + translate <-0.20, 1.4, 0> } } diff --git a/pr/sol/povray.ini b/pr/sol/povray.ini index e63818c..491283b 100644 --- a/pr/sol/povray.ini +++ b/pr/sol/povray.ini @@ -1,6 +1,6 @@ +A +HTP +fp +w800 +h600 +d1 -+l/usr/lib/povray3/include display_gamma = 2.2 ++L../roboter +sp16 diff --git a/pr/sol/test-mensch.pov b/pr/sol/test-mensch.pov index adf6b57..3da843e 100644 --- a/pr/sol/test-mensch.pov +++ b/pr/sol/test-mensch.pov @@ -18,6 +18,14 @@ camera { look_at <0, 1, 0> } +#declare rand1 = seed(0) + +#declare Mensch_Schritt = rand(rand1) * 30 - 15 +#declare Mensch_Farbe_Jacke = + color +#declare Mensch_Farbe_Hose = + color + #include "mensch.pov" object {