Description Makes a ray in the ray buffer active. Depending on the number of rays traced, it may be necessary to dimension ray index and ray counter variables as data type Huge_ instead of Long. Please see Multi-threaded Raytracing for more information.
Syntax SetRayActive id, active
Parameters id As Long (or Huge_) Identifier of the ray.
active As Boolean True if the ray is to become active, False otherwise.
Remarks This subroutine makes a ray in the ray buffer active. If there is a problem, the subroutine sets an error and returns without modifying the ray.
Inactive rays are not raytraced or included in analyses.
See Also Examples
|