A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

S

sample(float) - Method in class org.sunflow.image.BlackbodySpectrum
 
sample(float) - Method in class org.sunflow.image.ChromaticitySpectrum
 
sample(float) - Method in class org.sunflow.image.ConstantSpectralCurve
 
sample(float) - Method in class org.sunflow.image.IrregularSpectralCurve
 
sample(float) - Method in class org.sunflow.image.RegularSpectralCurve
 
sample(float) - Method in class org.sunflow.image.SpectralCurve
This function determines the actual spectral curve data.
sample(float) - Method in class org.sunflow.math.MovingMatrix4
 
save(String) - Method in class org.sunflow.image.formats.GenericBitmap
 
save(String) - Method in class org.sunflow.system.ImagePanel
 
SCAbstractParser - Class in org.sunflow.core.parser
 
SCAbstractParser() - Constructor for class org.sunflow.core.parser.SCAbstractParser
 
SCAbstractParser.Keyword - Enum in org.sunflow.core.parser
 
scale(float) - Static method in class org.sunflow.math.Matrix4
Create a uniform scaling matrix.
scale(float, float, float) - Static method in class org.sunflow.math.Matrix4
Creates a non-uniform scaling matrix.
SCAsciiParser - Class in org.sunflow.core.parser
 
SCAsciiParser() - Constructor for class org.sunflow.core.parser.SCAsciiParser
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.light.ImageBasedLight
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.light.SphereLight
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.light.SunSkyLight
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.light.TriangleMeshLight
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.primitive.CornellBox
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.primitive.Hair
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.AmbientOcclusionShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.AnisotropicWardShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.ConstantShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.DiffuseShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.GlassShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.IDShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.MirrorShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.NormalShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.PhongShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.PrimIDShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.QuickGrayShader
 
scatterPhoton(ShadingState, Color) - Method in interface org.sunflow.core.Shader
Scatter a photon with the specied power.
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.ShinyDiffuseShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.SimpleShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.UberShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.UVShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.ViewCausticsShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.ViewGlobalPhotonsShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.ViewIrradianceShader
 
scatterPhoton(ShadingState, Color) - Method in class org.sunflow.core.shader.WireframeShader
 
SCBinaryParser - Class in org.sunflow.core.parser
 
SCBinaryParser() - Constructor for class org.sunflow.core.parser.SCBinaryParser
 
Scene - Class in org.sunflow.core
Represents a entire scene, defined as a collection of instances viewed by a camera.
Scene() - Constructor for class org.sunflow.core.Scene
Creates an empty scene.
SceneParser - Interface in org.sunflow.core
Simple interface to allow for scene creation from arbitrary file formats.
SCParser - Class in org.sunflow.core.parser
This class provides a static method for loading files in the Sunflow scene file format.
SCParser() - Constructor for class org.sunflow.core.parser.SCParser
 
searchpath(String, String) - Method in class org.sunflow.SunflowAPI
 
searchpath(String, String) - Method in interface org.sunflow.SunflowAPIInterface
Add the specified path to the list of directories which are searched automatically to resolve scene filenames or textures.
SearchPath - Class in org.sunflow.system
 
SearchPath(String) - Constructor for class org.sunflow.system.SearchPath
 
seconds() - Method in class org.sunflow.system.Timer
 
set(float, float, float) - Method in class org.sunflow.image.Color
 
set(Color) - Method in class org.sunflow.image.Color
 
set(float, float) - Method in class org.sunflow.math.Point2
 
set(Point2) - Method in class org.sunflow.math.Point2
 
set(float, float, float) - Method in class org.sunflow.math.Point3
 
set(Point3) - Method in class org.sunflow.math.Point3
 
set(float, float, float) - Method in class org.sunflow.math.Vector3
 
set(Vector3) - Method in class org.sunflow.math.Vector3
 
set(UserInterface) - Static method in class org.sunflow.system.UI
Sets the active user interface implementation.
set(int, float) - Method in class org.sunflow.util.FloatArray
Write a value to the specified index.
set(int, int) - Method in class org.sunflow.util.IntArray
Write a value to the specified index.
setBakingInstance(Instance) - Method in class org.sunflow.core.Scene
The provided instance will be considered for lightmap baking.
setBasis(OrthoNormalBasis) - Method in class org.sunflow.core.ShadingState
Define the orthonormal basis for the current hit point.
setCamera(Camera) - Method in class org.sunflow.core.Scene
Sets the current camera (no support for multiple cameras yet).
setDumpMode(boolean, String) - Static method in class org.sunflow.core.accel.KDTree
 
