// Vertical format poster - root description file // Last edited on 2019-05-27 18:21:20 by stolfilocal // General stuff #version 3.7; global_settings{ max_trace_level 4 assumed_gamma 1.0 } #declare empty = sphere{ <0,0,0>, 0 texture{ pigment{ color rgb < 0,0,0 > } } } // STYLES AND SCENE COMPONENTS: #include "textures.inc" #include "font_sampler.inc" #include "font_list.inc" #include "axes.inc" #declare scene = object{ font_sampler(font_list,font_list_N) // change coordinate system to X to the left, Z up: rotate 90*x rotate 90*z } #local scene_ctr = 0.5*(max_extent(scene) + min_extent(scene)); #local scene_dims = max_extent(scene) - min_extent(scene); #local scene_rad = 0.5*vlength(scene_dims); // CAMERA #include "lamp_array.inc" #include "camlight.inc" #local cam_ctr = <0,0,0>; object{ scene translate (cam_ctr - scene_ctr) } #local cam_rad = 0.80*scene_rad; #local cam_dir = < 1,0,0 >; #local cam_dist = 8*cam_rad; #debug concat("!! cam_dir = <", str(cam_dir.x,4,3), ",", str(cam_dir.y,4,3), ",", str(cam_dir.z,4,3), ">\n") #debug concat("!! cam_rad = ", str(cam_rad,4,3), "\n") #debug concat("!! cam_dist = ", str(cam_dist,4,3), "\n") camlight(cam_ctr, cam_rad, cam_dir, cam_dist, z, 1.3, 3,2.0,false) // AXES // #include "axes.inc" // object{ axes( 0.45*scene_rad, 0.45*scene_rad, 0.45*scene_rad ) }