globalphotonmapinterface.java

来自「Sunflow是一个照片级的渲染系统」· Java 代码 · 共 21 行

JAVA
21
字号
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);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?