//-------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------// #declare Stone_Texture = // Column kernel stone texture texture { T_Grnt16 normal { agate 0.35 scale 0.05} finish { phong 0.2 } scale 1 } // end of texture #declare Column_Kernel_Texture = // with vertical subdivisions texture { gradient<0,1,0> scale <1,0.67,1> turbulence 0.01 //------------------- texture_map{ [0.00 Stone_Texture ] [0.001 pigment{ color rgb <1,1,1>*0.1} ] [0.005 pigment{ color rgb <1,1,1>*0.1} ] [0.006 Stone_Texture ] [1.00 Stone_Texture ] } // end of texture_map } // end of texture --------------------------------------------------- //-------------------------------------------------------------------------------------// #include "Column_Kernel_01.inc" //-------------------------------------------------------------------------------------// object{ Column_Kernel_01 ( 2.00, // Column_Total_Height, // 16, // Column_Subdivision, // integer ~ 16 0.30, // Column_Base_Radius, 0.20 // Column_Top_Radius, ) //--------------------------------- texture { Column_Kernel_Texture} scale<1,1,1> rotate< 0,0,0> translate<0,0,0> } // end of "Column_01(...) --------------------------------------- //-------------------------------------------------------------------------------------// //---------------------------------------------------------------------------------------