// 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 ) //-------------------------------------------------------------------------- // default textures --------------------------------------------------------------------- #ifndef( NAME_Texture ) #declare NAME_Texture = texture { pigment{ color rgb<1,1,1> } finish { phong 0.1} } // end of texture #end //--------------------------------------------------------------------------------------- #local D = 0.00001; //--------------------------------------------------------------------------------------- // macro items: union{ } // end union // -------------------------------------------------------------------------------------- #end// of macro ------------------------------------------------------///// end of macro //--------------------------------------------------------------------/////////////////// //--------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------- // example: /* //------------------------------------------------------------------- optional 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 ) //----------------------------------------------------------------// 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