Geometry Property Types |
enum
{
kQ3GeometryPropertyNonCartoon = Q3_OBJECT_TYPE('n', 'c', 'a', 'r')
};
- kQ3GeometryPropertyNonCartoon
- This property indicates to the cartoon renderer or to the quantized per-pixel lighting mode of the OpenGL renderer that this geometry should be rendered normally.
Data type: TQ3Boolean. Default value: kQ3False.
Nurb Limits |
enum {
kQ3NURBCurveMaxOrder = 16,
kQ3NURBPatchMaxOrder = 16
};
Miscellaneous limits for NURB curves and patches.
- kQ3NURBCurveMaxOrder
- Maximum order for NURB curves.
- kQ3NURBPatchMaxOrder
- Maximum order for NURB patches. Note that this was set to 11 in QD3DGeometry.h, however a Develop article on NURBs indicated it should be 16.
TQ3GeneralPolygonShapeHint |
typedef enum TQ3GeneralPolygonShapeHint {
kQ3GeneralPolygonShapeHintComplex = 0,
kQ3GeneralPolygonShapeHintConcave = 1,
kQ3GeneralPolygonShapeHintConvex = 2,
kQ3GeneralPolygonShapeHintSize32 = 0xFFFFFFFF
} TQ3GeneralPolygonShapeHint;
A general polygon has a shape hint that may be used by the renderer to optimize drawing.
- kQ3GeneralPolygonShapeHintComplex
- The general polygon has more than one contour, or is self-intersecting, or it is not known whether it is concave or convex.
- kQ3GeneralPolygonShapeHintConcave
- There is exactly one contour, which is concave.
- kQ3GeneralPolygonShapeHintConvex
- There is exactly one contour, which is convex.
TQ3PolyhedronEdgeMasks |
typedef enum TQ3PolyhedronEdgeMasks {
kQ3PolyhedronEdgeNone = 0,
kQ3PolyhedronEdge01 = (1 << 0),
kQ3PolyhedronEdge12 = (1 << 1),
kQ3PolyhedronEdge20 = (1 << 2),
kQ3PolyhedronEdgeAll = (kQ3PolyhedronEdge01 | kQ3PolyhedronEdge12 | kQ3PolyhedronEdge20),
kQ3PolyhedronEdgeSize32 = 0xFFFFFFFF
} TQ3PolyhedronEdgeMasks;
These are flags indicating which edges of a polyhedral triangle should be rendered.
- kQ3PolyhedronEdgeNone
- No Edge.
- kQ3PolyhedronEdge01
- Render the edge between vertex 0 and vertex 1.
- kQ3PolyhedronEdge12
- Render the edge between vertex 1 and vertex 2.
- kQ3PolyhedronEdge20
- Render the edge between vertex 2 and vertex 0.
- kQ3PolyhedronEdgeAll
- Render all the edges.
© 1999-2008 Quesa Developers (Last Updated 5/10/2008)