*** empty log message ***

This commit is contained in:
hjp 2000-06-28 22:13:01 +00:00
parent cc104a6e3b
commit da1d2ed43d
35 changed files with 4116 additions and 0 deletions

View File

@ -0,0 +1,33 @@
version 5.0
set nocompatible
let cpo_save=&cpo
set cpo=B
map! <xHome> <Home>
map! <xEnd> <End>
map! <S-xF4> <S-F4>
map! <S-xF3> <S-F3>
map! <S-xF2> <S-F2>
map! <S-xF1> <S-F1>
map! <xF4> <F4>
map! <xF3> <F3>
map! <xF2> <F2>
map! <xF1> <F1>
map <xHome> <Home>
map <xEnd> <End>
map <S-xF4> <S-F4>
map <S-xF3> <S-F3>
map <S-xF2> <S-F2>
map <S-xF1> <S-F1>
map <xF4> <F4>
map <xF3> <F3>
map <xF2> <F2>
map <xF1> <F1>
let &cpo=cpo_save
unlet cpo_save
set autoindent
set exrc
set number
set ruler
set shiftwidth=4
set showmatch
set textwidth=90

View File

@ -0,0 +1,44 @@
# what's where?
include GNUmakevars
all: \
test-deck_18.png \
test-sonden_hangar.png \
test-superellipsoid.png \
test-difference.png \
test-ein-mann-jaeger.png \
test-hufeisenpult.png \
test-konturensitz.png \
test-polgeschuetz.png \
test-schneller_kreuzer.png \
%.ppm: %.pov
$(POVRAY) +W$(WIDTH) +H$(HEIGHT) +V -I$< +L$(POVINC) +D +FP
%.png: %.pov
$(POVRAY) +V -I$< +L$(POVINC) +D +FN
%.pov: make%
$< > $@
test-sonden_hangar.png: test-sonden_hangar.pov sonden_hangar.pov
test-ein-mann-jaeger.png: test-ein-mann-jaeger.pov ein-mann-jaeger.pov konturensitz.pov
test-hufeisenpult.png: test-hufeisenpult.pov hufeisenpult.pov
test-konturensitz.png: test-konturensitz.pov konturensitz.pov
test-polgeschuetz.png: test-polgeschuetz.pov polgeschuetz.pov
test-schneller_kreuzer.png: test-schneller_kreuzer.pov \
schneller_kreuzer.pov huelle.pov deck_20.pov polgeschuetz.pov \
deck_19.pov ein-mann-jaeger.pov deck_18.pov deck_17.pov
test-deck_18.png: test-deck_18.pov \
huelle.pov \
deck_18.pov
%.gif: %.ppm
ppmquant 256 $< | ppmtogif > $@

View File

