Brief Index      Full Index      Events Index      I.M. Reference

Move_Distant_Light


Functions

void Move_Distant_Light (HC_KEY key, double di, double dj, double dk)
void DMove_Distant_Light (HC_KEY key, double di, double dj, double dk)

Function Documentation

void Move_Distant_Light ( HC_KEY  key,
double  di,
double  dj,
double  dk 
)

Changes the location, in object space, of a previously-inserted "distant light".

Parameters:
key - The numeric identifier returned by a previous call to Insert_Distant_Light() .
di - Vector describing the new direction in which the light lies, infinitely far away.
dj - As above.
dk - As above.

DETAILS

Move_Distant_Light() allows you to override the original specifications and move a light so that it will be shining from a new absolute direction.

If you insert a light in an individual segment, you can move it around relative to its previous location by calling modelling transformations such as Rotate_Object() . (The "object", in this case, is the light.) Please note that the Translate_Object() routine will have no effect on a distant light: the light does not have a position, it only has a direction.

NOTES

RESTRICTIONS

See also:
Insert_Distant_Light, Rotate_Object, Rotate_Object_Offaxis.

void DMove_Distant_Light ( HC_KEY  key,
double  di,
double  dj,
double  dk 
)

Similar to Move_Distant_Light() but accepts double-precision parameters.

Parameters:
key - The numeric identifier returned by a previous call to DInsert_Distant_Light() .
di - Vector describing the new direction in which the light lies, infinitely far away.
dj - As above.
dk - As above.

DETAILS

No additional details. See Move_Distant_Light().

Brief Index      Full Index      Events Index      I.M. Reference