org.sunflow.core
Interface GlobalPhotonMapInterface
- All Superinterfaces:
- PhotonStore
- All Known Implementing Classes:
- GlobalPhotonMap, GridPhotonMap
public interface GlobalPhotonMapInterface
- extends PhotonStore
Represents a global photon map. This is a structure which can return a rough
approximation of the diffuse radiance at a given surface point.
getRadiance
Color getRadiance(Point3 p,
Vector3 n)
- Lookup the global diffuse radiance at the specified surface point.
- Parameters:
p
- surface positionn
- surface normal
- Returns:
- an approximation of global diffuse radiance at this point