Description Identifies which array element a given ray intersects. 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 GetRayEntityArrayIndices id, i, j, k
Parameters id As Long (or Huge_) The identifier of the ray.
i As Long The i location of the array element.
j As Long The j location of the array element.
k As Long The k location of the array element.
Remarks This subroutine identifies which array element a given ray intersects. If there is a problem the subroutine sets an error and returns without modifying the parameters.
See Also Examples
|