@Override
public ScatteredRay sample(double ru, double rv, double rj) {
Vector3 v = ray.direction();
Color color = getWhite();
double pdf = (focusDistance * focusDistance)
/ (v.z() * v.z() * v.z() * v.z() * objPlaneWidth * objPlaneHeight);
return ScatteredRay.diffuse(ray, color, pdf);
}
/* (non-Javadoc)
* @see ca.eandb.jmist.framework.path.PathNode#scatter(ca.eandb.jmist.math.Vector3)