|
Release 4.0 |
|
Parameters - currentRayIndex
Name: currentRayIndex
Type: int
Read/Write: Read
Context: Transformation, Iteration, Coloring
Description:
Specifies how many checks have been done so far on the current ray.
Starts at 0 when a new ray is scanned, gets incremented when ChaosPro advances to the next check on the current ray.
It stays equal when the final loop gets executed, i.e. the object border has been reached and the color should be determined.
Using this variable you can examine how good your distance estimation formula works: The number of checks done on a scanned ray should be quite low.
|