// POVRAY description of button with national flag #include "ceiling-lights-8.inc" #include "background.inc" #declare empty = object{ sphere{ <0,0,0>, 0 } } #declare highlight_color = color rgb <1.00, 1.00, 1.00> // Name of button_texture_file, button_label_file: #include "button-parameters.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.50 #declare button_hole_clearance = 0.075 #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 // Definition of button_plunger_texture: #include "button-texture-ppm.inc" #declare button_plunger_texture = texture{ button_texture } // Definition of button plunger: #include "button-plunger-2.inc" // Definition of button_hole, button_frame: #include "button-hole-simple.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.inc" #declare img_aspect = 1 #declare win_width = 2.8 #declare win_height = win_width / img_aspect #declare win_center_X = 00.00 #declare win_center_Y = 00.00 #declare win_center_Z = -0.50 #declare camDX = 000.00 #declare camDY = +50.00 #declare camDZ = 000.00 #declare skyX = 0 #declare skyY = 0 #declare skyZ = 1