Functions | |
void | Set_Camera_Near_Limit (double wlimit) |
void | UnSet_Camera_Near_Limit (void) |
void Set_Camera_Near_Limit | ( | double | wlimit | ) |
Controls the hither camera plane setting.
wlimit | - a parametric value from 0.0 at the camera to 1.0 at the target. If 0.0 or negated, the value has special meaning (see below). Default is -0.001. |
This function can help you improve the z-buffer allocation in the scene and consequently reduce the amount of z-buffer stitching in the scene. This function is of particular use for applications which always have a large amount of empty space between the camera postion and target.
A negative value for wlimit has special meaning. The near plane starts at -wlimit but is then pushed back to the location of the nearest extremity of the bounding volume (assuming bounding volumes have not been disabled -- see Define_System_Options()). Note that since the default near limit is negative, this behavior is on by default.
void void UnSet_Camera_Near_Limit | ( | void | ) |
Removes the hither camera plane value set by a previous call to Set_Camera_Limit().