From b8416ad682e05bed1747639f66b7e1948cad4ae8 Mon Sep 17 00:00:00 2001 From: hjp Date: Sat, 9 Feb 2008 23:03:20 +0000 Subject: [PATCH] Deck 2: Leer. --- pr/schneller_kreuzer/deck_02.pov | 45 ++++++++++++ pr/schneller_kreuzer/test-deck_02.pov | 98 +++++++++++++++++++++++++++ 2 files changed, 143 insertions(+) create mode 100644 pr/schneller_kreuzer/deck_02.pov create mode 100644 pr/schneller_kreuzer/test-deck_02.pov diff --git a/pr/schneller_kreuzer/deck_02.pov b/pr/schneller_kreuzer/deck_02.pov new file mode 100644 index 0000000..e5cde6f --- /dev/null +++ b/pr/schneller_kreuzer/deck_02.pov @@ -0,0 +1,45 @@ +#include "huelle.pov" +#include "landestuetze.pov" + +#declare deck_02 = + union { + intersection { + union { + difference { + object { huelle } + #ifdef (SCHNITT_1) + box { + <-50, 45, -50> + < -0.1, 50, -0.1> + } + #end + #local i = 0; + #while (i < 12) + object { + landestuetze_neg + rotate <0, i * 30, 0> + } + #local i = i + 1; + #end + texture { T_arkonstahl } + } + } + box { + <-50, -44, -50> + < 50, -40, 50> + } + } + // AG + cylinder { + <0, -44, 0>, <0, -40, 0>, 2 + } + + // Deck + cone { + <0, -44.2, 0>, 23, + <0, -43.8, 0>, 24 + } + texture { T_arkonstahl } + } + + diff --git a/pr/schneller_kreuzer/test-deck_02.pov b/pr/schneller_kreuzer/test-deck_02.pov new file mode 100644 index 0000000..ce765c5 --- /dev/null +++ b/pr/schneller_kreuzer/test-deck_02.pov @@ -0,0 +1,98 @@ +#include "colors.inc" +#include "shapes.inc" +#include "textures.inc" +#include "metals.inc" +#include "stones.inc" + +#declare SCHNITT_1 = 1; // Quadrant -/*/- + +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 { + <-200, 200, -200> + color White +} + +#local CP = <-100, 50, +100>; +light_source { + CP + color White*0.5 +} +camera { + location CP + look_at <-0, 10, 0> + angle 20 +} + +#include "huelle.pov" +#include "deck_02.pov" + +union { + object { + deck_02 + } + cylinder { + <100, -43, -100>, + <100, -43, +100>, + 0.2 + pigment { color <1, 1, 1> } + } + cylinder { + <100, -44, -100>, + <100, -44, +100>, + 0.2 + pigment { color <1, 1, 0> } + } + cylinder { + <100, -45, -100>, + <100, -45, +100>, + 0.2 + pigment { color <1, 0, 0> } + } + cylinder { + <100, -40, 0>, + <100, -55, 0>, + 0.2 + pigment { color <1, 0, 0> } + } + translate <0, 55, 0> +} + + +cylinder { + <0, 0, 0>, + <0, -1, 0>, 1000 + pigment { + radial + color_map{ + [0.1 rgb 0.1 ] + [0.1 White] + } + frequency 16 + } +} + + +/* +cone { + <0, 0, 0>, 0 + <1000, 0, 0>, 10 + pigment { color <1, 0, 0> } +} + +cone { + <0, 0, 0>, 0 + <0, 1000, 0>, 10 + pigment { color <0, 1, 0> } +} + +cone { + <0, 0, 0>, 0 + <0, 0, 1000>, 10 + pigment { color <0, 0, 1> } +} +*/ +