Sha256: cbbe965b1ae705b6b2b850db79b05d80d3ec75755335e32056034a2d3a172357

Contents?: true

Size: 651 Bytes

Versions: 6

Compression:

Stored size: 651 Bytes

Contents

package org.sunflow.core;

import org.sunflow.image.Color;
import org.sunflow.math.Point3;
import org.sunflow.math.Vector3;

/**
 * Represents a global photon map. This is a structure which can return a rough
 * approximation of the diffuse radiance at a given surface point.
 */
public interface GlobalPhotonMapInterface extends PhotonStore {

    /**
     * Lookup the global diffuse radiance at the specified surface point.
     *
     * @param p surface position
     * @param n surface normal
     * @return an approximation of global diffuse radiance at this point
     */
    public Color getRadiance(Point3 p, Vector3 n);
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
joonsrenderer-1.3.1-java src/main/java/org/sunflow/core/GlobalPhotonMapInterface.java
joonsrenderer-1.2.0-java src/main/java/org/sunflow/core/GlobalPhotonMapInterface.java
joonsrenderer-1.1.3-java src/main/java/org/sunflow/core/GlobalPhotonMapInterface.java
joonsrenderer-1.1.2-java src/main/java/org/sunflow/core/GlobalPhotonMapInterface.java
joonsrenderer-1.1.1-java src/main/java/org/sunflow/core/GlobalPhotonMapInterface.java
joonsrenderer-1.1-java src/main/java/org/sunflow/core/GlobalPhotonMapInterface.java