//Last edited on 2004-01-06 03:22:39 by stolfi #declare empty = object{ sphere{ <0,0,0>, 0 } } #declare highlight_color = color rgb <1.00, 1.00, 1.00> // Name of button_flag_file, button_label_file: #declare button_flag_file = "flags/brazil.gif" #declare button_label_file = "button-label-port-1.inc" // Definition of button shape: #declare button_shape_HX = 1.0 #declare button_shape_HY = 0.25 #declare button_shape_HZ = 2.0/3.0 #declare button_shape_cap_HY = 0.15 #declare button_max_disp_Y = 0.0 #declare button_min_disp_Y = -0.30 #declare button_hole_clearance = 0.05 #include "superellipses.inc" #declare button_cyl = object{ super_cyl } #declare button_ball = object{ super_ball } #include "button-shape-simple.inc" // Definitions of button_relief, button_dugout: // #include button_label_file #declare button_relief_HY = 0.0 #declare button_relief = object{ empty } #declare button_dugout = object{ empty } // Definition of button_plunger_texture: #include "button-flag-texture-1.inc" #declare button_plunger_texture = texture{ button_texture_flag } // Definition of button plunger: #include "button-plunger-2.inc" // Definition of button_hole, button_frame: #include "button-hole-simple-1.inc" // Definition of button_wall_texture, button_frame_texture: #declare matte_color = color bgColor #include "textures/matte.inc" #declare button_wall_texture = texture{ texture_matte } #declare button_frame_texture = texture{ texture_matte } // Definition of button_wall_hole_frame: #include "button-wall-hole-frame.inc" // Definitions of button_in, button_out #include "button-in-hole-1.inc" // object{ button_out } object{ button_in } // sphere{ < 0, 0, 0 >, 1 // texture{ button_plunger_texture } // scale < 1, 1, 2/3 > // } #declare img_aspect = 3/2 #declare win_width = 2.5 #declare win_height = win_width / img_aspect #declare win_center_X = 00.00 #declare win_center_Y = 00.00 #declare win_center_Z = 00.00 #declare camDX = 000.00 #declare camDY = +50.00 #declare camDZ = 000.00 #declare skyX = 0 #declare skyY = 0 #declare skyZ = 1