Description Sets an importance sampling specification with type "Scatter rays toward a point" for a surface.
Syntax ImpSampSetPos n, indx, angle, x, y, z, entity
Parameters n As Long Node number of the surface.
indx As Long The index (zero based) of the importance sampling specification.
angle As Double Sets the new semi-angle (in degrees) of the solid angle cone.
x As Double Sets the new X component of the position vector.
y As Double Sets the new Y component of the position vector.
z As Double Sets the new Z component of the position vector.
entity As Long Sets the node number of the FRED entity whose coordinate system will orient the position vector.
Remarks This subroutine sets an importance sampling specification with type "Scatter rays toward a point" for a surface. If the type was not previously "Pos", or if there is another problem, the subroutine sets an error and returns without modifying the importance sampling specification.
See Also Examples
|