SurfacePoint
that the ray is incident upon.
@param v The Vector3
indicating the direction of travel ofthe incident ray (note that the Vector3
points toward the surface).
@param adjoint A value indicating whether the path being simulated is inthe reverse direction from the direction in which light is traveling (i.e., true
for path tracing from the eye, false
for light tracing).
@param lambda The WavelengthPacket
associated with thelight traveling along this path.
@param ru The first random variable (must be in [0, 1]).
@param rv The second random variable (must be in [0, 1]).
@param rj The third random variable (must be in [0, 1]).
@return The ScatteredRay
, or null
to indicatethat the ray was absorbed.
Row corresponds to ranks, and columns corresponds to data.
Input:
A1 | A2 | A3 | A4 |
Output:
A1 | |||
A2 | |||
A3 | |||
A4 |
|
|
|
|
|
|