/* Magisches Quadrat der Ordnung 3 : Mamortafel auf Jade Copyright (c) 1998 by Jan Theofel & Martin Trautmann */ // ---------- Globale Einstellungen ------------------------------------------------------------------------------------- global_settings { adc_bailout 0.003922 ambient_light <1.0,1.0,1.0> assumed_gamma 1.8 hf_gray_16 off irid_wavelength <0.25,0.18,0.14> max_intersections 64 max_trace_level 10 number_of_waves 10 radiosity { brightness 3.3 count 100 distance_maximum 0.0 error_bound 0.4 gray_threshold 0.5 low_error_factor 0.8 minimum_reuse 0.015 nearest_count 6 recursion_limit 1 } } background { color <0.000,0.000,0.000> } // ---------- Kamera setzen --------------------------------------------------------------------------------------------- camera { location <10.627, -0.123, 8.835> direction <0.0, 0.0, 2.5650> sky <0.0, 0.0, 1.0> up <0.0, 0.0, 1.0> right <1.33333, 0.0, 0.0> look_at <0.000, 0.000, 1.000> } // ---------- Lichtquellen ---------------------------------------------------------------------------------------------- light_source { <5.765, -2.892, 6.904> color rgb <1.000, 1.000, 1.000> spotlight point_at <5.275, -2.506, 6.123> falloff 27.7 radius 21.0 } light_source { <-3.695, 0.000, 7.753> color rgb <2.516, 2.516, 2.516> spotlight point_at <-3.281, 0.000, 6.842> falloff 29.0 radius 23.7 } // ---------- Texturen definieren --------------------------------------------------------------------------------------- #declare White_Marble1 = texture { pigment { marble color_map { [ 0.000 color rgb<0.900, 0.900, 0.900> ] [ 0.851 color rgb<0.500, 0.500, 0.500> ] [ 1.000 color rgb<0.200, 0.200, 0.200> ] } turbulence 3.000 scale <0.6000, 0.5000, 0.6000> } } #declare Jade1 = texture { pigment { marble color_map { [ 0.000 color rgb<0.100, 0.600, 0.100> ] [ 0.800 color rgb<0.000, 0.300, 0.000> ] [ 0.800 color rgb<0.100, 0.600, 0.100> ] [ 1.000 color rgb<0.000, 0.200, 0.000> ] } turbulence 1.800 } } // --------- Tafel definieren ------------------------------------------------------------------------------------------- #declare TraSwp001_Raw = union { smooth_triangle { <-1.00000, -1.00000, 1.00000>, <0.00000, -1.00000, 1.00000>, <1.10000, -1.10000, 0.90000>, <0.00000, -1.00000, 1.00000>, <1.00000, -1.00000, 1.00000>, <0.00000, -1.00000, 1.00000> } smooth_triangle { <-1.00000, -1.00000, 1.00000>, <0.00000, -1.00000, 1.00000>, <-1.10000, -1.10000, 0.90000>, <0.00000, -1.00000, 1.00000>, <1.10000, -1.10000, 0.90000>, <0.00000, -1.00000, 1.00000> } smooth_triangle { <-1.00000, -1.00000, 0.00000>, <0.00000, -1.00000, -1.00000>, <1.00000, -1.00000, 0.00000>, <0.00000, -1.00000, -1.00000>, <1.10000, -1.10000, 0.10000>, <0.00000, -1.00000, -1.00000> } smooth_triangle { <-1.00000, -1.00000, 0.00000>, <0.00000, -1.00000, -1.00000>, <1.10000, -1.10000, 0.10000>, <0.00000, -1.00000, -1.00000>, <-1.10000, -1.10000, 0.10000>, <0.00000, -1.00000, -1.00000> } smooth_triangle { <-1.10000, -1.10000, 0.90000>, <0.00000, -1.00000, 0.00000>, <1.10000, -1.10000, 0.10000>, <0.00000, -1.00000, 0.00000>, <1.10000, -1.10000, 0.90000>, <0.00000, -1.00000, 0.00000> } smooth_triangle { <-1.10000, -1.10000, 0.90000>, <0.00000, -1.00000, 0.00000>, <-1.10000, -1.10000, 0.10000>, <0.00000, -1.00000, 0.00000>, <1.10000, -1.10000, 0.10000>, <0.00000, -1.00000, 0.00000> } smooth_triangle { <1.00000, -1.00000, 1.00000>, <1.00000, 0.00000, 1.00000>, <1.10000, 1.10000, 0.90000>, <1.00000, 0.00000, 1.00000>, <1.00000, 1.00000, 1.00000>, <1.00000, 0.00000, 1.00000> } smooth_triangle { <1.00000, -1.00000, 1.00000>, <1.00000, 0.00000, 1.00000>, <1.10000, -1.10000, 0.90000>, <1.00000, 0.00000, 1.00000>, <1.10000, 1.10000, 0.90000>, <1.00000, 0.00000, 1.00000> } smooth_triangle { <1.00000, -1.00000, 0.00000>, <1.00000, 0.00000, -1.00000>, <1.00000, 1.00000, 0.00000>, <1.00000, 0.00000, -1.00000>, <1.10000, 1.10000, 0.10000>, <1.00000, 0.00000, -1.00000> } smooth_triangle { <1.00000, -1.00000, 0.00000>, <1.00000, 0.00000, -1.00000>, <1.10000, 1.10000, 0.10000>, <1.00000, 0.00000, -1.00000>, <1.10000, -1.10000, 0.10000>, <1.00000, 0.00000, -1.00000> } smooth_triangle { <1.10000, -1.10000, 0.90000>, <1.00000, 0.00000, 0.00000>, <1.10000, 1.10000, 0.10000>, <1.00000, 0.00000, 0.00000>, <1.10000, 1.10000, 0.90000>, <1.00000, 0.00000, 0.00000> } smooth_triangle { <1.10000, -1.10000, 0.90000>, <1.00000, 0.00000, 0.00000>, <1.10000, -1.10000, 0.10000>, <1.00000, 0.00000, 0.00000>, <1.10000, 1.10000, 0.10000>, <1.00000, 0.00000, 0.00000> } smooth_triangle { <1.00000, 1.00000, 1.00000>, <0.00000, 1.00000, 1.00000>, <-1.10000, 1.10000, 0.90000>, <0.00000, 1.00000, 1.00000>, <-1.00000, 1.00000, 1.00000>, <0.00000, 1.00000, 1.00000> } smooth_triangle { <1.00000, 1.00000, 1.00000>, <0.00000, 1.00000, 1.00000>, <1.10000, 1.10000, 0.90000>, <0.00000, 1.00000, 1.00000>, <-1.10000, 1.10000, 0.90000>, <0.00000, 1.00000, 1.00000> } smooth_triangle { <1.00000, 1.00000, 0.00000>, <0.00000, 1.00000, -1.00000>, <-1.00000, 1.00000, 0.00000>, <0.00000, 1.00000, -1.00000>, <-1.10000, 1.10000, 0.10000>, <0.00000, 1.00000, -1.00000> } smooth_triangle { <1.00000, 1.00000, 0.00000>, <0.00000, 1.00000, -1.00000>, <-1.10000, 1.10000, 0.10000>, <0.00000, 1.00000, -1.00000>, <1.10000, 1.10000, 0.10000>, <0.00000, 1.00000, -1.00000> } smooth_triangle { <1.10000, 1.10000, 0.90000>, <0.00000, 1.00000, 0.00000>, <-1.10000, 1.10000, 0.10000>, <0.00000, 1.00000, 0.00000>, <-1.10000, 1.10000, 0.90000>, <0.00000, 1.00000, 0.00000> } smooth_triangle { <1.10000, 1.10000, 0.90000>, <0.00000, 1.00000, 0.00000>, <1.10000, 1.10000, 0.10000>, <0.00000, 1.00000, 0.00000>, <-1.10000, 1.10000, 0.10000>, <0.00000, 1.00000, 0.00000> } smooth_triangle { <-1.00000, 1.00000, 1.00000>, <-1.00000, 0.00000, 1.00000>, <-1.10000, -1.10000, 0.90000>, <-1.00000, 0.00000, 1.00000>, <-1.00000, -1.00000, 1.00000>, <-1.00000, 0.00000, 1.00000> } smooth_triangle { <-1.00000, 1.00000, 1.00000>, <-1.00000, 0.00000, 1.00000>, <-1.10000, 1.10000, 0.90000>, <-1.00000, 0.00000, 1.00000>, <-1.10000, -1.10000, 0.90000>, <-1.00000, 0.00000, 1.00000> } smooth_triangle { <-1.00000, 1.00000, 0.00000>, <-1.00000, 0.00000, -1.00000>, <-1.00000, -1.00000, 0.00000>, <-1.00000, 0.00000, -1.00000>, <-1.10000, -1.10000, 0.10000>, <-1.00000, 0.00000, -1.00000> } smooth_triangle { <-1.00000, 1.00000, 0.00000>, <-1.00000, 0.00000, -1.00000>, <-1.10000, -1.10000, 0.10000>, <-1.00000, 0.00000, -1.00000>, <-1.10000, 1.10000, 0.10000>, <-1.00000, 0.00000, -1.00000> } smooth_triangle { <-1.10000, 1.10000, 0.90000>, <-1.00000, 0.00000, 0.00000>, <-1.10000, -1.10000, 0.10000>, <-1.00000, 0.00000, 0.00000>, <-1.10000, -1.10000, 0.90000>, <-1.00000, 0.00000, 0.00000> } smooth_triangle { <-1.10000, 1.10000, 0.90000>, <-1.00000, 0.00000, 0.00000>, <-1.10000, 1.10000, 0.10000>, <-1.00000, 0.00000, 0.00000>, <-1.10000, -1.10000, 0.10000>, <-1.00000, 0.00000, 0.00000> } triangle { < -1.00000, -1.00000, 1.00000>, < 1.00000, -1.00000, 1.00000>, < 1.00000, 1.00000, 1.00000> } triangle { < -1.00000, -1.00000, 0.00000>, < 1.00000, -1.00000, 0.00000>, < 1.00000, 1.00000, 0.00000> } triangle { < -1.00000, -1.00000, 1.00000>, < 1.00000, 1.00000, 1.00000>, < -1.00000, 1.00000, 1.00000> } triangle { < -1.00000, -1.00000, 0.00000>, < 1.00000, 1.00000, 0.00000>, < -1.00000, 1.00000, 0.00000> } } // --------- Objekte setzen --------------------------------------------------------------------------------------------- plane { // Jade-Ebene z,0 texture { Jade1 } } /* #declare n=3 // Kantenlaenge #declare posx1=1 // Startposition der 1 #declare posx2=0 #declare m1x1=1 // move1 #declare m1x2=2 #declare m2x1=2 // move2 #declare m2x2=2 difference{ // Mamorpalatte als Differenz zwischen TraSwp001 und den Zahlen object { TraSwp001_Raw texture { White_Marble1 } scale <2.0, 2.0, 0.5> } #declare w=0 #while(w scale <1.5,1,1> translate } #declare w=w+1 #end } */ object { TraSwp001_Raw texture { White_Marble1 } } // --------- Ende der Datei ---------------------------------------------------------------------------------------------