// Autor : Jean Montambeault // jrm@videotron.ca // date : 23 août 1999 /***********************************************************************************************************************************/ /* MINIMAL SETTING */ /***********************************************************************************************************************************/ global_settings { assumed_gamma 1.0} #include "colors.inc" #include "tablea.mcr" #include "lighting.mcr" #include "cameraA.mcr" background {White} /***********************************************************************************************************************************/ /* LIGHTNING */ /***********************************************************************************************************************************/ lighting () /***********************************************************************************************************************************/ /* VARIABLES ALLOWING CONTROL OVER THE TABLE CARACTERISTICS */ /***********************************************************************************************************************************/ #declare X_Top_size = 90; #declare Z_Top_size = 40; #declare Top_Thickness = 10; #declare TableHeight = 22; #declare LegLength = 10; // along the X #declare LegWidth = 1; // along the Z #declare BeltThickness = .75; // The belt is made of the support pieces // between the legs. #declare BeltHeighte = 4; #declare RecessAlongX = 14; #declare RecessAlongZ = 2; #declare BeltLengthAlongX = X_Top_size - ((2*RecessAlongX) + (2*LegLength)); #declare BeltLengthAlongZ = Z_Top_size - ((2*RecessAlongZ) + (2*LegWidth)); Table (X_Top_size, Z_Top_size, Top_Thickness, TableHeight, LegLength, LegWidth, BeltThickness, BeltHeighte, RecessAlongX, RecessAlongZ) /*************************************************************************************************************************************/ /* VARIABLES ALLOWING CONTROL OVER THE POSITION OF THE CAMERA */ /*************************************************************************************************************************************/ #declare Distance = 90; #declare Azimuth = 55; // angle of the projection of the vector, in degrees, from the X axis on the XZ plane #declare Altitude = 23; // angle in degrees of the vector from the XZ plane : -90 < Altitude < 90 is necessary. #declare Look_At = <0,0, 0>; /*************************************************************************************************************************************/ /* CAMERA MACRO CALL */ /*************************************************************************************************************************************/ Camera (Distance, Azimuth, Altitude, Look_At) /*************************************************************************************************************************************/