smooth_triangle{ ...} - une forme de triangle plat shape
avec vecteurs normales de surface modifiés pour simuler
un surface lisse et pour cacher des parties anguleuses
entre les triangles individuels di un réseau (mesh) de triangles.
// -------------------------------------------
smooth_triangle{
// vertex vector, surface normal vector
< 0.00, 0.00, 0.00>,<-0.55, -0.55, -1.00>,
< 3.00, 0.00, 0.00>,<-0.75, 0.75, -1.00>,
< 0.00, 2.00, 0.00>,< 0.75, -0.75, -1.00>
texture{ pigment{ color rgb<1,1,1>}
finish { phong 1}
} // end of texture
scale <1,1,1>
rotate<0,0,0>
translate<0,0,0>
} // end of smooth_triangle -----
Note: "triangle" and "smooth_triangle" are used normally to build all those objects
which are too complex to be made by built-in shapes. They are usually not created by hand
but are converted from other files (i.e. files which use HF_macros with file output)
or generated by utilities(i.e. POV_Tree + TOM_TREE for trees, Poser + converter PoseRay for
human and animal creatures etc. )
See also: mesh and mesh2.