Inherits DD::Image::Primitive.
Inherited by DD::Image::Mesh, DD::Image::Polygon, DD::Image::PolyMesh, and DD::Image::Triangle.
Public Member Functions | |
PolygonPrimitive (unsigned vertices=0) | |
virtual void | tessellate (Scene *, PrimitiveContext *) const |
virtual void | tessellateFace (int faceIndex, Scene *scene, PrimitiveContext *ptx, VertexContext *vtx) const |
Base class for a polygon-based primitive with generic tessellation functions to turn the primitive into renderable primitives. All polygon-based primitives tessellate to DD::Image::rTriangles.