Uses of Class org.sunflow.core.ShadingState

Uses in package org.sunflow.core.primitive

Methods with parameter type org.sunflow.core.ShadingState

Color
Color
void
void
Prepare the specified ShadingState by setting all of its internal parameters.
void
Prepare the specified ShadingState by setting all of its internal parameters.
void
Prepare the specified ShadingState by setting all of its internal parameters.
void
void
Prepare the specified ShadingState by setting all of its internal parameters.
void
Prepare the specified ShadingState by setting all of its internal parameters.
void
Prepare the specified ShadingState by setting all of its internal parameters.
void
void
void
Prepare the specified ShadingState by setting all of its internal parameters.
void
Prepare the specified ShadingState by setting all of its internal parameters.
void
Prepare the specified ShadingState by setting all of its internal parameters.
void
Prepare the specified ShadingState by setting all of its internal parameters.
void
void

Uses in package org.sunflow.core.light

Methods with parameter type org.sunflow.core.ShadingState

Color
Gets the radiance for a specified rendering state.
Color
Color
Gets the radiance for a specified rendering state.
Color
void
void
Samples the light source to compute direct illumination.
void
Samples the light source to compute direct illumination.
void
void
Samples the light source to compute direct illumination.
boolean
void
Prepare the specified ShadingState by setting all of its internal parameters.
void
Prepare the specified ShadingState by setting all of its internal parameters.
void
Scatter a photon with the specied power.
void
void
Scatter a photon with the specied power.
void

Uses in package org.sunflow.core

Methods with parameter type org.sunflow.core.ShadingState

Color
This is an optional method for engines that contain a secondary illumination engine which can return an approximation of the global radiance in the scene (like a photon map).
Color
GIEngine.getIrradiance(ShadingState state, Color diffuseReflectance)
Return the incomming irradiance due to indirect diffuse illumination at the specified surface point.
Color
Gets the radiance for a specified rendering state.
void
Retrieve caustic photons at the specified shading location and add them as diffuse light samples.
void
Samples the light source to compute direct illumination.
void
Modify the shading state for the point to be shaded.
void
Prepare the shading state for shader invocation.
void
Prepare the specified ShadingState by setting all of its internal parameters.
void
Scatter a photon with the specied power.
void
PhotonStore.store(ShadingState state, Vector3 dir, Color power, Color diffuse)
Store the specified photon.
void
Trace the shadow ray, attenuating the sample's color by the opacity of intersected objects.

Methods with return type org.sunflow.core.ShadingState

ShadingState
Scene.getRadiance(IntersectionState istate, float rx, float ry, double lensU, double lensV, double time, int instance)
Get the radiance seen through a particular pixel
ShadingState
Trace a final gather ray and return the intersection result as a new render state

Uses in package org.sunflow.core.gi

Methods with parameter type org.sunflow.core.ShadingState

Color
This is an optional method for engines that contain a secondary illumination engine which can return an approximation of the global radiance in the scene (like a photon map).
Color
This is an optional method for engines that contain a secondary illumination engine which can return an approximation of the global radiance in the scene (like a photon map).
Color
Color
This is an optional method for engines that contain a secondary illumination engine which can return an approximation of the global radiance in the scene (like a photon map).
Color
This is an optional method for engines that contain a secondary illumination engine which can return an approximation of the global radiance in the scene (like a photon map).
Color
Return the incomming irradiance due to indirect diffuse illumination at the specified surface point.
Color
FakeGIEngine.getIrradiance(ShadingState state, Color diffuseReflectance)
Return the incomming irradiance due to indirect diffuse illumination at the specified surface point.
Color
InstantGI.getIrradiance(ShadingState state, Color diffuseReflectance)
Color
Return the incomming irradiance due to indirect diffuse illumination at the specified surface point.
Color
Return the incomming irradiance due to indirect diffuse illumination at the specified surface point.

Uses in package org.sunflow.core.tesselatable

Methods with parameter type org.sunflow.core.ShadingState

void
Prepare the specified ShadingState by setting all of its internal parameters.

Uses in package org.sunflow.core.shader

Methods with parameter type org.sunflow.core.ShadingState

@Override
@Override
@Override
@Override
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Gets the radiance for a specified rendering state.
Color
Gets the radiance for a specified rendering state.
Color
Color
Gets the radiance for a specified rendering state.
Color
Color
Gets the radiance for a specified rendering state.
Color
Color
Color
void
void
void
void
void
void
void
void
void
void
void
void
Scatter a photon with the specied power.
void
Scatter a photon with the specied power.
void
void
Scatter a photon with the specied power.
void
void
Scatter a photon with the specied power.
void
void

Uses in package org.sunflow.core.modifiers

Methods with parameter type org.sunflow.core.ShadingState

void
void

Uses in package org.sunflow.core.photonmap

Methods with parameter type org.sunflow.core.ShadingState

void
void
CausticPhotonMap.store(ShadingState state, Vector3 dir, Color power, Color diffuse)
void
GlobalPhotonMap.store(ShadingState state, Vector3 dir, Color power, Color diffuse)
Store the specified photon.
void
GridPhotonMap.store(ShadingState state, Vector3 dir, Color power, Color diffuse)
Store the specified photon.