@ -0,0 +1,48 @@
Kabinen. 150 Mann?
3 Schichten a 50 Mann:
Zentrale: Kommandant, Pilot, Waffen. 3 3
Maschinenleitstand: 10 2 8
Ortung 10 2 8
Funk 2 1 1
Techniker 10 2 8
Systemerhaltung 5 1 4
Soldaten 10 1 9
-----------------
50 12 38
150 36 114
36 Offizierskabinen. 57 Mannschaftskabinenen a 2 Mann? + Gäste, ev.
Truppentransport. 50 Einzel, 100 Doppelkabinen?
150 * 15 m² 2250 m² 3 Decks mit je 50 (48!) Kabinen, Kreisförmig angeordnet.
50 2 Reihen an einem Gang. ca. 25 m durchmesser. Durchgänge
nach innen und alle 6 Kabinen == 18 m. d.h. Umfang (18 + 2) * 4 == 80 m.
Außendurchmesser der Kabinenflucht: 25 + 5 + 10 == 40 m.
Zentrale 15 m Durchmesser.
Messe für 50 Personen (oder 150 dichtgepackt?), Küche, Krankenstation,
Turnhalle, Konferenzräume. Platz in weiterem Kreis mit 40 m Durchmesser?
Damit wäre Hauptlebensbereich auf 4 Decks (20 m? und 40m Durchmesser
eingeschränkt.
Tanks für Stützmasse. Dichte von 9.8. Verbrauch pro Sek: 45 t == 4.6 m³
== 1400 m³ pro Beschleunigungsphase. Insg. 140000m³? Nein, zuviel. Wir
brauchen auch noch Wasserstofftanks mit ~ gleicher Masse. Geringere
Dichte (UNBEKANNT - 1 kg/dm³ für fl. Wasserstoff?) - größeres Volumen.
Annahme: 10/1: 14000 m³ Wismuth, 140000 m³ Wasserstoff? Sollte für 100
Beschleunigungsmanöver reichen.
Beiboote:
k.A.: Vermutlich keine Space-Jet (im Gegensatz zum normalen
100m-Kreuzer d.Z.). 1-Mann-Jäger, Shift, Sonden en masse.
Offene Fragen: Maße d. 1-Mann-Jägers (Länge: 15 m. Spannweite,
Höhe: ? - Siehe RZ 24/4, 3D-Modell von ?)

View File

@ -0,0 +1,8 @@
#include "metals.inc"
#declare T_BlackMetal =
texture {
pigment {
color rgb <0.1, 0.1, 0.1>
}
finish { F_MetalC }
}

View File

@ -0,0 +1,26 @@
/*
$Id$
Textur für Arkonstahl.
Abgeleitet von Terkonit-Textur von
Harald Ottacher
ottacher@iwf.tu-graz.ac.at
http://www.hjp.at/pr/3d/kr100/
*/
#declare T_arkonstahl =
texture {
pigment { color red 0.4 green 0.4 blue 0.8}
finish {
metallic
ambient 0.0
diffuse 0.7
brilliance 1
reflection 0.1
specular 0.7
roughness 1/60
}
}

View File

@ -0,0 +1,76 @@
#include "treibstofftank.pov"
#declare deck_15 =
union {
#if (1)
intersection {
union {
difference {
object { huelle }
// Ausschnitte
}
}
box {
<-50, 25, -50>
< 50, 20, 50>
}
}
#end
difference {
cone {
<0, 20.2, 0> 44.6
<0, 19.8, 0> 44.8
texture { T_arkonstahl }
}
// Ausschnitt f. Anlagen v. Deck 13.
difference {
cylinder {
<0, 19, 0> <0, 21, 0> 25
}
cylinder {
<0, 19, 0> <0, 21, 0> 15
}
}
#ifdef (SCHNITT_1)
intersection {
torus {
23, 23
}
plane {
<0, 0, -1> 0
rotate <0, 45, 0>
}
plane {
<0, 0, +1> 0
rotate <0, -45, 0>
}
rotate <0, 135, 0>
translate <0, 20.0, 0>
}
#end
}
#local rr = 25.5;
#while (rr < 41.0)
#local da = degrees(asin(0.5/rr))*2;
#local aa = 0;
#while (aa <= 360 - da)
#local ss = 1;
#ifdef (SCHNITT_1)
#local pp = vrotate(<rr, 0, 0>, <0, aa, 0>);
#if (pp.x < 0 & pp.z < 0)
#local ss = 0;
#end
#end
#if (ss)
object {
treibstofftank
translate <rr, 20.2, 0>
rotate <0, aa, 0>
}
#end
#local aa = aa + da;
#end
#local rr = rr + 1.0;
#end
}

View File

@ -0,0 +1,71 @@
#include "treibstofftank.pov"
#declare deck_16 =
union {
#if (1)
intersection {
union {
difference {
object { huelle }
// Ausschnitte
}
}
box {
< 50, 30, 50>
<-50, 25, -50>
}
}
#end
difference {
cone {
<0, 25.2, 0> 42.0
<0, 24.8, 0> 42.2
texture { T_arkonstahl }
}
// Ausschnitt f. Anlagen v. Deck 15 u. 13.
cylinder {
<0, 24, 0> <0, 26, 0> 25
}
#ifdef (SCHNITT_1)
intersection {
torus {
21, 21
}
plane {
<0, 0, -1> 0
rotate <0, 45, 0>
}
plane {
<0, 0, +1> 0
rotate <0, -45, 0>
}
rotate <0, 135, 0>
translate <0, 25.0, 0>
}
#end
}
#local rr = 25.5;
#while (rr < 37.6)
#local da = degrees(asin(0.5/rr))*2;
#local aa = 0;
#while (aa <= 360 - da)
#local ss = 1;
#ifdef (SCHNITT_1)
#local pp = vrotate(<rr, 0, 0>, <0, aa, 0>);
#if (pp.x < 0 & pp.z < 0)
#local ss = 0;
#end
#end
#if (ss)
object {
treibstofftank
translate <rr, 25.2, 0>
rotate <0, aa, 0>
}
#end
#local aa = aa + da;
#end
#local rr = rr + 1.0;
#end
}

View File

@ -0,0 +1,71 @@
#include "treibstofftank.pov"
#declare deck_17 =
union {
#if (1)
intersection {
union {
difference {
object { huelle }
// Ausschnitte
}
}
box {
<-50, 35, -50>
< 50, 30, 50>
}
}
#end
difference {
cone {
<0, 30.2, 0> 38.5
<0, 29.8, 0> 38.8
texture { T_arkonstahl }
}
// AG
cylinder {
<0, 29, 0> <0, 31, 0> 2
}
#ifdef (SCHNITT_1)
intersection {
torus {
28, 13
}
plane {
<0, 0, -1> 0
rotate <0, 45, 0>
}
plane {
<0, 0, +1> 0
rotate <0, -45, 0>
}
rotate <0, 135, 0>
translate <0, 30.0, 0>
}
#end
}
#local rr = 15.5;
#while (rr < 33.0)
#local da = degrees(asin(0.5/rr))*2;
#local aa = 0;
#while (aa <= 360 - da)
#local ss = 1;
#ifdef (SCHNITT_1)
#local pp = vrotate(<rr, 0, 0>, <0, aa, 0>);
#if (pp.x < 0 & pp.z < 0)
#local ss = 0;
#end
#end
#if (ss)
object {
treibstofftank
translate <rr, 30.2, 0>
rotate <0, aa, 0>
}
#end
#local aa = aa + da;
#end
#local rr = rr + 1.0;
#end
}

View File

@ -0,0 +1,71 @@
#include "treibstofftank.pov"
#declare deck_18 =
union {
#if (1)
intersection {
union {
difference {
object { huelle }
// Ausschnitte
}
}
box {
< 50, 40, 50>
<-50, 35, -50>
}
}
#end
difference {
cone {
<0, 35.2, 0> 34.0
<0, 34.8, 0> 34.4
texture { T_arkonstahl }
}
// AG
cylinder {
<0, 34, 0> <0, 36, 0> 2
}
#ifdef (SCHNITT_1)
intersection {
torus {
28, 13
}
plane {
<0, 0, -1> 0
rotate <0, 45, 0>
}
plane {
<0, 0, +1> 0
rotate <0, -45, 0>
}
rotate <0, 135, 0>
translate <0, 35.0, 0>
}
#end
}
#local rr = 15.5;
#while (rr < 27.2)
#local da = degrees(asin(0.5/rr))*2;
#local aa = 0;
#while (aa <= 360 - da)
#local ss = 1;
#ifdef (SCHNITT_1)
#local pp = vrotate(<rr, 0, 0>, <0, aa, 0>);
#if (pp.x < 0 & pp.z < 0)
#local ss = 0;
#end
#end
#if (ss)
object {
treibstofftank
translate <rr, 35.2, 0>
rotate <0, aa, 0>
}
#end
#local aa = aa + da;
#end
#local rr = rr + 1.0;
#end
}

View File

@ -0,0 +1,231 @@
#include "ein-mann-jaeger.pov"
#include "sonden_hangar.pov"
#declare emj_hangar_schott_offen = 0;
#declare emj_hangar =
union {
cylinder {
<0, 0, 12> <0, 0.01, 12>, 8
pigment {
color rgb <1, 1, 0>
}
}
difference {
union {
cylinder {
<0, 0, 12> <0, 4.8, 12>, 8.05
pigment {
color rgbf <1, 1, 1, 0.0>
}
}
intersection {
superellipsoid {
<0.25 0.25>
scale <8.05, 2.4, 40>
translate <0, 2.4, 0>
}
box {
<-8.05, 0, 12> <8.05, 4.8, 22>
}
texture {
T_arkonstahl
}
}
}
// Hohlraum:
// Hohlraum: Hangar
cylinder {
<0, 0, 12> <0, 4.81, 12>, 8.00
pigment {
color rgbf <1, 1, 1, 0.0>
}
}
// Hohlraum: Ausflugöffnung
prism {
linear_sweep
linear_spline
12 // min y
30 // max y
8 // nr points
<-1, 0> <-5.1, 1> <-1, 2> <0, 4.6>
<1, 2> <5.1, 1> <1, 0>
<-1, 0>
rotate <-90, 0, 0> // +x -> +x, +z -> +y, +y -> -z
scale <1, 1, -1>
texture {
T_arkonstahl
}
}
}
// Schott: 4 Teile
box {
<0, 0, 20.5> <5.5, 2.0, 21>
pigment {
gradient y
color_map {
[0.5 color Yellow ]
[0.5 color Black ]
}
scale 0.4
rotate <0, 0, 45>
translate <0, 2, 0>
}
translate <2.5, 1.5, 0>*emj_hangar_schott_offen
}
box {
<0, 0, 20.5> <5.5, 2.0, 21>
pigment {
gradient y
color_map {
[0.5 color Yellow ]
[0.5 color Black ]
}
scale 0.4
rotate <0, 0, 45>
translate <0, 2, 0>
}
translate <2.5, 1.5, 0>*emj_hangar_schott_offen
scale <-1, 1, 1>
}
box {
<0, 2, 20.5> <1.5, 4.6, 21>
pigment {
gradient y
color_map {
[0.5 color Yellow ]
[0.5 color Black ]
}
scale 0.4
rotate <0, 0, -45>
}
translate <1.0, 0.0, 0>*emj_hangar_schott_offen
}
box {
<0, 2, 20.5> <1.5, 4.6, 21>
pigment {
gradient y
color_map {
[0.5 color Yellow ]
[0.5 color Black ]
}
scale 0.4
rotate <0, 0, -45>
}
translate <1.0, 0.0, 0>*emj_hangar_schott_offen
scale <-1, 1, 1>
}
#if (1)
object {
ein_mann_jaeger
translate <0, 0, 5>
}
#end
}
#declare deck_19 =
union {
#if (1)
intersection {
union {
difference {
object { huelle }
// Ausschnitt f. Hangartore
superellipsoid {
<0.25 0.25>
scale <8.05, 2.4, 40>
translate <0, 40+2.4, 0>
pigment {
color rgb <1, 1, 0>
}
}
superellipsoid {
<0.25 0.25>
scale <8.05, 2.4, 40>
translate <0, 40+2.4, 0>
rotate <0, 90, 0>
pigment {
color rgb <1, 1, 0>
}
}
}
}
box {
<-50, 45, -50>
< 50, 40, 50>
}
}
#end
difference {
cone {
<0, 40.0, 0> 28
<0, 39.0, 0> 30
}
// AG
cylinder {
<0, 38, 0> <0, 41, 0> 2
}
#ifdef (SCHNITT_1)
intersection {
torus {
26, 5
}
plane {
<0, 0, -1> 0
rotate <0, 45, 0>
}
plane {
<0, 0, +1> 0
rotate <0, -45, 0>
}
rotate <0, 135, 0>
translate <0, 39.5, 0>
}
#end
texture { T_arkonstahl }
}
object {
emj_hangar
translate <0, 40, 0>
rotate <0, 0, 0>
}
object {
emj_hangar
translate <0, 40, 0>
rotate <0, 90, 0>
}
object {
emj_hangar
translate <0, 40, 0>
rotate <0, 180, 0>
}
object {
emj_hangar
translate <0, 40, 0>
rotate <0, 270, 0>
}
object {
sonden_hangar
translate <0, 40, 0>
rotate <0, 0, 0>
}
object {
sonden_hangar
translate <0, 40, 0>
rotate <0, 90, 0>
}
object {
sonden_hangar
translate <0, 40, 0>
rotate <0, 180, 0>
}
object {
sonden_hangar
translate <0, 40, 0>
rotate <0, 270, 0>
}
}

View File

@ -0,0 +1,62 @@
#include "polgeschuetz.pov"
#declare deck_20 =
union {
intersection {
union {
difference {
object { huelle }
cylinder {
<0, 45, 0> <0, 51, 0> 5.001
}
}
difference {
intersection {
sphere {
<0, 0, 0> 50
}
cylinder {
<0, 45, 0> <0, 51, 0> 5.5
}
}
sphere {
<0, 0, 0> 48
}
cylinder {
<0, 45, 0> <0, 51, 0> 5
}
#ifdef (SCHNITT_1)
box {
<-50, 45, -50>
< -0.1, 50, -0.1>
}
#end
texture { T_arkonstahl }
}
}
box {
<-50, 45, -50>
< 50, 50, 50>
}
}
difference {
cone {
<0, 44.8, 0> 20
<0, 45.2, 0> 18
texture { T_arkonstahl }
}
#ifdef (SCHNITT_1)
box {
<-50, 44, -50>
< -0.1, 50, -0.1>
}
#end
}
object {
polgeschuetz
}
light_source {
<0, 47.6, -6>
color <0.8, 0.8, 0.6>
}
}

View File

@ -0,0 +1,228 @@
#include "T_arkonstahl.pov"
#declare ein_mann_jaeger_tf_r =
union {
triangle {
<0.6, 1.0, 1.6> <5.0, 1.0, 3.0> <0.5, 1.1, 8.0>
}
triangle {
<0.6, 1.0, 9.0> <5.0, 1.0, 3.0> <0.5, 1.1, 8.0>
}
triangle {
<0.6, 1.0, 1.6> <5.0, 1.0, 3.0> <0.5, 1.0, 9.0>
}
cylinder {
<2.0, 1.0, 1.9> <2.0, 1.0, 7.4> 0.2
}
difference {
cone {
<2.0, 1.0, 1.6> 0.1
<2.0, 1.0, 1.9> 0.2
}
cone {
<2.0, 1.0, 1.5> 0.08
<2.0, 1.0, 1.9> 0.05
pigment { color rgb 0.2 }
}
}
difference {
cone {
<2.0, 1.0, 7.7> 0.1
<2.0, 1.0, 7.4> 0.2
}
cone {
<2.0, 1.0, 7.8> 0.08
<2.0, 1.0, 7.4> 0.05
pigment { color rgb 0.2 }
}
}
}
#declare ein_mann_jaeger_kufe_r =
union {
cylinder {
<0, -0.5, 2>
<0, -0.5, 8>
0.5
}
sphere {
<0, 0, 0> 1
scale <0.5, 0.5, 1>
translate <0, -0.5, 2>
}
sphere {
<0, 0, 0> 1
scale <0.5, 0.5, 1>
translate <0, -0.5, 8>
}
scale <0.5, 1/cos(radians(30)), 1>
rotate <0, 0, 30>
translate <0, +1, 0>
}
#local r1 = 0.3;
#declare ein_mann_jaeger =
union {
// Hecktriebwerk:
#local ii = 0;
#while (ii < 1.1)
intersection {
torus {
1-r1, r1
rotate <90, 0, 0>
}
box {
<-1, 0, -r1>
<+1, 1, +r1>
}
scale <0.4 + 0.2 * ii, 0.4 + 0.6 * ii, 0.2/r1>
translate <0, 1.2 - 0.2 * ii, 0.2 + ii>
}
intersection {
torus {
1-r1, r1
rotate <90, 0, 0>
}
box {
<-1, 0, -r1>
<+1, -1, +r1>
}
scale <0.4 + 0.2 * ii, 0.4 + 0.2 * ii, 0.2/r1>
translate <0, 1.2 - 0.2 * ii, 0.2 + ii>
}
#local ii = ii + 0.2;
#end
// Rumpf
intersection {
cylinder {
<0, 0, 0> <0, 0, 1> 1
}
box {
<-1, 0, 0>
<+1, 1, 1>
}
scale <0.6, 1, 9.6-1.2>
translate <0, 1, 1.2>
}
intersection {
cylinder {
<0, 0, 0> <0, 0, 1> 1
}
box {
<-1, 0, 0>
<+1, -1, 1>
}
scale <0.6, 0.6, 9.6-1.2>
translate <0, 1, 1.2>
}
// Schnauze
intersection {
sphere {
<0, 0, 0> 1
}
box {
<-1, 0, 0>
<+1, 1, 1>
}
scale <0.6, 1, 4.06>
translate <0, 1, 9.6>
}
intersection {
sphere {
<0, 0, 0> 1
}
box {
<-1, 0, 0>
<+1, -1, 1>
}
scale <0.6, 0.6, 4.06>
translate <0, 1, 9.6>
}
// Impulskanone
difference {
cone {
<0, 1, 13.5> 0.2
<0, 1, 15> 0.1
}
cone {
<0, 1, 13.5> 0.05
<0, 1, 15.01> 0.08
}
}
// Pilotenkuppel
bicubic_patch {
type 0
u_steps 3
v_steps 3
<+0.4, 1.70, 10.2> <+0.4, 1.65, 10.7> <+0.4, 1.55, 11.2> <+0.4, 1.45, 11.7>
<+0.2, 1.95, 9.6> <+0.2, 2.8, 10.2> <+0.2, 2.5, 11.5> <+0.2, 1.55, 12.1>
<-0.2, 1.95, 9.6> <-0.2, 2.8, 10.2> <-0.2, 2.5, 11.5> <-0.2, 1.55, 12.1>
<-0.4, 1.70, 10.2> <-0.4, 1.65, 10.7> <-0.4, 1.55, 11.2> <-0.4, 1.45, 11.7>
texture {
pigment { color red 0.3 green 0.3 blue 0.1}
finish {
ambient 0.0
diffuse 0.1
brilliance 1
reflection 0.2
specular 0.5
roughness 0.001
}
}
}
// leitwerk
triangle {
<0, 2, 1.2> <0, 4.4, 1.0> <0.1, 1.9, 3.9>
}
triangle {
<0, 4.4, 1.0> <0.1, 1.9, 3.9> <0, 2, 4.4>
}
triangle {
<0, 2, 1.2> <0, 4.4, 1.0> <-0.1, 1.9, 3.9>
}
triangle {
<0, 4.4, 1.0> <-0.1, 1.9, 3.9> <0, 2, 4.4>
}
// Tragflächen
object {
ein_mann_jaeger_tf_r
}
object {
ein_mann_jaeger_tf_r
scale <-1, 1, 1>
}
// Landekufen
object {
ein_mann_jaeger_kufe_r
}
object {
ein_mann_jaeger_kufe_r
scale <-1, 1, 1>
}
texture { T_arkonstahl }
}

View File

@ -0,0 +1,56 @@
#include "T_arkonstahl.pov"
#declare T_luft =
texture { pigment { color rgbt 1.0 } }
#declare huelle =
union {
difference {
sphere {
<0, 0, 0> 50
}
sphere {
<0, 0, 0> 49.5
}
box {
<-100, -100, -100>
< 0, 100, 0>
}
texture { T_arkonstahl }
}
difference {
sphere {
<0, 0, 0> 49.5
}
sphere {
<0, 0, 0> 48.5
}
box {
<-100, -100, -100>
< 0, 100, 0>
}
texture {
crackle
texture_map {
[ 0.0 T_arkonstahl ]
[ 0.2 T_arkonstahl ]
[ 0.2 T_luft ]
[ 1.0 T_luft ]
}
}
}
difference {
sphere {
<0, 0, 0> 48.5
}
sphere {
<0, 0, 0> 48
}
box {
<-100, -100, -100>
< 0, 100, 0>
}
texture { T_arkonstahl }
}
}

View File

@ -0,0 +1,66 @@
#include "konturensitz.pov"
#declare hufeisenpult_r =
union {
bicubic_patch {
type 0
u_steps 3
v_steps 3
<0.0, 0.6, 0.3> <0.0, 0.6, 0.4> <0.0, 0.6, 0.4> <0.0, 0.6, 0.5>
<0.4, 0.6, 0.3> <0.4, 0.7, 0.4> <0.4, 0.7, 0.4> <0.4, 0.8, 0.5>
<0.6, 0.6, 0.3> <0.7, 0.7, 0.4> <0.7, 0.7, 0.4> <0.8, 0.8, 0.5>
<0.6, 0.6, 0.2> <0.7, 0.7, 0.2> <0.7, 0.7, 0.2> <0.8, 0.8, 0.2>
}
bicubic_patch {
type 1
u_steps 3
v_steps 3
<0.0, 0.6, 0.5> <0.4, 0.8, 0.5> <0.8, 0.8, 0.5> <0.8, 0.8, 0.2>
<0.3, 0.6, 0.5> <0.5, 0.6, 0.5> <0.8, 0.6, 0.5> <0.8, 0.6, 0.2>
<0.5, 0.3, 0.5> <0.6, 0.3, 0.5> <0.8, 0.3, 0.5> <0.8, 0.3, 0.2>
<0.5, 0.0, 0.5> <0.6, 0.0, 0.5> <0.8, 0.0, 0.5> <0.8, 0.0, 0.2>
}
texture {
pigment { color rgb <0.6, 0.5, 0.9> }
}
}
#declare hufeisenpult =
union {
union {
object {
hufeisenpult_r
}
polygon {
4
<0.6, 0.6, -0.2>
<0.6, 0.6, +0.2>
<0.8, 0.8, +0.2>
<0.8, 0.8, -0.2>
texture {
pigment { color rgb <0.6, 0.5, 0.9> }
}
}
polygon {
4
<0.8, 0.0, -0.2>
<0.8, 0.0, +0.2>
<0.8, 0.8, +0.2>
<0.8, 0.8, -0.2>
texture {
pigment { color rgb <0.6, 0.5, 0.9> }
}
}
object {
hufeisenpult_r
scale <1, 1, -1>
}
}
object {
konturensitz
rotate <0, 180, 0>
translate <0.2, 0, 0>
}
}

View File

@ -0,0 +1,46 @@
#declare konturensitz =
union {
superellipsoid {
<0.25, 0.25>
scale <0.2, 0.03, 0.2>
translate <0, 0.4, 0>
}
superellipsoid {
<0.25, 0.25>
scale <0.03, 0.2, 0.2>
translate <0, -0.2, 0>
rotate <0, 0, -15>
translate <-0.2, 0.40, 0>
}
superellipsoid {
<0.25, 0.25>
scale <0.03, 0.36, 0.2>
translate <0, 0.36, 0>
rotate <0, 0, -15>
translate <0.2, 0.43, 0>
}
superellipsoid {
<0.25, 0.25>
scale <0.03, 0.12, 0.1>
translate <0, 0.12, 0>
rotate <0, 0, +15>
translate <0, 0.72, 0>
rotate <0, 0, -15>
translate <0.2, 0.43, 0>
}
superellipsoid {
<0.25, 0.25>
scale <0.2, 0.03, 0.05>
translate <0, 0.6, 0.25>
}
superellipsoid {
<0.25, 0.25>
scale <0.2, 0.03, 0.05>
translate <0, 0.6, -0.25>
}
texture {
pigment { color rgb <1, 0.5, 0> }
}
}

View File

@ -0,0 +1,280 @@
#include "T_arkonstahl.pov"
#include "T_BlackMetal.pov"
#include "hufeisenpult.pov"
// Leitungsbündel aus 3^lv Leitungen mit Durchmesser r2.
// 45°-Bogen um <+r1,h,0>
#macro lb(h,r1, r2, lv)
intersection {
torus {
r1, r2
}
plane {
<-1, 0, 0> 0
rotate <0, 0, 0>
}
plane {
<0, 0, -1> 0
rotate <0, 22.5-(lv-1), 0>
}
plane {
<0, 0, +1> 0
rotate <0, -(22.5-(lv-1)), 0>
}
pigment {color <0.99/lv, 0.1, 0.5/lv>}
finish {phong 1.0}
translate <0, h, 0>
}
#if (lv > 1)
lb(h+0.55*r2, r1, r2*0.4, lv-1)
lb(h-0.55*r2*sin(radians(30)), r1-0.55*r2*cos(radians(30)), r2*0.4, lv-1)
lb(h-0.55*r2*sin(radians(30)), r1+0.55*r2*cos(radians(30)), r2*0.4, lv-1)
#end
#end
#declare polgeschuetz =
union {
union {
cylinder {
<0, 45.2, 0> <0, 46.2, 0>, 4.5
}
cone {
<0, 46.2, 0>, 4.5
<0, 47.7, 0>, 4.9
}
pigment {
radial
color_map{
[0.1 rgb 0.1 ]
[0.1 White]
}
frequency 16
}
}
cylinder {
<0, 47.7, 0> <0, 50.0, 0>, 5
texture { T_BlackMetal }
}
difference {
sphere { <0, 0, 0>, 4.8 }
merge {
box {
<0, +0.3, -0.6>
<5, 5, +0.6>
}
cylinder {
<0, 0, 0> <0, 5, 0> 0.6
}
cylinder {
<0, +0.3, 0> <5, +0.3, 0> 0.6
}
intersection {
difference {
cylinder {
<0, 0, -1.0> <0, 0, +1.0> 5.0
}
cylinder {
<0, 0, -1.1> <0, 0, +1.1> 4.5
}
}
box {
<-1.0, 0.0, -1.1>
<+5.0, 5.0, +1.1>
}
}
cylinder {
<0, -0.3, 0> <5, -0.3, 0> 0.4
}
rotate <0, 0, 10>
rotate <0, +90, 0>
}
texture { T_arkonstahl }
translate <0, 50, 0>
}
union {
union {
difference {
union {
cone {
<0, 0.3, 0>, 0.6,
<0, 0.3, 10>, 0.5
}
cone {
<0, 0.3, 10> 0.5
<0, 0.3, 9> 0.6
}
cone {
<0, 0.3, 8.5> 0.5
<0, 0.3, 9> 0.6
}
}
cone {
<0, 0.3, 0>, 0.4,
<0, 0.3, 10.1>, 0.4
texture {
pigment {
color rgb 0.1
}
}
}
}
difference {
cone {
<0, -0.3, 0>, 0.4,
<0, -0.3, 8>, 0.4
}
cone {
<0, 0, 0>, 0.6,
<0, 0, 1>, 0.6
rotate <45, 0, 0>
translate <0, -0.3, 8>
}
}
texture {
pigment {color <0.7, 0.7, 1.0>}
finish {phong 1.0}
}
}
#declare i=5.5;
#while (i < 8.5)
torus {
0.5, 0.09
rotate <90, 0, 0>
translate <0, 0.3, i>
texture { T_BlackMetal }
}
#declare i = i + 0.2;
#end
superellipsoid {
<0.25, 0.25>
scale <1, 0.5, 0.5>
translate <0, 0.5, 5>
texture {
pigment {color <0.7, 0.7, 1.0>}
finish {phong 1.0}
}
}
superellipsoid {
<0.25, 0.25>
scale <0.5, 0.5, 0.2>
translate <0.9, 0.7, 5.5>
texture {
pigment {color <0.7, 0.7, 1.0>}
finish {phong 1.0}
}
}
superellipsoid {
<0.25, 0.25>
scale <0.5, 0.5, 0.2>
translate <-0.9, 0.7, 5.5>
texture {
pigment {color <0.7, 0.7, 1.0>}
finish {phong 1.0}
}
}
superellipsoid {
<0.25, 0.25>
scale <0.4, 0.4, 0.1>
translate <0.9, 0.7, 5.7>
texture {
pigment {color <0.3, 0.1, 0.2>}
finish {phong 1.0}
}
}
superellipsoid {
<0.25, 0.25>
scale <0.4, 0.4, 0.1>
translate <-0.9, 0.7, 5.7>
texture {
pigment {color <0.3, 0.1, 0.2>}
finish {phong 1.0}
}
}
rotate <0, 180, 0>
rotate <45, 0, 0>
translate <0, 50, 0>
}
object {
hufeisenpult
translate <-5.3, 0, 0>
rotate <0, -90, 0>
translate <0, 45.2, 0>
}
#local ii = 0;
#while (ii < 6)
union {
torus {
0.2 0.1
rotate <0, 0, 90>
translate <4.5, 45.5, 0>
}
cylinder {
<4.5, 45.5, 0>
<7, 45.5, 0> 0.2
}
torus {
0.2 0.1
rotate <0, 0, 90>
translate <7, 45.5, 0>
}
prism {
linear_sweep
linear_spline
-1 // min y
1 // max y
6 // nr points
<7, 45.2> <7, 46.2> <8, 47.2> <10, 46.9>
<10, 45.2> <7, 45.2>
rotate <-90, 0, 0>
}
intersection {
torus {
9, .8
}
plane {
<0, 0, -1> 0
rotate <0, 10, 0>
}
plane {
<0, 0, +1> 0
rotate <0, -10, 0>
}
pigment {color <0.3, 0.1, 0.5>}
finish {phong 1.0}
translate <0, 46.1, 0>
}
sphere {
<0, 0, 0> .8
pigment {color <0.3, 0.1, 0.5>}
finish {phong 1.0}
translate <9, 46.1, 0>
rotate <0, 10, 0>
}
sphere {
<0, 0, 0> .8
pigment {color <0.3, 0.1, 0.5>}
finish {phong 1.0}
translate <9, 46.1, 0>
rotate <0, -10, 0>
}
#local h = 46.1;
#local r1 = 9;
#local r2 = .8;
#local lv = 3;
lb(h+0.55*r2, r1, r2*0.4, lv-1)
lb(h-0.55*r2*sin(radians(30)), r1-0.55*r2*cos(radians(30)), r2*0.4, lv-1)
lb(h-0.55*r2*sin(radians(30)), r1+0.55*r2*cos(radians(30)), r2*0.4, lv-1)
texture {
pigment {color <0.3, 0.1, 0.2>}
finish {phong 1.0}
}
rotate <0, ii * 45 + 22.5 + 180, 0>
}
#local ii = ii + 1;
#end
}

View File

@ -0,0 +1,6 @@
+MB5
+QR
+A
+HTN
+fp +w640 +h480 +d1
display_gamma = 2.2

View File

@ -0,0 +1,44 @@
#include "T_arkonstahl.pov"
#include "huelle.pov"
#include "deck_20.pov"
#include "deck_19.pov"
#include "deck_18.pov"
#include "deck_17.pov"
#include "deck_16.pov"
#include "deck_15.pov"
#declare schneller_kreuzer =
union {
#if (1)
object {
deck_20
}
#end
object {
deck_19
}
object {
deck_18
}
object {
deck_17
}
object {
deck_16
}
object {
deck_15
}
intersection {
object {
huelle
}
#ifdef (SCHNITT_1)
box {
<-100, -50, -100>
< 100, 15, 100>
}
#end
}
}

1764
pr/schneller_kreuzer/sk.obj Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,124 @@
/*
Sondenhangar:
Randbedingungen:
Platz eingeschränkt durch Hangars f. 1-Mann-Jäger. (16 m breit)
sowie Außenhülle (Schräge ca. <18, 4.8> .. <26, 0>)
1 m breiter Gang in der Mitte.
*/
#macro fach (b1, l1, r2)
#local p000 = <-(b1/2-r2), r2, r2>;
#local p001 = <-(b1/2-r2), r2, l1-r2>;
#local p010 = <-(b1/2-r2), b1-r2 r2>;
#local p011 = <-(b1/2-r2), b1-r2 l1-r2>;
#local p100 = <+(b1/2-r2), r2, r2>;
#local p101 = <+(b1/2-r2), r2, l1-r2>;
#local p110 = <+(b1/2-r2), b1-r2 r2>;
#local p111 = <+(b1/2-r2), b1-r2 l1-r2>;
union {
cylinder { p000, p001, r2 }
cylinder { p010, p011, r2 }
cylinder { p100, p101, r2 }
cylinder { p110, p111, r2 }
cylinder { p000, p010, r2 }
cylinder { p001, p011, r2 }
cylinder { p100, p110, r2 }
cylinder { p101, p111, r2 }
cylinder { p000, p100, r2 }
cylinder { p001, p101, r2 }
cylinder { p010, p110, r2 }
cylinder { p011, p111, r2 }
box { p000 - r2, p000 + r2 }
box { p001 - r2, p001 + r2 }
box { p010 - r2, p010 + r2 }
box { p011 - r2, p011 + r2 }
box { p100 - r2, p100 + r2 }
box { p101 - r2, p101 + r2 }
box { p110 - r2, p110 + r2 }
box { p111 - r2, p111 + r2 }
pigment { color Red }
}
#end
#declare sonden_hangar_r =
union {
#local r1 = 13;
#local b1 = 0.5;
#local l1 = 2.0;
#local r2 = 0.01;
#local da = atan2(b1/2, r1) * 2;
#local aa = atan2(1, 1) + da * 1.5;
#while (r1*cos(aa + da/2) > 8.05)
#debug concat("\naa = ", str(aa, 0, 5))
#local hh = 0;
#while (hh < 4.8 - b1)
object {
fach(b1, l1, r2)
translate <0, hh, r1>
rotate <0, degrees(aa), 0>
}
#local hh = hh + b1;
#end
#local aa = aa + da;
#end
#local r1 = 16;
#local b1 = 0.5;
#local r2 = 0.01;
#local da = atan2(b1/2, r1) * 2;
#local aa = atan2(1, 1) + da * 1.5;
#while (r1*cos(aa + da/2) > 8.05)
#debug concat("\naa = ", str(aa, 0, 5))
#local l1 = 5.0;
#local hh = 0;
#while (hh < 3.1 - b1)
object {
fach(b1, l1, r2)
translate <0, hh, r1>
rotate <0, degrees(aa), 0>
}
#local hh = hh + b1;
#end
#local l1 = 2.5;
#while (hh < 4.2 - b1)
object {
fach(b1, l1, r2)
translate <0, hh, r1>
rotate <0, degrees(aa), 0>
}
#local hh = hh + b1;
#end
#local aa = aa + da;
#end
}
#declare sonden_hangar =
union {
object { sonden_hangar_r }
object {
sonden_hangar_r
matrix <0, 0, 1,
0, 1, 0,
1, 0, 0,
0, 0, 0>
}
}

View File

@ -0,0 +1,68 @@
#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, 200, -100>;
light_source {
CP
color White*0.5
}
camera {
location CP
look_at <-0, 95, -0>
angle 20
}
#include "huelle.pov"
#include "deck_18.pov"
object {
deck_18
translate <0, 60, 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> }
}

