// POV-Ray 3.7 include file "NAME.inc" // author, date: //--------------------------------------------------------------------------------------- #ifndef( NAME_Inc_Temp) #declare NAME_Inc_Temp = version; #version 3.7; //--------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------- /* #ifndef( Colors_Inc_Temp) #include "colors.inc" #end #ifndef( Textures_Inc_Temp) #include "textures.inc" #end #ifndef( Shapes_Inc_Temp) #include "shapes.inc" #end #ifndef( Shapes2_Inc_Temp) #include "shapes2.inc" #end */ //--------------------------------------------------------------------/////////////////// //-------------------------------------------------------------------------- macro NAME #macro NAME( VALUE, // meaning of VALUE ) //-------------------------------------------------------------------------- //--------------------------------------------------------------------------------------- #local D = 0.00001; //--------------------------------------------------------------------------------------- // macro items // -------------------------------------------------------------------------------------- #end// of macro ------------------------------------------------------///// end of macro //--------------------------------------------------------------------/////////////////// //--------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------- // example: /* //----------------------------------------------------------------------------- textures #declare NAME_Texture = texture { pigment{ color rgb<1,1,1> } finish { phong 0.1} } // end of texture //-------------------------------------------------------------------------------------// #include "NAME.inc" //-------------------------------------------------------------------------------------// object{ NAME( VALUE, // meaning of VALUE ) //----------------------------------------------------------------// texture { NAME_Texture } scale <1,1,1>*1 rotate<0,0,0> translate<0.00,0.00, 0.00> } //------------------------ //-------------------------------------------------------------------------------------// //--------------------------------------------------------------------------------------- */ #version NAME_Inc_Temp; #end //------------------------------------------------------------------- end of include file