Description Performs an advanced ray trace with the parameters specified. 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 numTraced = AdvancedRaytrace ( adv )
Parameters numTraced (Long or Huge_) Specifies the number of rays traced.
adv As T_ADVANCEDRAYTRACE Structure containing the parameters of the advanced ray trace.
Remarks This function performs an advanced ray trace with the parameters specified. If there is a problem the function returns without setting an error or performing the ray trace.
Multi-threading If an advanced raytrace is performed using existing rays when the raypaths table is not empty, then the raytrace will proceed single-threaded. If the raytrace is performed by creating the sources and tracing, then the raypaths table is cleared and the raytrace will proceed multi-threaded.
See Also Examples
|