Uses of Class
org.sunflow.core.ShadingState
Packages that use ShadingState
Package
Description
-
Uses of ShadingState in org.sunflow.core
Methods in org.sunflow.core that return ShadingStateModifier and TypeMethodDescriptionScene.getRadiance
(IntersectionState istate, float rx, float ry, double lensU, double lensV, double time, int instance, int dim, ShadingCache cache) Get the radiance seen through a particular pixelfinal ShadingState
ShadingState.traceFinalGather
(Ray r, int i) Trace a final gather ray and return the intersection result as a new render stateMethods in org.sunflow.core with parameters of type ShadingStateModifier and TypeMethodDescriptionvoid
ShadingCache.add
(ShadingState state, Shader shader, Color c) GIEngine.getGlobalRadiance
(ShadingState state) 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).GIEngine.getIrradiance
(ShadingState state, Color diffuseReflectance) Return the incomming irradiance due to indirect diffuse illumination at the specified surface point.Shader.getOpacity
(ShadingState state) Returns how much light is blocked by this shader.Shader.getRadiance
(ShadingState state) Gets the radiance for a specified rendering state.void
CausticPhotonMapInterface.getSamples
(ShadingState state) Retrieve caustic photons at the specified shading location and add them as diffuse light samples.void
LightSource.getSamples
(ShadingState state) Samples the light source to compute direct illumination.ShadingCache.lookup
(ShadingState state, Shader shader) void
Modifier.modify
(ShadingState state) Modify the shading state for the point to be shaded.void
Instance.prepareShadingState
(ShadingState state) Prepare the shading state for shader invocation.void
PrimitiveList.prepareShadingState
(ShadingState state) Prepare the specifiedShadingState
by setting all of its internal parameters.void
Shader.scatterPhoton
(ShadingState state, Color power) Scatter a photon with the specied power.void
PhotonStore.store
(ShadingState state, Vector3 dir, Color power, Color diffuse) Store the specified photon.final void
LightSample.traceShadow
(ShadingState state) Trace the shadow ray, attenuating the sample's color by the opacity of intersected objects. -
Uses of ShadingState in org.sunflow.core.gi
Methods in org.sunflow.core.gi with parameters of type ShadingStateModifier and TypeMethodDescriptionAmbientOcclusionGIEngine.getGlobalRadiance
(ShadingState state) FakeGIEngine.getGlobalRadiance
(ShadingState state) InstantGI.getGlobalRadiance
(ShadingState state) IrradianceCacheGIEngine.getGlobalRadiance
(ShadingState state) PathTracingGIEngine.getGlobalRadiance
(ShadingState state) AmbientOcclusionGIEngine.getIrradiance
(ShadingState state, Color diffuseReflectance) FakeGIEngine.getIrradiance
(ShadingState state, Color diffuseReflectance) InstantGI.getIrradiance
(ShadingState state, Color diffuseReflectance) IrradianceCacheGIEngine.getIrradiance
(ShadingState state, Color diffuseReflectance) PathTracingGIEngine.getIrradiance
(ShadingState state, Color diffuseReflectance) -
Uses of ShadingState in org.sunflow.core.light
Methods in org.sunflow.core.light with parameters of type ShadingStateModifier and TypeMethodDescriptionImageBasedLight.getOpacity
(ShadingState state) SphereLight.getOpacity
(ShadingState state) SunSkyLight.getOpacity
(ShadingState state) TriangleMeshLight.getOpacity
(ShadingState state) ImageBasedLight.getRadiance
(ShadingState state) SphereLight.getRadiance
(ShadingState state) SunSkyLight.getRadiance
(ShadingState state) TriangleMeshLight.getRadiance
(ShadingState state) void
DirectionalSpotlight.getSamples
(ShadingState state) void
ImageBasedLight.getSamples
(ShadingState state) void
PointLight.getSamples
(ShadingState state) void
SphereLight.getSamples
(ShadingState state) void
SunSkyLight.getSamples
(ShadingState state) void
TriangleMeshLight.getSamples
(ShadingState state) boolean
SphereLight.isVisible
(ShadingState state) void
ImageBasedLight.prepareShadingState
(ShadingState state) void
SunSkyLight.prepareShadingState
(ShadingState state) void
ImageBasedLight.scatterPhoton
(ShadingState state, Color power) void
SphereLight.scatterPhoton
(ShadingState state, Color power) void
SunSkyLight.scatterPhoton
(ShadingState state, Color power) void
TriangleMeshLight.scatterPhoton
(ShadingState state, Color power) -
Uses of ShadingState in org.sunflow.core.modifiers
Methods in org.sunflow.core.modifiers with parameters of type ShadingStateModifier and TypeMethodDescriptionvoid
BumpMappingModifier.modify
(ShadingState state) void
NormalMapModifier.modify
(ShadingState state) void
PerlinModifier.modify
(ShadingState state) -
Uses of ShadingState in org.sunflow.core.photonmap
Methods in org.sunflow.core.photonmap with parameters of type ShadingStateModifier and TypeMethodDescriptionvoid
CausticPhotonMap.getSamples
(ShadingState state) void
CausticPhotonMap.store
(ShadingState state, Vector3 dir, Color power, Color diffuse) void
GlobalPhotonMap.store
(ShadingState state, Vector3 dir, Color power, Color diffuse) void
GridPhotonMap.store
(ShadingState state, Vector3 dir, Color power, Color diffuse) -
Uses of ShadingState in org.sunflow.core.primitive
Methods in org.sunflow.core.primitive with parameters of type ShadingStateModifier and TypeMethodDescriptionCornellBox.getOpacity
(ShadingState state) Hair.getOpacity
(ShadingState state) CornellBox.getRadiance
(ShadingState state) Hair.getRadiance
(ShadingState state) void
CornellBox.getSamples
(ShadingState state) void
Background.prepareShadingState
(ShadingState state) void
BanchoffSurface.prepareShadingState
(ShadingState state) void
Box.prepareShadingState
(ShadingState state) void
CornellBox.prepareShadingState
(ShadingState state) void
CubeGrid.prepareShadingState
(ShadingState state) void
Cylinder.prepareShadingState
(ShadingState state) void
Hair.prepareShadingState
(ShadingState state) void
JuliaFractal.prepareShadingState
(ShadingState state) void
ParticleSurface.prepareShadingState
(ShadingState state) void
Plane.prepareShadingState
(ShadingState state) void
QuadMesh.prepareShadingState
(ShadingState state) void
Sphere.prepareShadingState
(ShadingState state) void
SphereFlake.prepareShadingState
(ShadingState state) void
Torus.prepareShadingState
(ShadingState state) void
TriangleMesh.prepareShadingState
(ShadingState state) void
CornellBox.scatterPhoton
(ShadingState state, Color power) void
Hair.scatterPhoton
(ShadingState state, Color power) -
Uses of ShadingState in org.sunflow.core.shader
Methods in org.sunflow.core.shader with parameters of type ShadingStateModifier and TypeMethodDescriptionAmbientOcclusionShader.getBrightColor
(ShadingState state) TexturedAmbientOcclusionShader.getBrightColor
(ShadingState state) protected Color
AnisotropicWardShader.getDiffuse
(ShadingState state) DiffuseShader.getDiffuse
(ShadingState state) protected Color
PhongShader.getDiffuse
(ShadingState state) ShinyDiffuseShader.getDiffuse
(ShadingState state) TexturedDiffuseShader.getDiffuse
(ShadingState state) TexturedPhongShader.getDiffuse
(ShadingState state) TexturedShinyDiffuseShader.getDiffuse
(ShadingState state) TexturedWardShader.getDiffuse
(ShadingState state) UberShader.getDiffuse
(ShadingState state) WireframeShader.getFillColor
(ShadingState state) WireframeShader.getLineColor
(ShadingState state) AmbientOcclusionShader.getOpacity
(ShadingState state) AnisotropicWardShader.getOpacity
(ShadingState state) ConstantShader.getOpacity
(ShadingState state) DiffuseShader.getOpacity
(ShadingState state) GlassShader.getOpacity
(ShadingState state) IDShader.getOpacity
(ShadingState state) MirrorShader.getOpacity
(ShadingState state) NormalShader.getOpacity
(ShadingState state) PhongShader.getOpacity
(ShadingState state) PrimIDShader.getOpacity
(ShadingState state) QuickGrayShader.getOpacity
(ShadingState state) ShinyDiffuseShader.getOpacity
(ShadingState state) SimpleShader.getOpacity
(ShadingState state) TexturedDiffuseShader.getOpacity
(ShadingState state) TexturedPhongShader.getOpacity
(ShadingState state) TexturedShinyDiffuseShader.getOpacity
(ShadingState state) TexturedWardShader.getOpacity
(ShadingState state) UberShader.getOpacity
(ShadingState state) UVShader.getOpacity
(ShadingState state) ViewCausticsShader.getOpacity
(ShadingState state) ViewGlobalPhotonsShader.getOpacity
(ShadingState state) ViewIrradianceShader.getOpacity
(ShadingState state) WireframeShader.getOpacity
(ShadingState state) AmbientOcclusionShader.getRadiance
(ShadingState state) AnisotropicWardShader.getRadiance
(ShadingState state) ConstantShader.getRadiance
(ShadingState state) DiffuseShader.getRadiance
(ShadingState state) GlassShader.getRadiance
(ShadingState state) IDShader.getRadiance
(ShadingState state) MirrorShader.getRadiance
(ShadingState state) NormalShader.getRadiance
(ShadingState state) PhongShader.getRadiance
(ShadingState state) PrimIDShader.getRadiance
(ShadingState state) QuickGrayShader.getRadiance
(ShadingState state) ShinyDiffuseShader.getRadiance
(ShadingState state) SimpleShader.getRadiance
(ShadingState state) TexturedDiffuseShader.getRadiance
(ShadingState state) TexturedPhongShader.getRadiance
(ShadingState state) TexturedShinyDiffuseShader.getRadiance
(ShadingState state) UberShader.getRadiance
(ShadingState state) UVShader.getRadiance
(ShadingState state) ViewCausticsShader.getRadiance
(ShadingState state) ViewGlobalPhotonsShader.getRadiance
(ShadingState state) ViewIrradianceShader.getRadiance
(ShadingState state) WireframeShader.getRadiance
(ShadingState state) UberShader.getSpecular
(ShadingState state) void
AmbientOcclusionShader.scatterPhoton
(ShadingState state, Color power) void
AnisotropicWardShader.scatterPhoton
(ShadingState state, Color power) void
ConstantShader.scatterPhoton
(ShadingState state, Color power) void
DiffuseShader.scatterPhoton
(ShadingState state, Color power) void
GlassShader.scatterPhoton
(ShadingState state, Color power) void
IDShader.scatterPhoton
(ShadingState state, Color power) void
MirrorShader.scatterPhoton
(ShadingState state, Color power) void
NormalShader.scatterPhoton
(ShadingState state, Color power) void
PhongShader.scatterPhoton
(ShadingState state, Color power) void
PrimIDShader.scatterPhoton
(ShadingState state, Color power) void
QuickGrayShader.scatterPhoton
(ShadingState state, Color power) void
ShinyDiffuseShader.scatterPhoton
(ShadingState state, Color power) void
SimpleShader.scatterPhoton
(ShadingState state, Color power) void
UberShader.scatterPhoton
(ShadingState state, Color power) void
UVShader.scatterPhoton
(ShadingState state, Color power) void
ViewCausticsShader.scatterPhoton
(ShadingState state, Color power) void
ViewGlobalPhotonsShader.scatterPhoton
(ShadingState state, Color power) void
ViewIrradianceShader.scatterPhoton
(ShadingState state, Color power) void
WireframeShader.scatterPhoton
(ShadingState state, Color power)