This commit is contained in:
hjp 1999-10-24 12:27:53 +00:00
parent a62f509390
commit fd922c00ae
5 changed files with 261 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# what's where?
include GNUmakevars
all: \
test-laires_auge.ppm \
margors_labor.ppm \
%.ppm: %.pov
$(POVRAY) +L$(POVINC) +V -I$< +D +FP
%.pov: make%
$< > $@
margors_labor.ppm: margors_labor.pov laires_auge.pov
test-laires_auge.ppm: test-laires_auge.pov laires_auge.pov
%.gif: %.ppm
ppmquant 256 $< | ppmtogif > $@

View File

@ -0,0 +1,82 @@
#declare deg2rad = atan2(1,1)/45.0;
#declare rad2deg = 45.0/atan2(1,1);
#declare F_LAK =
finish {
ambient 0.1
diffuse 0.1
reflection 0.1
specular 0.8
roughness 0.003
phong 1
phong_size 400
}
#declare T_LAK =
texture {
pigment { color rgbf <0.98, 0.98, 0.98, 0.9> }
finish { F_LAK }
}
#declare laires_auge =
union {
merge {
intersection {
#declare i = 0;
#while (i < 360)
plane {
<0, 1, 0>, 0
rotate <0, 0, 15>
rotate <i, 0, 0>
}
plane {
<0, 1, 0>, 0
translate <0, 18.5, 0>
rotate <0, 0, 15*3/4-90>
rotate <i, 0, 0>
}
#declare i = i + 30;
#end
#declare i = 0;
#while (i < 360)
plane {
<0, 1, 0>, 0
rotate <0, 0, 15>
rotate <i, 0, 0>
}
plane {
<0, 1, 0>, 0
translate <0, 18.5, 0>
rotate <0, 0, 15*1/4-90>
rotate <i, 0, 0>
}
#declare i = i + 60;
#end
}
intersection {
#declare i = 0;
#while (i < 360)
plane {
<0, 1, 0>, 0
translate <0, 3.5, 0>
rotate <i, 0, 0>
}
#declare i = i + 30;
#end
box {
<16, -4, -4>,
<8.5, 4, 4>
}
}
texture { T_LAK }
interior {
ior 3.1
}
}
cone {
<8.5, 0, 0>, 3.5
<-1.1, 0, 0>, 4.5
texture { pigment { color Black } }
}
}

View File

@ -0,0 +1,116 @@
#include "colors.inc"
#include "shapes.inc"
#include "textures.inc"
#include "metals.inc"
#include "stones.inc"
global_settings {
assumed_gamma 1.0
ambient_light rgb<0.5, 0.5, 0.5>
}
//background { color rgb<0.2, 0.4, 0.8> }
light_source {
<149E9*100, 0, 0>
color White
rotate <0, 0, 60>
rotate <0, 30, 60>
}
camera {
location <9, 170, -550>
look_at <9, 5, 0>
angle 30
}
#include "laires_auge.pov"
object {
laires_auge
rotate <0, 0, 90>
translate <0, 90 + 1.1, 0>
}
// Zimmer
difference {
box {
<-520, -20, -620>
<520, 320, 620>
pigment {
color White
}
}
box {
<-500, 0, -600>
<500, 300, 600>
pigment {
color White
}
}
// Fenster
#declare i = -6;
#while (i < 6)
box {
<499, 100, i*100+10>
<521, 280, i*100+90>
pigment {
color White
}
}
#declare i = i + 1;
#end
// Tür
box {
<-499, 0, 100+10>
<-521, 200, 100+90>
pigment {
color White
}
}
}
// Tisch
#declare tischbein =
box {
<-1, 0, -1>
<+1, 88, +1>
texture { T_Chrome_5C }
}
union {
box {
<-50, 88, -100>
< 50, 90, 100>
texture { T_Stone9 }
}
object {
tischbein
translate <-49, 0, -99>
}
object {
tischbein
translate <-49, 0, +99>
}
object {
tischbein
translate <+49, 0, +99>
}
object {
tischbein
translate <+49, 0, -99>
}
}
plane {
<0, 1, 0>, -1
pigment { color Green }
}
plane {
<0, -1, 0>, 150E9*100
pigment { color rgb <0.5, 0.5, 1.0> }
}

View File

@ -0,0 +1,4 @@
+A
+HTP
+fp +w400 +h300 +d1
display_gamma = 2.2

View File

@ -0,0 +1,37 @@
#include "colors.inc"
#include "shapes.inc"
#include "textures.inc"
#include "metals.inc"
#include "stones.inc"
global_settings {
assumed_gamma 1.0
ambient_light rgb<0.5, 0.5, 0.5>
}
//background { color rgb<0.2, 0.4, 0.8> }
light_source {
<2000, 2000, 2000>
color White
}
camera {
location <9, 50, 0>
look_at <9, 5, 0>
angle 30
orthographic
}
#include "laires_auge.pov"
object {
laires_auge
translate <0, 5, 0>
}
plane {
<0, 1, 0>, 0
pigment {
checker color White*0.7, color White*0.5
}
}