Uses of Class
org.sunflow.core.ShadingState
-
Packages that use ShadingState Package Description org.sunflow.core org.sunflow.core.gi org.sunflow.core.light org.sunflow.core.modifiers org.sunflow.core.photonmap org.sunflow.core.primitive org.sunflow.core.shader -
-
Uses of ShadingState in org.sunflow.core
Methods in org.sunflow.core that return ShadingState Modifier and Type Method Description ShadingStateScene. 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 pixelShadingStateShadingState. 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 ShadingState Modifier and Type Method Description voidShadingCache. add(ShadingState state, Shader shader, Color c)ColorGIEngine. 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).ColorGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)Return the incomming irradiance due to indirect diffuse illumination at the specified surface point.ColorShader. getOpacity(ShadingState state)Returns how much light is blocked by this shader.ColorShader. getRadiance(ShadingState state)Gets the radiance for a specified rendering state.voidCausticPhotonMapInterface. getSamples(ShadingState state)Retrieve caustic photons at the specified shading location and add them as diffuse light samples.voidLightSource. getSamples(ShadingState state)Samples the light source to compute direct illumination.ColorShadingCache. lookup(ShadingState state, Shader shader)voidModifier. modify(ShadingState state)Modify the shading state for the point to be shaded.voidInstance. prepareShadingState(ShadingState state)Prepare the shading state for shader invocation.voidPrimitiveList. prepareShadingState(ShadingState state)Prepare the specifiedShadingStateby setting all of its internal parameters.voidShader. scatterPhoton(ShadingState state, Color power)Scatter a photon with the specied power.voidPhotonStore. store(ShadingState state, Vector3 dir, Color power, Color diffuse)Store the specified photon.voidLightSample. 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 ShadingState Modifier and Type Method Description ColorAmbientOcclusionGIEngine. getGlobalRadiance(ShadingState state)ColorFakeGIEngine. getGlobalRadiance(ShadingState state)ColorInstantGI. getGlobalRadiance(ShadingState state)ColorIrradianceCacheGIEngine. getGlobalRadiance(ShadingState state)ColorPathTracingGIEngine. getGlobalRadiance(ShadingState state)ColorAmbientOcclusionGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)ColorFakeGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)ColorInstantGI. getIrradiance(ShadingState state, Color diffuseReflectance)ColorIrradianceCacheGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)ColorPathTracingGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance) -
Uses of ShadingState in org.sunflow.core.light
Methods in org.sunflow.core.light with parameters of type ShadingState Modifier and Type Method Description ColorImageBasedLight. getOpacity(ShadingState state)ColorSphereLight. getOpacity(ShadingState state)ColorSunSkyLight. getOpacity(ShadingState state)ColorTriangleMeshLight. getOpacity(ShadingState state)ColorImageBasedLight. getRadiance(ShadingState state)ColorSphereLight. getRadiance(ShadingState state)ColorSunSkyLight. getRadiance(ShadingState state)ColorTriangleMeshLight. getRadiance(ShadingState state)voidDirectionalSpotlight. getSamples(ShadingState state)voidImageBasedLight. getSamples(ShadingState state)voidPointLight. getSamples(ShadingState state)voidSphereLight. getSamples(ShadingState state)voidSunSkyLight. getSamples(ShadingState state)voidTriangleMeshLight. getSamples(ShadingState state)booleanSphereLight. isVisible(ShadingState state)voidImageBasedLight. prepareShadingState(ShadingState state)voidSunSkyLight. prepareShadingState(ShadingState state)voidImageBasedLight. scatterPhoton(ShadingState state, Color power)voidSphereLight. scatterPhoton(ShadingState state, Color power)voidSunSkyLight. scatterPhoton(ShadingState state, Color power)voidTriangleMeshLight. scatterPhoton(ShadingState state, Color power) -
Uses of ShadingState in org.sunflow.core.modifiers
Methods in org.sunflow.core.modifiers with parameters of type ShadingState Modifier and Type Method Description voidBumpMappingModifier. modify(ShadingState state)voidNormalMapModifier. modify(ShadingState state)voidPerlinModifier. modify(ShadingState state) -
Uses of ShadingState in org.sunflow.core.photonmap
Methods in org.sunflow.core.photonmap with parameters of type ShadingState Modifier and Type Method Description voidCausticPhotonMap. getSamples(ShadingState state)voidCausticPhotonMap. store(ShadingState state, Vector3 dir, Color power, Color diffuse)voidGlobalPhotonMap. store(ShadingState state, Vector3 dir, Color power, Color diffuse)voidGridPhotonMap. store(ShadingState state, Vector3 dir, Color power, Color diffuse) -
Uses of ShadingState in org.sunflow.core.primitive
-
Uses of ShadingState in org.sunflow.core.shader
Methods in org.sunflow.core.shader with parameters of type ShadingState Modifier and Type Method Description ColorAmbientOcclusionShader. getBrightColor(ShadingState state)ColorTexturedAmbientOcclusionShader. getBrightColor(ShadingState state)protected ColorAnisotropicWardShader. getDiffuse(ShadingState state)ColorDiffuseShader. getDiffuse(ShadingState state)protected ColorPhongShader. getDiffuse(ShadingState state)ColorShinyDiffuseShader. getDiffuse(ShadingState state)ColorTexturedDiffuseShader. getDiffuse(ShadingState state)ColorTexturedPhongShader. getDiffuse(ShadingState state)ColorTexturedShinyDiffuseShader. getDiffuse(ShadingState state)ColorTexturedWardShader. getDiffuse(ShadingState state)ColorUberShader. getDiffuse(ShadingState state)ColorWireframeShader. getFillColor(ShadingState state)ColorWireframeShader. getLineColor(ShadingState state)ColorAmbientOcclusionShader. getOpacity(ShadingState state)ColorAnisotropicWardShader. getOpacity(ShadingState state)ColorConstantShader. getOpacity(ShadingState state)ColorDiffuseShader. getOpacity(ShadingState state)ColorGlassShader. getOpacity(ShadingState state)ColorIDShader. getOpacity(ShadingState state)ColorMirrorShader. getOpacity(ShadingState state)ColorNormalShader. getOpacity(ShadingState state)ColorPhongShader. getOpacity(ShadingState state)ColorPrimIDShader. getOpacity(ShadingState state)ColorQuickGrayShader. getOpacity(ShadingState state)ColorShinyDiffuseShader. getOpacity(ShadingState state)ColorSimpleShader. getOpacity(ShadingState state)ColorTexturedDiffuseShader. getOpacity(ShadingState state)ColorTexturedPhongShader. getOpacity(ShadingState state)ColorTexturedShinyDiffuseShader. getOpacity(ShadingState state)ColorTexturedWardShader. getOpacity(ShadingState state)ColorUberShader. getOpacity(ShadingState state)ColorUVShader. getOpacity(ShadingState state)ColorViewCausticsShader. getOpacity(ShadingState state)ColorViewGlobalPhotonsShader. getOpacity(ShadingState state)ColorViewIrradianceShader. getOpacity(ShadingState state)ColorWireframeShader. getOpacity(ShadingState state)ColorAmbientOcclusionShader. getRadiance(ShadingState state)ColorAnisotropicWardShader. getRadiance(ShadingState state)ColorConstantShader. getRadiance(ShadingState state)ColorDiffuseShader. getRadiance(ShadingState state)ColorGlassShader. getRadiance(ShadingState state)ColorIDShader. getRadiance(ShadingState state)ColorMirrorShader. getRadiance(ShadingState state)ColorNormalShader. getRadiance(ShadingState state)ColorPhongShader. getRadiance(ShadingState state)ColorPrimIDShader. getRadiance(ShadingState state)ColorQuickGrayShader. getRadiance(ShadingState state)ColorShinyDiffuseShader. getRadiance(ShadingState state)ColorSimpleShader. getRadiance(ShadingState state)ColorTexturedDiffuseShader. getRadiance(ShadingState state)ColorTexturedPhongShader. getRadiance(ShadingState state)ColorTexturedShinyDiffuseShader. getRadiance(ShadingState state)ColorUberShader. getRadiance(ShadingState state)ColorUVShader. getRadiance(ShadingState state)ColorViewCausticsShader. getRadiance(ShadingState state)ColorViewGlobalPhotonsShader. getRadiance(ShadingState state)ColorViewIrradianceShader. getRadiance(ShadingState state)ColorWireframeShader. getRadiance(ShadingState state)ColorUberShader. getSpecular(ShadingState state)voidAmbientOcclusionShader. scatterPhoton(ShadingState state, Color power)voidAnisotropicWardShader. scatterPhoton(ShadingState state, Color power)voidConstantShader. scatterPhoton(ShadingState state, Color power)voidDiffuseShader. scatterPhoton(ShadingState state, Color power)voidGlassShader. scatterPhoton(ShadingState state, Color power)voidIDShader. scatterPhoton(ShadingState state, Color power)voidMirrorShader. scatterPhoton(ShadingState state, Color power)voidNormalShader. scatterPhoton(ShadingState state, Color power)voidPhongShader. scatterPhoton(ShadingState state, Color power)voidPrimIDShader. scatterPhoton(ShadingState state, Color power)voidQuickGrayShader. scatterPhoton(ShadingState state, Color power)voidShinyDiffuseShader. scatterPhoton(ShadingState state, Color power)voidSimpleShader. scatterPhoton(ShadingState state, Color power)voidUberShader. scatterPhoton(ShadingState state, Color power)voidUVShader. scatterPhoton(ShadingState state, Color power)voidViewCausticsShader. scatterPhoton(ShadingState state, Color power)voidViewGlobalPhotonsShader. scatterPhoton(ShadingState state, Color power)voidViewIrradianceShader. scatterPhoton(ShadingState state, Color power)voidWireframeShader. scatterPhoton(ShadingState state, Color power)
-