Q3AntiAliasStyle_GetData |
( TQ3Status ) Q3AntiAliasStyle_GetData ( TQ3StyleObject styleObject, TQ3AntiAliasStyleData *data );
Get the data from an anti-alias style.
- styleObject
- The style to query.
- data
- Receives the data from the style.
Q3AntiAliasStyle_New |
( TQ3StyleObject ) Q3AntiAliasStyle_New ( const TQ3AntiAliasStyleData *data );
Create an anti-alias style.
- data
- The anti-alias style data.
Q3AntiAliasStyle_SetData |
( TQ3Status ) Q3AntiAliasStyle_SetData ( TQ3StyleObject styleObject, const TQ3AntiAliasStyleData *data );
Set the data for an anti-alias style.
- styleObject
- The style to update.
- data
- The new data for the style.
Q3AntiAliasStyle_Submit |
( TQ3Status ) Q3AntiAliasStyle_Submit ( const TQ3AntiAliasStyleData *data, TQ3ViewObject view );
Submit an anti-alias style to a view.
- data
- The anti-alias style data.
- view
- The view to submit the style to.
Q3BackfacingStyle_Get |
( TQ3Status ) Q3BackfacingStyle_Get ( TQ3StyleObject backfacingObject, TQ3BackfacingStyle *backfacingStyle );
Get the data from a backfacing style.
- backfacingObject
- The style to query.
- backfacingStyle
- Receives the data from the style.
Q3BackfacingStyle_New |
( TQ3StyleObject ) Q3BackfacingStyle_New ( TQ3BackfacingStyle backfacingStyle );
Create a backfacing style.
- backfacingStyle
- The backfacing style data.
Q3BackfacingStyle_Set |
( TQ3Status ) Q3BackfacingStyle_Set ( TQ3StyleObject backfacingObject, TQ3BackfacingStyle backfacingStyle );
Set the data for a backfacing style.
- backfacingObject
- The style to update.
- backfacingStyle
- The new data for the style.
Q3BackfacingStyle_Submit |
( TQ3Status ) Q3BackfacingStyle_Submit ( TQ3BackfacingStyle backfacingStyle, TQ3ViewObject view );
Submit a backfacing style to a view.
- backfacingStyle
- The backfacing style data.
- view
- The view to submit the style to.
Q3CastShadowsStyle_Get |
( TQ3Status ) Q3CastShadowsStyle_Get ( TQ3StyleObject styleObject, TQ3Boolean *castShadows );
Get the data from a cast shadows style.
This function is not available in QD3D.
- styleObject
- The style to query.
- castShadows
- Receives the data from the style.
Q3CastShadowsStyle_New |
( TQ3StyleObject ) Q3CastShadowsStyle_New ( TQ3Boolean castsShadows );
Create a cast shadows style.
This function is not available in QD3D.
- castShadows
- The cast shadows style data.
Q3CastShadowsStyle_Set |
( TQ3Status ) Q3CastShadowsStyle_Set ( TQ3StyleObject styleObject, TQ3Boolean castShadows );
Set the data for a cast shadows style.
This function is not available in QD3D.
- styleObject
- The style to update.
- castShadows
- The new data for the style.
Q3CastShadowsStyle_Submit |
( TQ3Status ) Q3CastShadowsStyle_Submit ( TQ3Boolean castShadows, TQ3ViewObject view );
Submit a cast shadows style to a view.
This function is not available in QD3D.
- castShadows
- The cast shadows style data.
- view
- The view to submit the style to.
Q3FillStyle_Get |
( TQ3Status ) Q3FillStyle_Get ( TQ3StyleObject styleObject, TQ3FillStyle *fillStyle );
Get the data from a fill style.
- styleObject
- The style to query.
- filLStyle
- Receives the data from the style.
Q3FillStyle_New |
( TQ3StyleObject ) Q3FillStyle_New ( TQ3FillStyle fillStyle );
Create a fill style.
- fillStyle
- The fill style data.
Q3FillStyle_Set |
( TQ3Status ) Q3FillStyle_Set ( TQ3StyleObject styleObject, TQ3FillStyle fillStyle );
Set the data for a fill style.
- styleObject
- The style to update.
- fillStyle
- The new data for the style.
Q3FillStyle_Submit |
( TQ3Status ) Q3FillStyle_Submit ( TQ3FillStyle fillStyle, TQ3ViewObject view );
Submit a fill style to a view.
- fillStyle
- The fill style data.
- view
- The view to submit the style to.
Q3FogStyle_GetData |
( TQ3Status ) Q3FogStyle_GetData ( TQ3StyleObject styleObject, TQ3FogStyleData *data );
Get the data from a fog style.
- styleObject
- The style to query.
- data
- Receives the data from the style.
Q3FogStyle_New |
( TQ3StyleObject ) Q3FogStyle_New ( const TQ3FogStyleData *data );
Create a fog style.
- data
- The fog style data.
Q3FogStyle_SetData |
( TQ3Status ) Q3FogStyle_SetData ( TQ3StyleObject styleObject, const TQ3FogStyleData *data );
Set the data for a fog style.
- styleObject
- The style to update.
- data
- The new data for the style.
Q3FogStyle_Submit |
( TQ3Status ) Q3FogStyle_Submit ( const TQ3FogStyleData *data, TQ3ViewObject view );
Submit a fog style to a view.
- data
- The fog style data.
- view
- The view to submit the style to.
Q3HighlightStyle_Get |
( TQ3Status ) Q3HighlightStyle_Get ( TQ3StyleObject highlight, TQ3AttributeSet *highlightAttribute );
Get the data from a highlight style.
- highlight
- The style to query.
- highlightAttribute
- Receives the data from the style.
Q3HighlightStyle_New |
( TQ3StyleObject ) Q3HighlightStyle_New ( TQ3AttributeSet highlightAttribute );
Create a highlight style.
- highlightAttribute
- The highlight style set.
Q3HighlightStyle_Set |
( TQ3Status ) Q3HighlightStyle_Set ( TQ3StyleObject highlight, TQ3AttributeSet highlightAttribute );
Set the data for a highlight style.
- highlight
- The style to update.
- highlightAttribute
- The new data for the style.
Q3HighlightStyle_Submit |
( TQ3Status ) Q3HighlightStyle_Submit ( TQ3AttributeSet highlightAttribute, TQ3ViewObject view );
Submit a highlight style to a view.
- highlightAttribute
- The highlight style data.
- view
- The view to submit the style to.
Q3InterpolationStyle_Get |
( TQ3Status ) Q3InterpolationStyle_Get ( TQ3StyleObject interpolationObject, TQ3InterpolationStyle *interpolationStyle );
Get the data from an interpolation style.
- interpolationObject
- The style to query.
- interpolationStyle
- Receives the data from the style.
Q3InterpolationStyle_New |
( TQ3StyleObject ) Q3InterpolationStyle_New ( TQ3InterpolationStyle interpolationStyle );
Create an interpolation style.
- interpolationStyle
- The interpolation style data.
Q3InterpolationStyle_Set |
( TQ3Status ) Q3InterpolationStyle_Set ( TQ3StyleObject interpolationObject, TQ3InterpolationStyle interpolationStyle );
Set the data for an interpolation style.
- interpolationObject
- The style to update.
- interpolationStyle
- The new data for the style.
Q3InterpolationStyle_Submit |
( TQ3Status ) Q3InterpolationStyle_Submit ( TQ3InterpolationStyle interpolationStyle, TQ3ViewObject view );
Submit an interpolation style to a view.
- interpolationStyle
- The interpolation style data.
- view
- The view to submit the style to.
Q3LineWidthStyle_GetData |
( TQ3Status ) Q3LineWidthStyle_GetData ( TQ3StyleObject styleObject, float *outWidth );
Get width from a line width style.
This function is not available in QD3D.
- styleObject
- The style to query.
- outWidth
- Receives the data from the style.
Q3LineWidthStyle_New |
( TQ3StyleObject ) Q3LineWidthStyle_New ( float inWidth );
Create a line width style.
This function is not available in QD3D.
- inWidth
- New line width in pixels.
Q3LineWidthStyle_SetData |
( TQ3Status ) Q3LineWidthStyle_SetData ( TQ3StyleObject styleObject, float inWidth );
Set the width for a line width style.
This function is not available in QD3D.
- styleObject
- The style to update.
- inWidth
- The new line width for the style.
Q3LineWidthStyle_Submit |
( TQ3Status ) Q3LineWidthStyle_Submit ( float inWidth, TQ3ViewObject view );
Submit a line width style to a view.
This function is not available in QD3D.
- inWidth
- New line width in pixels.
- view
- The view to submit the style to.
Q3OrientationStyle_Get |
( TQ3Status ) Q3OrientationStyle_Get ( TQ3StyleObject frontFacingDirectionObject, TQ3OrientationStyle *frontFacingDirection );
Get the data from an orientation style.
- frontFacingDirectionObject
- The style to query.
- frontFacingDirection
- Receives the data from the style.
Q3OrientationStyle_New |
( TQ3StyleObject ) Q3OrientationStyle_New ( TQ3OrientationStyle frontFacingDirection );
Create an orientation style.
- frontFacingDirection
- The orientation style data.
Q3OrientationStyle_Set |
( TQ3Status ) Q3OrientationStyle_Set ( TQ3StyleObject frontFacingDirectionObject, TQ3OrientationStyle frontFacingDirection );
Set the data for an orientation style.
- frontFacingDirectionObject
- The style to update.
- frontFacingDirection
- The new data for the style.
Q3OrientationStyle_Submit |
( TQ3Status ) Q3OrientationStyle_Submit ( TQ3OrientationStyle frontFacingDirection, TQ3ViewObject view );
Submit an orientation style to a view.
- frontFacingDirection
- The orientation style data.
- view
- The view to submit the style to.
Q3PickIDStyle_Get |
( TQ3Status ) Q3PickIDStyle_Get ( TQ3StyleObject pickIDObject, TQ3Uns32 *id );
Get the data from a pick ID style.
- styleObject
- The style to query.
- id
- Receives the data from the style.
Q3PickIDStyle_New |
( TQ3StyleObject ) Q3PickIDStyle_New ( TQ3Uns32 id );
Create a pick ID style.
- id
- The pick ID.
Q3PickIDStyle_Set |
( TQ3Status ) Q3PickIDStyle_Set ( TQ3StyleObject pickIDObject, TQ3Uns32 id );
Set the data for a pick ID style.
- pickIDObject
- The style to update.
- id
- The new data for the style.
Q3PickIDStyle_Submit |
( TQ3Status ) Q3PickIDStyle_Submit ( TQ3Uns32 id, TQ3ViewObject view );
Submit a pick ID style to a view.
- id
- The pick ID.
- view
- The view to submit the style to.
Q3PickPartsStyle_Get |
( TQ3Status ) Q3PickPartsStyle_Get ( TQ3StyleObject pickPartsObject, TQ3PickParts *parts );
Get the data from a pick parts style.
- pickPartsObject
- The style to query.
- parts
- Receives the data from the style.
Q3PickPartsStyle_New |
( TQ3StyleObject ) Q3PickPartsStyle_New ( TQ3PickParts parts );
Create a pick parts style.
- parts
- The pick parts.
Q3PickPartsStyle_Set |
( TQ3Status ) Q3PickPartsStyle_Set ( TQ3StyleObject pickPartsObject, TQ3PickParts parts );
Set the data for a pick parts style.
- pickPartsObject
- The style to update.
- parts
- The new data for the style.
Q3PickPartsStyle_Submit |
( TQ3Status ) Q3PickPartsStyle_Submit ( TQ3PickParts parts, TQ3ViewObject view );
Submit a pick parts style to a view.
- parts
- The pick parts style data.
- view
- The view to submit the style to.
Q3ReceiveShadowsStyle_Get |
( TQ3Status ) Q3ReceiveShadowsStyle_Get ( TQ3StyleObject styleObject, TQ3Boolean *receiveShadows );
Get the data from a receive shadows style.
- styleObject
- The style to query.
- receiveShadows
- Receives the data from the style.
Q3ReceiveShadowsStyle_New |
( TQ3StyleObject ) Q3ReceiveShadowsStyle_New ( TQ3Boolean receiveShadows );
Create a receive shadows style.
- receiveShadows
- The receive shadows style data.
Q3ReceiveShadowsStyle_Set |
( TQ3Status ) Q3ReceiveShadowsStyle_Set ( TQ3StyleObject styleObject, TQ3Boolean receiveShadows );
Set the data for a receive shadows style.
- styleObject
- The style to update.
- receiveShadows
- The new data for the style.
Q3ReceiveShadowsStyle_Submit |
( TQ3Status ) Q3ReceiveShadowsStyle_Submit ( TQ3Boolean receiveShadows, TQ3ViewObject view );
Submit a receive shadows style to a view.
- receiveShadows
- The receive shadows style data.
- view
- The view to submit the style to.
Q3Style_GetType |
( TQ3ObjectType ) Q3Style_GetType ( TQ3StyleObject style );
Get the type of a style object.
- style
- The style to query.
Q3Style_Submit |
( TQ3Status ) Q3Style_Submit ( TQ3StyleObject style, TQ3ViewObject view );
Submit a style to a view.
- style
- The style to submit.
- view
- The view to submit the style to.
Q3SubdivisionStyle_GetData |
( TQ3Status ) Q3SubdivisionStyle_GetData ( TQ3StyleObject subdiv, TQ3SubdivisionStyleData *data );
Get the data from a subdivision style.
- subdiv
- The style to query.
- data
- Receives the data from the style.
Q3SubdivisionStyle_New |
( TQ3StyleObject ) Q3SubdivisionStyle_New ( const TQ3SubdivisionStyleData *data );
Create a subdivision style.
- data
- The subdivision style data.
Q3SubdivisionStyle_SetData |
( TQ3Status ) Q3SubdivisionStyle_SetData ( TQ3StyleObject subdiv, const TQ3SubdivisionStyleData *data );
Set the data for a subdivision style.
- subdiv
- The style to update.
- data
- The new data for the style.
Q3SubdivisionStyle_Submit |
( TQ3Status ) Q3SubdivisionStyle_Submit ( const TQ3SubdivisionStyleData *data, TQ3ViewObject view );
Submit a subdivision style to a view.
- data
- The subdivision style data.
- view
- The view to submit the style to.
TQ3AntiAliasMode |
typedef TQ3Uns32 TQ3AntiAliasMode;
Holds one or more TQ3AntiAliasModeMasks values.
TQ3PickParts |
typedef TQ3Uns32 TQ3PickParts;
Holds TQ3PickPartsMasks values.
TQ3AntiAliasStyleData |
typedef struct TQ3AntiAliasStyleData {
TQ3Switch state;
TQ3AntiAliasMode mode;
float quality;
} TQ3AntiAliasStyleData;
Anti-alias style data.
Anti-aliasing may be toggled on and off using the state switch. To
guarantee that no anti-aliasing is performed, the state must be set
to kQ3Off.
The type of anti-aliasing performed is controlled by the mode switch.
The quality of anti-aliasing performed is controlled by the quality
field, which can range from 0.0 (minimum) to 1.0 (maximum). Values
outside this range are undefined.
- state
- Is anti-aliasing active?
- mode
- The anti-aliasing mode.
- quality
- The anti-aliasing quality.
TQ3FogStyleData |
typedef struct TQ3FogStyleData {
TQ3Switch state;
TQ3FogMode mode;
float fogStart;
float fogEnd;
float density;
TQ3ColorARGB color;
} TQ3FogStyleData;
Fog style data.
Fog may be toggled on and off using the state switch. To guarantee that
no fogging is performed, the state must be set to kQ3Off.
The type of fogging performed is controlled by the mode switch.
- state
- Is fog active?
- mode
- The fog mode.
- fogStart
- The start point for fog (only used for linear fog).
- fogEnd
- The end point for fog (only used for linear fog).
- density
- The maximum density for fog (ignored in linear fog).
- color
- The fog color.
TQ3SubdivisionStyleData |
typedef struct TQ3SubdivisionStyleData {
TQ3SubdivisionMethod method;
float c1;
float c2;
} TQ3SubdivisionStyleData;
Subdivision style data.
The c1 parameter is used as the "size" for all subdivision methods. Its
meaning and units depends on the subdivision method.
The c2 parameter is used as an additional parameter for surfaces by the
kQ3SubdivisionMethodConstant method, to allow control over subdivision
in both horizontal and vertical dimensions.
- method
- The subdivision method.
- c1
- The first parameter for the subdivision method.
- c2
- The second parameter for the subdivision method.
TQ3AntiAliasModeMasks |
typedef enum TQ3AntiAliasModeMasks {
kQ3AntiAliasModeMaskEdges = (1 << 0),
kQ3AntiAliasModeMaskFilled = (1 << 1),
kQ3AntiAliasModeMaskFullScreen = (1 << 2),
#endif // QUESA_ALLOW_QD3D_EXTENSIONS
kQ3AntiAliasModeSize32 = 0xFFFFFFFF
} TQ3AntiAliasModeMasks;
Anti-alias style selectors.
- kQ3AntiAliasModeMaskEdges
- Apply anti-aliasing to wireframe objects.
- kQ3AntiAliasModeMaskFilled
- Apply anti-aliasing to filled objects.
- kQ3AntiAliasModeMaskFullScreen
- Apply global anti-aliasing (e.g., FSAA). This feature is not available in QD3D.
TQ3BackfacingStyle |
typedef enum TQ3BackfacingStyle {
kQ3BackfacingStyleBoth = 0,
kQ3BackfacingStyleRemove = 1,
kQ3BackfacingStyleFlip = 2,
kQ3BackfacingStyleSize32 = 0xFFFFFFFF
} TQ3BackfacingStyle;
Backfacing styles.
- kQ3BackfacingStyleBoth
- Both backfacing and front facing surfaces are rendered.
- kQ3BackfacingStyleRemove
- Backfacing surfaces are removed before rendering.
- kQ3BackfacingStyleFlip
- Both backfacing and front facing surfaces are rendered, and the surface normals of backfacing surfaces are inverted before rendering.
TQ3FillStyle |
typedef enum TQ3FillStyle {
kQ3FillStyleFilled = 0,
kQ3FillStyleEdges = 1,
kQ3FillStylePoints = 2,
kQ3FillStyleSize32 = 0xFFFFFFFF
} TQ3FillStyle;
Fill styles.
- kQ3FillStyleFilled
- Shapes are rendered as filled surfaces.
- kQ3FillStyleEdges
- Shapes are rendered as sets of lines.
- kQ3FillStylePoints
- Shapes are rendered as sets of points.
TQ3FogMode |
typedef enum TQ3FogMode {
kQ3FogModeLinear = 0,
kQ3FogModeExponential = 1,
kQ3FogModeExponentialSquared = 2,
kQ3FogModeAlpha = 3,
kQ3FogModeSize32 = 0xFFFFFFFF
} TQ3FogMode;
Indicates how fog increases in density with distance.
Quesa's interactive renderer does not currently implement alpha fog.
- kQ3FogModeLinear
- Fog == (End - z) / (End - Start)
- kQ3FogModeExponential
- Fog == exp(-Density * z)
- kQ3FogModeExponentialSquared
- Fog == exp(-Density * z * Density * z).
- kQ3FogModeAlpha
- Fog == Vertex Alpha
TQ3InterpolationStyle |
typedef enum TQ3InterpolationStyle {
kQ3InterpolationStyleNone = 0,
kQ3InterpolationStyleVertex = 1,
kQ3InterpolationStylePixel = 2,
kQ3InterpolationSize32 = 0xFFFFFFFF
} TQ3InterpolationStyle;
Interpolation styles.
- kQ3InterpolationStyleNone
- Faces are rendered with a uniform illumination.
- kQ3InterpolationStyleVertex
- Individual vertices are shaded, and their values are interpolated across each face.
- kQ3InterpolationStylePixel
- Individual pixels are shaded. Is not typically supported by interactive renderers.
TQ3OrientationStyle |
typedef enum TQ3OrientationStyle {
kQ3OrientationStyleCounterClockwise = 0,
kQ3OrientationStyleClockwise = 1,
kQ3OrientationStyleSize32 = 0xFFFFFFFF
} TQ3OrientationStyle;
Defines the "front facing" side of polygons.
- kQ3OrientationStyleCounterClockwise
- The front face is defined as CCW order.
- kQ3OrientationStyleClockwise
- The front face is defined as CW order.
TQ3PickPartsMasks |
typedef enum TQ3PickPartsMasks {
kQ3PickPartsObject = 0,
kQ3PickPartsMaskFace = (1 << 0),
kQ3PickPartsMaskEdge = (1 << 1),
kQ3PickPartsMaskVertex = (1 << 2),
kQ3PickPartsMaskSize32 = 0xFFFFFFFF
} TQ3PickPartsMasks;
Indicates the kind of objects placed in a hit list.
- kQ3PickPartsObject
- The hit list contains whole objects.
- kQ3PickPartsMaskFace
- The hit list contains faces.
- kQ3PickPartsMaskEdge
- The hit list contains edges.
- kQ3PickPartsMaskVertex
- The hit list contains vertices.
TQ3SubdivisionMethod |
typedef enum TQ3SubdivisionMethod {
kQ3SubdivisionMethodConstant = 0,
kQ3SubdivisionMethodWorldSpace = 1,
kQ3SubdivisionMethodScreenSpace = 2,
kQ3SubdivisionMethodSize32 = 0xFFFFFFFF
} TQ3SubdivisionMethod;
Subdivision methods.
- kQ3SubdivisionMethodConstant
- Surfaces are divided into the specified number of segments.
- kQ3SubdivisionMethodWorldSpace
- Surfaces are divided into segments smaller than the specified size in world-space.
- kQ3SubdivisionMethodScreenSpace
- Surfaces are divided into segments smaller than the specified size in pixels.
© 1999-2008 Quesa Developers (Last Updated 5/10/2008)