setFaceCount(int) - Method in class org.sunflow.core.ParameterList
Setup how many faces should be used to check member count on "face" interpolated parameters.
setFaceVertexCount(int) - Method in class org.sunflow.core.ParameterList
Setup how many "face-vertices" should be used to check member count of "facevarying" interpolated parameters.
setInstanceLists(Instance[], Instance[]) - Method in class org.sunflow.core.Scene
Update the instance lists for this scene.
setIntersection(int) - Method in class org.sunflow.core.IntersectionState
Record an intersection with the specified primitive id.
setIntersection(int, float, float) - Method in class org.sunflow.core.IntersectionState
Record an intersection with the specified primitive id.
setIntersection(int, float, float, float) - Method in class org.sunflow.core.IntersectionState
Record an intersection with the specified primitive id.
setLightList(LightSource[]) - Method in class org.sunflow.core.Scene
Update the light list for this scene.
setMax(float) - Method in class org.sunflow.core.Ray
Updates the maximum to the specified distance if and only if the new distance is smaller than the current one.
setMinMax(float, float) - Method in class org.sunflow.core.Ray
 
setModifier(Modifier) - Method in class org.sunflow.core.ShadingState
Record which modifier should be applied to the intersected surface
setRadiance(Color, Color) - Method in class org.sunflow.core.LightSample
Set the diffuse and specular radiance emitted by the current light source.
setRGB(int) - Method in class org.sunflow.image.Color
 
setRGBE(int) - Method in class org.sunflow.image.Color
 
setShader(Shader) - Method in class org.sunflow.core.ShadingState
Record which shader should be executed for the intersected surface.
setShaderOverride(Shader, boolean) - Method in class org.sunflow.core.Scene
Enables shader overiding (set null to disable).
setShadowRay(Ray) - Method in class org.sunflow.core.LightSample
Set the current shadow ray.
setSmallTriangles(boolean) - Static method in class org.sunflow.core.primitive.TriangleMesh
 
setSteps(int) - Method in class org.sunflow.math.MovingMatrix4
Redefines the number of steps in the matrix.
setVertexCount(int) - Method in class org.sunflow.core.ParameterList
Setup how many vertices should be used to check member count of "vertex" interpolated parameters.
shade() - Method in class org.sunflow.core.ShadingState
Run the shader at this surface point.
Shader - Interface in org.sunflow.core
A shader represents a particular light-surface interaction.
shader(String, String) - Method in class org.sunflow.SunflowAPI
 
shader(String, String) - Method in interface org.sunflow.SunflowAPIInterface
Defines a shader with a given name.
shaderPlugins - Static variable in class org.sunflow.PluginRegistry
 
ShadingCache - Class in org.sunflow.core
 
ShadingCache() - Constructor for class org.sunflow.core.ShadingCache
 
ShadingState - Class in org.sunflow.core
Represents a point to be shaded and provides various options for the shading of this point, including spawning of new rays.
ShaveRibParser - Class in org.sunflow.core.parser
 
ShaveRibParser() - Constructor for class org.sunflow.core.parser.ShaveRibParser
 
ShinyDiffuseShader - Class in org.sunflow.core.shader
 
ShinyDiffuseShader() - Constructor for class org.sunflow.core.shader.ShinyDiffuseShader
 
sigma(int, int) - Static method in class org.sunflow.math.QMC
Compute sigma function used to seed QMC sequence trees.
SilentInterface - Class in org.sunflow.system.ui
Null implementation of a user interface.
SilentInterface() - Constructor for class org.sunflow.system.ui.SilentInterface
 
SimpleRenderer - Class in org.sunflow.core.renderer
 
SimpleRenderer() - Constructor for class org.sunflow.core.renderer.SimpleRenderer
 
SimpleShader - Class in org.sunflow.core.shader
 
SimpleShader() - Constructor for class org.sunflow.core.shader.SimpleShader
 
SincFilter - Class in org.sunflow.core.filter
 
SincFilter() - Constructor for class org.sunflow.core.filter.SincFilter
 
size() - Method in class org.sunflow.core.photonmap.GridPhotonMap
 
sizeof(int[]) - Static method in class org.sunflow.system.Memory
 
smoothStep(float, float, float) - Static method in class org.sunflow.math.MathUtils
 
SMPTE_240M - Static variable in class org.sunflow.image.RGBSpace
 
SMPTE_C - Static variable in class org.sunflow.image.RGBSpace
 
snoise(float) - Static method in class org.sunflow.math.PerlinScalar
 
snoise(float, float) - Static method in class org.sunflow.math.PerlinScalar
 
snoise(float, float, float) - Static method in class org.sunflow.math.PerlinScalar
 
snoise(float, float, float, float) - Static method in class org.sunflow.math.PerlinScalar
 
snoise(Point2) - Static method in class org.sunflow.math.PerlinScalar
 
snoise(Point3) - Static method in class org.sunflow.math.PerlinScalar
 
snoise(Point3, float) - Static method in class org.sunflow.math.PerlinScalar
 
snoise(float) - Static method in class org.sunflow.math.PerlinVector
 
snoise(float, float) - Static method in class org.sunflow.math.PerlinVector
 
snoise(float, float, float) - Static method in class org.sunflow.math.PerlinVector
 
snoise(float, float, float, float) - Static method in class org.sunflow.math.PerlinVector
 
snoise(Point2) - Static method in class org.sunflow.math.PerlinVector
 
