Description Sets the data for a source with a Random Plane ray position type. 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 SetSourcePosGridRandom n, semiWidthX, semiWidthY, num, isEllipse
Parameters n As Long Node number of the source.
semiWidthX As Double The new X semi-aperture of the grid.
semiWidthY As Double The new Y semi-aperture of the grid.
num As Long (or Huge_) The new total number of random ray positions.
isEllipse As Boolean The new aperture shape of the plane surface. True if the aperture is elliptical, False if it is Rectangular.
Remarks This subroutine sets the data for a source with a Random Plane ray position type, i.e. a plane containing random ray positions.
See Also Examples
|