org.sunflow.core.gi

Class InstantGI

Implemented Interfaces:
GIEngine

public class InstantGI
extends java.lang.Object
implements GIEngine

Constructor Summary

InstantGI(Options options)

Method Summary

Color
getGlobalRadiance(ShadingState state)
Color
getIrradiance(ShadingState state, Color diffuseReflectance)
boolean
init(Scene scene)

Constructor Details

InstantGI

public InstantGI(Options options)

Method Details

getGlobalRadiance

public Color getGlobalRadiance(ShadingState state)
Specified by:
getGlobalRadiance in interface GIEngine

getIrradiance

public Color getIrradiance(ShadingState state,
                           Color diffuseReflectance)
Specified by:
getIrradiance in interface GIEngine

init

public boolean init(Scene scene)
Specified by:
init in interface GIEngine