View File

@ -0,0 +1,89 @@
#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 = <-0, 3, +40>;
light_source {
CP
color White*0.5
}
camera {
location CP
look_at <-0, 3.0, +12>
angle 40
}
#declare cut1 =
prism {
linear_sweep
linear_spline
12 // min y
30 // max y
8 // nr points
<-1, 0> <-5.1, 1> <-1, 2> <0, 4.6>
<1, 2> <5.1, 1> <1, 0>
<-1, 0>
rotate <-90, 0, 0> // +x -> +x, +z -> +y, +y -> -z
scale <1, 1, -1>
pigment {
color rgbf <0, 1, 1, 0>
}
}
#declare cut2 =
box {
<-5, 0, 12> <5, 4.6, 30>
pigment {
color rgbf <0, 1, 0, 0>
}
}
difference {
cylinder {
<0, 0, 12> <0, 4.8, 12>, 8.05
pigment {
color rgbf <1, 1, 1, 0.3>
}
}
cylinder {
<0, 0, 12> <0, 4.81, 12>, 8.00
pigment {
color rgbf <1, 1, 1, 0.3>
}
}
object {
cut1
}
}
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> }
}

View File

@ -0,0 +1,48 @@
#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, -00>
color White
}
light_source {
<200, 120, -171>
color White*0.5
}
camera {
location <20, 1, 7.5>
look_at <-0, 1, 7.5>
angle 40
orthographic
}
#include "ein-mann-jaeger.pov"
object {
ein_mann_jaeger
}
cylinder {
<0, 0, 0>,
<0, -1, 0>, 1000
pigment {
radial
color_map{
[0.1 rgb 0.1 ]
[0.1 White]
}
frequency 16
}
}

