This function determines the actual spectral curve data.
This function determines the actual spectral curve data.
This function determines the actual spectral curve data.
This function determines the actual spectral curve data.
Create a uniform scaling matrix.
Creates a non-uniform scaling matrix.
Scatter a photon with the specied power.
Scatter a photon with the specied power.
Scatter a photon with the specied power.
Scatter a photon with the specied power.
Scatter a photon with the specied power.
Scatter a photon with the specied power.
Scatter a photon with the specied power.
Represents a entire scene, defined as a collection of instances viewed by a
camera.
Simple interface to allow for scene creation from arbitrary file formats.
This class provides a static method for loading files in the Sunflow scene
file format.
Write a value to the specified index.
Write a value to the specified index.
Sets the active user interface implementation.
The provided instance will be considered for lightmap baking.
Define the orthonormal basis for the current hit point.
Sets the current camera (no support for multiple cameras yet).
Set the value of the current frame.
Setup how many faces should be used to check member count on "face"
interpolated parameters.
Setup how many "face-vertices" should be used to check member count of
"facevarying" interpolated parameters.
Update the instance lists for this scene.
Record an intersection with the specified primitive id.
Update the light list for this scene.
Updates the maximum to the specified distance if and only if the new
distance is smaller than the current one.
Record which modifier should be applied to the intersected surface
Set the diffuse and specular radiance emitted by the current light
source.
Record which shader should be executed for the intersected surface.
Enables shader overiding (set null to disable).
Set the current shadow ray.
Setup how many vertices should be used to check member count of "vertex"
interpolated parameters.
Run the shader at this surface point.
A shader represents a particular light-surface interaction.
Defines a shader with a given name.
Sets a global shader override to the specified shader name.
Represents a point to be shaded and provides various options for the shading
of this point, including spawning of new rays.
Null implementation of a user interface.
Solves the equation ax^2+bx+c=0.
Solve a quartic equation of the form ax^4+bx^3+cx^2+cx^1+d=0.
This class is an abstract interface to sampled or analytic spectral data.
Computes a phong specular response to the current light samples and
global illumination.
Store the specified photon.
Store the specified photon.
Store the specified photon.
Records a photon at the specified location.
This API gives a simple interface for creating scenes procedurally.