From fd922c00ae29a676cad249b7e11a3b9b7f6c1e96 Mon Sep 17 00:00:00 2001 From: hjp Date: Sun, 24 Oct 1999 12:27:53 +0000 Subject: [PATCH] Snapshot --- pr/laires_auge/GNUmakefile | 22 ++++++ pr/laires_auge/laires_auge.pov | 82 ++++++++++++++++++++ pr/laires_auge/margors_labor.pov | 116 ++++++++++++++++++++++++++++ pr/laires_auge/povray.ini | 4 + pr/laires_auge/test-laires_auge.pov | 37 +++++++++ 5 files changed, 261 insertions(+) create mode 100644 pr/laires_auge/GNUmakefile create mode 100644 pr/laires_auge/laires_auge.pov create mode 100644 pr/laires_auge/margors_labor.pov create mode 100644 pr/laires_auge/povray.ini create mode 100644 pr/laires_auge/test-laires_auge.pov diff --git a/pr/laires_auge/GNUmakefile b/pr/laires_auge/GNUmakefile new file mode 100644 index 0000000..7e20302 --- /dev/null +++ b/pr/laires_auge/GNUmakefile @@ -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 > $@ diff --git a/pr/laires_auge/laires_auge.pov b/pr/laires_auge/laires_auge.pov new file mode 100644 index 0000000..5cc6316 --- /dev/null +++ b/pr/laires_auge/laires_auge.pov @@ -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 + } + plane { + <0, 1, 0>, 0 + translate <0, 18.5, 0> + rotate <0, 0, 15*3/4-90> + rotate + } + #declare i = i + 30; + #end + #declare i = 0; + #while (i < 360) + plane { + <0, 1, 0>, 0 + rotate <0, 0, 15> + rotate + } + plane { + <0, 1, 0>, 0 + translate <0, 18.5, 0> + rotate <0, 0, 15*1/4-90> + rotate + } + #declare i = i + 60; + #end + } + intersection { + #declare i = 0; + #while (i < 360) + plane { + <0, 1, 0>, 0 + translate <0, 3.5, 0> + rotate + } + #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 } } + } + } diff --git a/pr/laires_auge/margors_labor.pov b/pr/laires_auge/margors_labor.pov new file mode 100644 index 0000000..8670542 --- /dev/null +++ b/pr/laires_auge/margors_labor.pov @@ -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> } +} diff --git a/pr/laires_auge/povray.ini b/pr/laires_auge/povray.ini new file mode 100644 index 0000000..05b3631 --- /dev/null +++ b/pr/laires_auge/povray.ini @@ -0,0 +1,4 @@ ++A ++HTP ++fp +w400 +h300 +d1 +display_gamma = 2.2 diff --git a/pr/laires_auge/test-laires_auge.pov b/pr/laires_auge/test-laires_auge.pov new file mode 100644 index 0000000..decf0ae --- /dev/null +++ b/pr/laires_auge/test-laires_auge.pov @@ -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 + } +}