View File

@ -0,0 +1,47 @@
#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
}
light_source {
<-200, 120, -171>
color White*0.5
}
camera {
location <+005, 10, +0>
look_at <-0, 0, -0>
angle 20
}
#include "hufeisenpult.pov"
object {
hufeisenpult
}
cylinder {
<0, 0, 0>,
<0, -1, 0>, 1000
pigment {
radial
color_map{
[0.1 rgb 0.1 ]
[0.1 White]
}
frequency 16
}
}

View File

@ -0,0 +1,47 @@
#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, -00>
color White
}
light_source {
<-200, 120, -171>
color White*0.5
}
camera {
location <-000, 2, -10>
look_at <-0, 0, -0>
angle 20
}
#include "konturensitz.pov"
object {
konturensitz
}
cylinder {
<0, 0, 0>,
<0, -1, 0>, 1000
pigment {
radial
color_map{
[0.1 rgb 0.1 ]
[0.1 White]
}
frequency 16
}
}

View File

@ -0,0 +1,64 @@
#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, -00>
color White
}
light_source {
<-200, 120, -171>
color White*0.5
}
camera {
location <+020, 146, +10>
look_at <-0, 46, 10>
angle 30
}
#include "polgeschuetz.pov"
object {
polgeschuetz
}
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> }
}

