Description This function retrieves the advanced properties and checkbox settings for returning CPU/GPU created rays that are used during an MPC Advanced Raytrace call.
Syntax MPCGetAdvancedParameters(rayRecursionDepthDelta, minimumRayDistanceFactor, rayIntersectToleranceFactor, isReturnTracedCPUSourceRays, isReturnTracedGPUSourceRays)
Parameters rayRecursionDepthDelta As Long Delta value to increment or decrement the maximum ray ancestry.
minimumRayDistanceFactor As Single Multiplier to the default minimum intersect distance test
rayIntersectToleranceFactor As Single Multiplier to the default ray/surface intersection accuracy tolerance
isReturnTracedCPUSourceRays As Boolean True if CPU generated rays are to be returned to RAM (i.e. ray buffer) after tracing on the GPU, false otherwise
isReturnTracedGPUSourceRays As Boolean True if GPU generated rays are to be returned to RAM (i.e. ray buffer) after tracing on the GPU, false otherwise
Remarks This function retrieves the advanced properties and checkbox settings for returning CPU/GPU created rays that are used during an MPC Advanced Raytrace call. These settings are handled differently to the T_MPCADVANCEDRAYTRACE structure as they are document settings (i.e. they are saved into the FRED document) rather than simply dialog settings, and as such are not part of the usual initialization routines.
See Also
|