Description Data structure specifying a Random Surface Ray Position type for a source. 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.
Definition Type T_SOURCEPOSSURFACE offsetDistance As Double End Type
Members offsetDistance Specifies the offset from the surface along the surface normal of ray starting positions.
surfID Identifier of the surface on which to place the rays.
numRays The number of rays that will be on the surface.
directionSpec Specifies what direction the rays will travel in. May be one of the following:
Any other value will result in the source having a random Lambertian direction.
startOnSurface When True, starts the rays exactly on the surface before the offset.
reverseDirection When True, reverses the ray directions.
Used as Parameter in Examples
|