Roboter.
Zufällige Plazierung, Haltung und Kleidungsfarbe der Menschen. Sonne ist jetzt weit weg. 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?)
This commit is contained in:
parent
388f7f77ce
commit
89d110b580
|
@ -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%
|
||||
$< > $@
|
||||
|
|
|
@ -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 <rand(rand1), rand(rand1), rand(rand1)>
|
||||
#declare Mensch_Farbe_Hose =
|
||||
color <rand(rand1), rand(rand1), rand(rand1)>
|
||||
#declare Groesse = rand(rand1) * 0.2 + 0.9
|
||||
#include "mensch.pov"
|
||||
object {
|
||||
Mensch
|
||||
rotate <0, 90, 0>
|
||||
translate <i, 0, 0>
|
||||
scale <Groesse, Groesse, Groesse>
|
||||
rotate <0, -90, 0>
|
||||
translate <i + rand(rand1)*0.8, 0, -0.5 + rand(rand1)*1>
|
||||
}
|
||||
#declare i = i + 1
|
||||
#end
|
||||
|
||||
#declare i = 0
|
||||
#declare rand1 = seed(0)
|
||||
#while (i < 50)
|
||||
#declare Mensch_Schritt = 0
|
||||
#declare Mensch_Farbe_Jacke =
|
||||
color <rand(rand1), rand(rand1), rand(rand1)>
|
||||
#declare Mensch_Farbe_Hose =
|
||||
color <rand(rand1), rand(rand1), rand(rand1)>
|
||||
#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 <i, 0, -5>
|
||||
}
|
||||
object {
|
||||
roboter
|
||||
rotate <0, 0, 0>
|
||||
translate <i, 0, 5>
|
||||
}
|
||||
#declare i = i + 5
|
||||
#end
|
||||
|
||||
plane {
|
||||
<0, 1, 0>, 0.3
|
||||
pigment {
|
||||
|
|
|
@ -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 <Mensch_Schritt, 0, 0>
|
||||
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 <Mensch_Schritt, 0, 0>
|
||||
translate <-0.20, 1.4, 0>
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
+A
|
||||
+HTP
|
||||
+fp +w800 +h600 +d1
|
||||
+l/usr/lib/povray3/include
|
||||
display_gamma = 2.2
|
||||
+L../roboter
|
||||
+sp16
|
||||
|
|
|
@ -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 <rand(rand1), rand(rand1), rand(rand1)>
|
||||
#declare Mensch_Farbe_Hose =
|
||||
color <rand(rand1), rand(rand1), rand(rand1)>
|
||||
|
||||
#include "mensch.pov"
|
||||
|
||||
object {
|
||||
|
|
Loading…
Reference in New Issue