HOOPS/3dGS I.M. Interface

     << Back      Full Index      Forward >>


Draw_DC_Reshaded_XXX


Functions

void Draw_DC_Reshaded_Line (HT_Rendition *nr, HT_DC_Point *points2, HT_RGB32 *colors, HT_Plane *planes, HT_RGB32 *parameters, int param_width, HT_RGB32 *flags)
void Draw_DC_Reshaded_Triangle (HT_Rendition *nr, HT_DC_Point *points3, HT_RGB32 *colors, HT_Plane *planes, HT_RGB32 *parameters, int param_width, HT_RGB32 *flags)

Function Documentation

void Draw_DC_Reshaded_Line HT_Rendition *  nr,
HT_DC_Point *  points2,
HT_RGB32 *  colors,
HT_Plane *  planes,
HT_RGB32 *  parameters,
int  param_width,
HT_RGB32 *  flags
 

Draws a line segment, specified in device coordinates, with color interpolated from vertex colors.

Parameters:
nr - Rendition. Passed by reference.
points2 - Array of two endpoints. Passed by reference.
colors - Array of two vertex colors. Passed by reference.
planes - The camera-space plane that passes through each vertex. Passed by reference.
parameters - Array of parameters.Passed by reference.
param_width - Number of parameters set on each vertex.
flags - Array of parameter flags.Passed by reference.

DETAILS

This function is the standard default method for the corresponding "draw dc reshaded line" callback points. HIC_Draw_DC_Reshaded_Line() draws a line segment with color interpolated at each pixel, subject to the line pattern and line weight attributes in the rendition nr.

NOTES

planes are defined for each vertex V as the camera-space plane that passes through V with V's surface normal, after modelling and camera positioning, but before camera projection.

See also:
Draw_DC_Reshaded_Triangle, Draw_DC_Gouraud_Line, Draw_DC_Gouraud_Triangle

void Draw_DC_Reshaded_Triangle HT_Rendition *  nr,
HT_DC_Point *  points3,
HT_RGB32 *  colors,
HT_Plane *  planes,
HT_RGB32 *  parameters,
int  param_width,
HT_RGB32 *  flags
 

Draws a filled triangle, specified in device coordinates, with color interpolated from vertex colors.

Parameters:
nr - Rendition. Passed by reference.
points3 - Array of three vertices. Passed by reference.
colors - Array of two vertex colors. Passed by reference.
planes - The camera-space plane that passes through each vertex. Passed by reference.
parameters - Array of parameters.Passed by reference.
param_width - Number of parameters set on each vertex.
flags - Array of parameter flags.Passed by reference.

DETAILS

This function is the standard default method for the corresponding "draw dc reshaded triangle" callback point. HIC_Draw_DC_Reshaded_Triangle() draws a filled triangle with color interpolated at each pixel, subject to the face pattern and face contrast color attributes in the rendition nr.

NOTES

planes are defined for each vertex V as the camera-space plane that passes through V with V's surface normal, after modelling and camera positioning, but before camera projection.

See also:
Draw_DC_Reshaded_Line, Draw_DC_Gouraud_Line, Draw_DC_Gouraud_Triangle
Main Index

HOOPS/3dGS I.M. Interface

     << Back      Full Index      Forward >>