snoise(Point3) - Static method in class org.sunflow.math.PerlinVector
 
snoise(Point3, float) - Static method in class org.sunflow.math.PerlinVector
 
solveQuadric(double, double, double) - Static method in class org.sunflow.math.Solvers
Solves the equation ax^2+bx+c=0.
solveQuartic(double, double, double, double, double) - Static method in class org.sunflow.math.Solvers
Solve a quartic equation of the form ax^4+bx^3+cx^2+cx^1+d=0.
Solvers - Class in org.sunflow.math
 
Solvers() - Constructor for class org.sunflow.math.Solvers
 
SpectralCurve - Class in org.sunflow.image
This class is an abstract interface to sampled or analytic spectral data.
SpectralCurve() - Constructor for class org.sunflow.image.SpectralCurve
 
specularPhong(Color, float, int) - Method in class org.sunflow.core.ShadingState
Computes a phong specular response to the current light samples and global illumination.
Sphere - Class in org.sunflow.core.primitive
 
Sphere() - Constructor for class org.sunflow.core.primitive.Sphere
 
SphereFlake - Class in org.sunflow.core.primitive
 
SphereFlake() - Constructor for class org.sunflow.core.primitive.SphereFlake
 
SphereLight - Class in org.sunflow.core.light
 
SphereLight() - Constructor for class org.sunflow.core.light.SphereLight
 
SphericalLens - Class in org.sunflow.core.camera
 
SphericalLens() - Constructor for class org.sunflow.core.camera.SphericalLens
 
SpiralBucketOrder - Class in org.sunflow.core.bucket
 
SpiralBucketOrder() - Constructor for class org.sunflow.core.bucket.SpiralBucketOrder
 
spnoise(float, float) - Static method in class org.sunflow.math.PerlinScalar
 
spnoise(float, float, float, float) - Static method in class org.sunflow.math.PerlinScalar
 
spnoise(float, float, float, float, float, float) - Static method in class org.sunflow.math.PerlinScalar
 
spnoise(float, float, float, float, float, float, float, float) - Static method in class org.sunflow.math.PerlinScalar
 
spnoise(Point2, float, float) - Static method in class org.sunflow.math.PerlinScalar
 
spnoise(Point3, Vector3) - Static method in class org.sunflow.math.PerlinScalar
 
spnoise(Point3, float, Vector3, float) - Static method in class org.sunflow.math.PerlinScalar
 
spnoise(float, float) - Static method in class org.sunflow.math.PerlinVector
 
spnoise(float, float, float, float) - Static method in class org.sunflow.math.PerlinVector
 
spnoise(float, float, float, float, float, float) - Static method in class org.sunflow.math.PerlinVector
 
spnoise(float, float, float, float, float, float, float, float) - Static method in class org.sunflow.math.PerlinVector
 
spnoise(Point2, float, float) - Static method in class org.sunflow.math.PerlinVector
 
spnoise(Point3, Vector3) - Static method in class org.sunflow.math.PerlinVector
 
spnoise(Point3, float, Vector3, float) - Static method in class org.sunflow.math.PerlinVector
 
SRGB - Static variable in class org.sunflow.image.RGBSpace
 
start() - Method in class org.sunflow.system.Timer
 
Statistics - Class in org.sunflow.core
 
store(ShadingState, Vector3, Color, Color) - Method in class org.sunflow.core.photonmap.CausticPhotonMap
 
store(ShadingState, Vector3, Color, Color) - Method in class org.sunflow.core.photonmap.GlobalPhotonMap
 
store(ShadingState, Vector3, Color, Color) - Method in class org.sunflow.core.photonmap.GridPhotonMap
 
store(ShadingState, Vector3, Color, Color) - Method in interface org.sunflow.core.PhotonStore
Store the specified photon.
storePhoton(Vector3, Color, Color) - Method in class org.sunflow.core.ShadingState
Records a photon at the specified location.
sub(Color) - Method in class org.sunflow.image.Color
 
sub(Color, Color) - Static method in class org.sunflow.image.Color
 
sub(Color, Color, Color) - Static method in class org.sunflow.image.Color
 
sub(Point3, Point3, Vector3) - Static method in class org.sunflow.math.Point3
 
sub(Vector3, Vector3, Vector3) - Static method in class org.sunflow.math.Vector3
 
SunflowAPI - Class in org.sunflow
This API gives a simple interface for creating scenes procedurally.
SunflowAPI() - Constructor for class org.sunflow.SunflowAPI
Creates an empty scene.
SunflowAPIInterface - Interface in org.sunflow
This interface represents the entry point for rendering scenes using Sunflow.
SunSkyLight - Class in org.sunflow.core.light
 
SunSkyLight() - Constructor for class org.sunflow.core.light.SunSkyLight
 
swapUV() - Method in class org.sunflow.math.OrthoNormalBasis
 
swapVW() - Method in class org.sunflow.math.OrthoNormalBasis
 
swapWU() - Method in class org.sunflow.math.OrthoNormalBasis
 

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z