From 89d110b58056a2e01f8d9db28e122ca3c509d5dc Mon Sep 17 00:00:00 2001 From: hjp Date: Mon, 24 Aug 1998 16:31:04 +0000 Subject: [PATCH] =?UTF-8?q?Roboter.=20Zuf=C3=A4llige=20Plazierung,=20Haltu?= =?UTF-8?q?ng=20und=20Kleidungsfarbe=20der=20Menschen.=20Sonne=20ist=20jet?= =?UTF-8?q?zt=20weit=20weg.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TODO: Durch Änderung der Lichtverhältnisse ist der Detailmangel an den Menschen jetzt störend. Muß verbessert werden. Auch Placement war schon besser. Mehr Details am Mittelstueck. Diesiges Wetter, Wolken, Abendstimmung, etc. ausprobieren. Performance (vielleicht bounden der Robots und Menschen?) --- pr/sol/GNUmakefile | 4 +-- pr/sol/exodus.pov | 58 +++++++++++++++++++++++++++++++++++----- pr/sol/mensch.pov | 60 +++++++++++++++++++++++++----------------- pr/sol/povray.ini | 2 +- pr/sol/test-mensch.pov | 8 ++++++ 5 files changed, 98 insertions(+), 34 deletions(-) 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 {