#include "treibstofftank.pov" #include "speicherbank.pov" #include "kraftwerk.pov" #local Z = -25; #declare deck_06 = union { #if (1) intersection { union { difference { object { huelle } // Ausschnitte } } box { <-50, Z+5, -50> < 50, Z, 50> } } #end difference { cone { <0, (Z+0.2), 0> sqrt(pow(49,2)-pow((Z+0.2),2)), <0, (Z-0.2), 0> sqrt(pow(49,2)-pow((Z-0.2),2)) texture { T_arkonstahl } } #if (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, Z, 0> } #end // Ausschnitt für Speicherbänke torus { 10, 5 translate <0, Z, 0> } // Ausschnitte für Kraftwerke #local rr = 24; #local da = 30; #local aa = da/2; #while (aa <= 360 - da) #local ss = 1; #if (ss) object { cone { <0, -1, 0>, 2.5 <0, +1, 0>, 2.5 } translate rotate <0, aa, 0> } #end #local aa = aa + da; #end } #if (1) // Treibstofftanks #local rr = 30.5; #while (rr < 38.0) #local da = degrees(asin(0.5/rr))*2; #local da = 360 / int(360 / da); #local aa = 0; #while (aa <= 360 - da) #local ss = 1; #if (SCHNITT_1) #local pp = vrotate(, <0, aa, 0>); #if (pp.x < 0 & pp.z < 0) #local ss = 0; #end #end #if (ss) object { treibstofftank translate rotate <0, aa, 0> } #end #local aa = aa + da; #end #local rr = rr + 1.0; #end #end }