class Paint_Options
This class provides options for the back to front sorting
of geometry that is passed in, allowing for multiple layers of transparent
objects.
See Also
For more information see the section "Painter
Renderers" in chapter 2, "Heidi Architecture," and paint_3d_items.cpp.
Access Methods
spatial_subdivision
Subdivides the scene into
increments with fewer objects.
transparent_only
Determines whether you capture all of the objects or
just the transparent ones.
z_sort_only
Sorts by Z coordinate
from back to front.
Constructor / Destructor
Paint_Options::Paint_Options
Purpose
Constructs a Paint_Options
object.
Synopsis
Paint_Options (HT_Option_Table & current);
Paint_Options::spatial_subdivision
Purpose
Subdivides the scene into
increments with fewer objects.
Synopsis
HT_Boolean spatial_subdivision (void) const
Details
Subdividing the scene into smaller increments,
each with fewer objects, can speed up the renderer exponentially. However,
this method is usually not used and defaults to off.
Paint_Options::transparent_only
Purpose
transparent-only determines whether you capture
all of the objects or just the transparent ones.
Synopsis
HT_Boolean transparent_only (void) const
Details
If true, opaque objects are sent straight through
and the transparent objects are stored and later sorted. The option defaults
to true. If false, everything is sorted which is useful for Post Script
printers.
Paint_Options::z_sort_only
Purpose
Sorts objects by Z
coordinate from back to front.
Synopsis
HT_Boolean z_sort_only (void) const
Details
The z_sort_only option is used when
speed is more important. It is not a full painter option of intersecting
polygons and does no chopping.