View File

@ -0,0 +1,50 @@
#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 = <-150, 200, -150>;
light_source {
CP
color White*0.5
}
camera {
location CP
look_at <-0, 60, -0>
angle 32
}
#include "schneller_kreuzer.pov"
object {
schneller_kreuzer
translate <0, 60, 0>
}
cylinder {
<0, 0, 0>,
<0, -1, 0>, 1000
pigment {
radial
color_map{
[0.1 rgb 0.1 ]
[0.1 White]
}
frequency 16
}
}

View File

@ -0,0 +1,67 @@
#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 = <5, 51.7, 10>;
light_source {
CP
color White*0.5
}
camera {
location CP
look_at <11, 1.7, 11>
angle 40
}
#include "sonden_hangar.pov"
object {
sonden_hangar
translate <0, 0, 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> }
}

View File

@ -0,0 +1,69 @@
#include "colors.inc"
#include "shapes.inc"
#include "textures.inc"
#include "metals.inc"
#include "huelle.pov"
#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 = <-0, 203, +40>;
light_source {
CP
color White*0.5
}
camera {
location CP
look_at <-0, 43.0, +12>
angle 40
}
union {
object { huelle }
// Ausschnitt f. Hangartore
superellipsoid {
<0.25 0.25>
scale <8.05, 2.4, 40>
translate <0, 40+2.4, 0>
pigment {
color rgb <1, 1, 0>
}
}
superellipsoid {
<0.25 0.25>
scale <8.05, 2.4, 40>
translate <0, 40+2.4, 0>
rotate <0, 90, 0>
pigment {
color rgb <1, 1, 0>
}
}
}
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> }
}

