throw new IllegalArgumentException(
"newParent == null && grandChild != null");
}
PathInfo pi = getPathInfo();
Scene scene = pi.getScene();
Light light = scene.getLight();
double pdf = light.getSamplePDF(surf, pi);
return ScaledLightNode.create(pdf, new SurfaceLightNode(pi, surf, getRU(), getRV(), getRJ()), getRJ());
}
}