// Last edited on 2020-03-25 16:57:11 by jstolfi // Woodworking project: drawer chest(s) to put under Fercar bench. #version 3.7; global_settings{ max_trace_level 6 assumed_gamma 1.0 } background{ color rgb < 0.75, 0.80, 0.85 > } // ---------------------------------------------------------------------- // THING TO SHOW #include "js_texture_macros.inc" #include "round_funcs.inc" #include "write_pieces.inc" #fopen pieces "out/pieces.txt" write // For {write_pieces}. #include "sawhorse.inc" #include "sawhorse_cube.inc" #local is_open = 1; // True to show it in open position. #local show_pair = 1; // True to show two horses. #declare view = 0; // Top right from back. // #declare view = 8; // Top right edge middle from back. #declare xplode = 0.0; // 250.0; // Explosion distance (global). #local thing = object{ sawhorse( "SH", is_open, show_pair ) } // #local thing = object{ sawhorse_cube( 500 ) } // ---------------------------------------------------------------------- #include "camlight.inc" #include "standard_view.inc" standard_view(thing, true, true, view) #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera, z, intens_luz)