1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
// 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
|