// Last edited on 2024-05-01 21:44:45 by stolfi global_settings{ max_trace_level 4 } #declare empty = sphere{ <0,0,0>, 0 texture{ pigment{ color rgb < 0,0,0 > } } } background{ color rgb <1, 1, 1> } #include "colors_basic.inc" #declare rad_arrow = 0.04; #macro garrow(p, dir, tx) #local rad = rad_arrow; #local len = 2.0; object{ axis(rad,len,dir) translate p texture{ tx } } #end // Surface texture: #declare txs = texture{ pigment{ color rgb < 1.000, 0.900, 0.300 > } finish{ diffuse 0.9 ambient 0.1 } } // Gauge texture: #declare txg = texture{ pigment{ color rgb < 0.950, 0.950, 0.950 > } finish{ diffuse 0.9 ambient 0.1 } } // Arrows texture: #declare txv = texture{ pigment{ color rgb < 0.300, 0.700, 1.000 > } finish{ diffuse 0.9 ambient 0.1 } } // Floor texture: #declare txf = texture{ pigment{ checker color rgb < 0.900, 0.900, 0.900 >, color rgb < 0.800, 0.800, 0.800 > } finish{ diffuse 0.9 ambient 0.1 } } #include "axes.inc" // object{ axes(0.05, 7.0) } // box{ < -20, -20, -0.1 >, < +20, +20, -0.02 > texture{ txf } } #declare scene_center = < 0, 0, 8 >; #declare scene_radius = 20.00; #declare cam_dir = < 5, 2, 2 >; #declare cam_dist = 7*scene_radius; // #declare cam_dir = < 0, 10, 7 >; // #declare cam_dist = 100*scene_radius; #include "camlight.inc"