Description Retrieves the number of consecutive intersects for a given ray. 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 isects = GetRayConsecutiveIntersects ( id )
Parameters isects (Long) The number of consecutive intersects for the ray.
id As Long (or Huge_) Identifier of the ray.
Remarks This function retrieves the number of consecutive intersects for a given ray. If there is a problem, the function sets an error and returns -1.
The number of consecutive intersections is the number times the ray has consecutively intersected the surface that it is currently on.
See Also Examples
|