View File

@ -0,0 +1,19 @@
#declare treibstofftank =
union {
sphere {
<0, 3.8, 0>
0.5
}
cylinder {
<0, 3.8, 0>
<0, 0.5, 0>
0.5
}
sphere {
<0, 0.5, 0>
0.5
}
pigment {
rgb <1, 0.5, 0>
}
}

View File

@ -0,0 +1,54 @@
%TGIF 4.1.25
state(0,37,100.000,0,0,0,16,1,9,1,1,0,0,0,0,1,0,'Courier',0,80640,0,0,1,10,0,0,1,1,0,16,0,0,1,1,1,1,1088,1408,1,0,2880,0).
%
% @(#)$Header$
% %W%
%
unit("1 pixel/pixel").
color_info(11,65535,0,[
"magenta", 65535, 0, 65535, 65535, 0, 65535, 1,
"red", 65535, 0, 0, 65535, 0, 0, 1,
"green", 0, 65535, 0, 0, 65535, 0, 1,
"blue", 0, 0, 65535, 0, 0, 65535, 1,
"yellow", 65535, 65535, 0, 65535, 65535, 0, 1,
"pink", 65535, 49931, 53052, 65535, 49344, 52171, 1,
"cyan", 0, 65535, 65535, 0, 65535, 65535, 1,
"CadetBlue", 22885, 40569, 42649, 24415, 40606, 41120, 1,
"white", 65535, 65535, 65535, 65535, 65535, 65535, 1,
"black", 0, 0, 0, 0, 0, 0, 1,
"DarkSlateGray", 10402, 19764, 18724, 12079, 20303, 20303, 1
]).
script_frac("0.6").
fg_bg_colors('black','white').
page(1,"",1,'').
oval('black','',200,200,500,500,0,1,1,0,0,0,0,0,0,'1',0,[
]).
oval('black','',100,100,600,600,0,1,1,1,0,0,0,0,0,'1',0,[
]).
poly('black','',2,[
330,100,330,200],1,1,1,2,0,0,0,0,0,0,0,'1',0,0,
"0","",[
0,8,3,0,'8','3','0'],[0,8,3,0,'8','3','0'],[
]).
poly('black','',2,[
370,200,370,100],0,1,1,3,0,0,0,0,0,0,0,'1',0,0,
"0","",[
0,8,3,0,'8','3','0'],[0,8,3,0,'8','3','0'],[
]).
poly('black','',2,[
100,330,200,330],0,1,1,4,0,0,0,0,0,0,0,'1',0,0,
"0","",[
0,8,3,0,'8','3','0'],[0,8,3,0,'8','3','0'],[
]).
poly('black','',2,[
100,370,200,370],0,1,1,5,0,0,0,0,0,0,0,'1',0,0,
"0","",[
0,8,3,0,'8','3','0'],[0,8,3,0,'8','3','0'],[
]).
poly('black','',2,[
150,150,250,250],0,1,1,6,0,0,0,0,0,0,0,'1',0,0,
"0","",[
0,8,3,0,'8','3','0'],[0,8,3,0,'8','3','0'],[
]).
oval('black','',50,50,650,650,0,1,1,7,0,0,0,0,0,'1',0,[
]).

30
tests/.vimrc Normal file
View File

@ -0,0 +1,30 @@
version 5.0
set nocompatible
let cpo_save=&cpo
set cpo=B
map! <xHome> <Home>
map! <xEnd> <End>
map! <S-xF4> <S-F4>
map! <S-xF3> <S-F3>
map! <S-xF2> <S-F2>
map! <S-xF1> <S-F1>
map! <xF4> <F4>
map! <xF3> <F3>
map! <xF2> <F2>
map! <xF1> <F1>
map <xHome> <Home>
map <xEnd> <End>
map <S-xF4> <S-F4>
map <S-xF3> <S-F3>
map <S-xF2> <S-F2>
map <S-xF1> <S-F1>
map <xF4> <F4>
map <xF3> <F3>
map <xF2> <F2>
map <xF1> <F1>
let &cpo=cpo_save
unlet cpo_save
set autoindent
set exrc
set number
set ruler

22
tests/GNUmakefile Normal file
View File

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

6
tests/povray.ini Normal file
View File

@ -0,0 +1,6 @@
+A
+MB5
+QR
+HTN
+fp +w400 +h300 +d1
display_gamma = 2.2

81
tests/rotate.pov Normal file
View File

@ -0,0 +1,81 @@
#include "colors.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 {
<+200, 200, -00>
color White
}
light_source {
<-200, 120, -171>
color White*0.5
}
camera {
location <+020, 46, +10>
look_at <-0, 0, 0>
angle 30
}
// rotate around x
#local aa = 0;
#while (aa <= 45)
sphere {
<0, 0, 10> aa/40 + 1
pigment { color rgb <1, 0.5, 0.5> }
rotate <aa, 0, 0>
}
#local aa = aa + 1;
#end
// rotate around y
#local aa = 0;
#while (aa <= 45)
sphere {
<10, 0, 0> aa/40 + 1
pigment { color rgb <0.5, 1.0, 0.5> }
rotate <0, aa, 0>
}
#local aa = aa + 1;
#end
// rotate around z
#local aa = 0;
#while (aa <= 45)
sphere {
<0, 10, 0> aa/40 + 1
pigment { color rgb <0.5, 0.5, 1> }
rotate <0, 0, aa>
}
#local aa = aa + 1;
#end
// background
cylinder {
<0, 1, 0>,
<0, -1, 0>, 10
pigment {
color rgbf <1, 1, 1, 0.8>
}
}
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> }
}