Description Sets the Optical Path Length for a specified ray in the ray buffer. 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 SetRayPathLength id, opl
Parameters id As Long (or Huge_) Identifier of the ray.
opl As Double The new Optical Path Length value.
Remarks This subroutine sets the Optical Path Length for a specified ray in the ray buffer. If there is a problem, the subroutine posts an error and returns without modifying the ray.
See Also Examples
|