HOOPS/3dGS I.M. Interface

     << Back      Full Index      Forward >>


Draw_DC_Gouraud_XXX


Functions

void Draw_DC_Gouraud_Line (HT_Rendition *nr, HT_DC_Point *points2, HT_RGBAS32 *colors2)
void Draw_DC_Gouraud_Triangle (HT_Rendition *nr, HT_DC_Point *points3, HT_RGBAS32 *colors3)
void Draw_DC_Gouraud_Polytriangle (HT_Rendition *nr, int count, HT_DC_Point *points, HT_RGBAS32 *colors)
void Draw_DC_Gouraud_Polyline (HT_Rendition *nr, int count, HT_DC_Point *points, HT_RGBAS32 *colors)

Function Documentation

void Draw_DC_Gouraud_Line HT_Rendition *  nr,
HT_DC_Point *  points2,
HT_RGBAS32 *  colors2
 

Draws a line, specified in device coordinates, with color interpolated from vertices.

Parameters:
nr - Rendition. Passed by reference.
points2 - Array of two endpoints. Passed by reference.
colors2 - Array of two vertex colors. Passed by reference.

DETAILS

This function is the standard default method for the corresponding "draw dc gouraud line" callback point.

HIC_Draw_DC_Gouraud_Line() draws a line segment with color interpolated from the argument endpoint colors, subject to the line pattern and line weight attributes in the rendition nr.

NOTES

HOOPS calls on "draw dc gouraud lines" when the application calls for lighting interpolation of edges of mesh or shell primitives, or when applying atmospheric attenuation to line primitives.

RESTRICTIONS

See also:
Draw_DC_Elliptical_Arc, Draw_DC_Marker, Draw_DC_Rectangle Draw_DC_Dot, Draw_DC_Image_Block, Draw_DC_Outline_Ellipse, Draw_DC_Ellipse, Draw_DC_Line, Draw_DC_Polygon, Draw_DC_Triangle, Draw_DC_Face, Draw_DC_Polyline

void Draw_DC_Gouraud_Triangle HT_Rendition *  nr,
HT_DC_Point *  points3,
HT_RGBAS32 *  colors3
 

Draws a triangle, specified in device coordinates, with color interpolated from vertices.

Parameters:
nr - Rendition. Passed by reference.
points3 - Array of three vertices. Passed by reference.
colors3 - Array of three vertex colors.Passed by reference.

DETAILS

This function is the standard default method for the corresponding "draw dc gouraud triangle" callback point.

HIC_Draw_DC_Gouraud_Triangle() draws a filled triangle with color interpolated from the supplied vertex colors. The fill is subject to the face pattern and face contrast color attributes in the rendition nr.

NOTES

HOOPS calls on "draw dc gouraud triangles" when the application calls for lighting interpolation of meshes and shells.

RESTRICTIONS

See also:
Draw_DC_Elliptical_Arc, Draw_DC_Marker, Draw_DC_Rectangle Draw_DC_Dot, Draw_DC_Image_Block, Draw_DC_Outline_Ellipse, Draw_DC_Ellipse, Draw_DC_Line, Draw_DC_Polygon, Draw_DC_Triangle, Draw_DC_Face, Draw_DC_Polyline

void Draw_DC_Gouraud_Polytriangle HT_Rendition *  nr,
int  count,
HT_DC_Point *  points,
HT_RGBAS32 *  colors
 

Draws a gouraud shaded polytriangle.

Parameters:
nr - Rendition created by HIC_New_Rendition(). Passed by reference.
count - Point count in points.
points - Polytriangle points.
colors - Pointer to an HT_RGBAS32 structure.

DETAILS

This function is the standard default method for the corresponding "draw dc gouraud polytriangle" callback point.

NOTES

RESTRICTIONS

See also:

void Draw_DC_Gouraud_Polyline HT_Rendition *  nr,
int  count,
HT_DC_Point *  points,
HT_RGBAS32 *  colors
 

Draws a Gouraud shaded polyline.

Parameters:
nr - Rendition created by HIC_New_Rendition(). Passed by reference.
count - Point count in points.
points - Polyline points.
colors - Pointer to an HT_RGBAS32 structure.

DETAILS

NOTES

RESTRICTIONS

See also:
Main Index

HOOPS/3dGS I.M. Interface

     << Back      Full Index      Forward >>