/* (non-Javadoc)
* @see ca.eandb.jmist.framework.path.PathNode#sample(double, double, double)
*/
public ScatteredRay sample(double ru, double rv, double rj) {
PathInfo path = getPathInfo();
WavelengthPacket lambda = path.getWavelengthPacket();
Vector3 v = PathUtil.getDirection(getParent(), this);
Material material = surf.getMaterial();
return material.scatter(surf, v, isOnEyePath(), lambda, ru, rv, rj);
}