Description Sets a ray position vector. 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 SetRayPosition id, posX, posY, posZ
Parameters id As Long (or Huge_) Identifier of the ray.
posX As Double X component of the new position vector.
posY As Double Y component of the new position vector.
posZ As Double Z component of the new position vector.
Remarks This subroutine sets a ray position vector. If there is a problem, the subroutine sets an error and returns without modifying the position vector.
See Also Examples
|