Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Twinklebear/tray_rust
/ types & classes
Types & classes
105 in github.com/Twinklebear/tray_rust
⨍
Functions
483
◇
Types & classes
105
↓ 2 callers
Class
Emitter
An instance of geometry in the scene that receives and emits light.
src/geometry/emitter.rs:79
↓ 1 callers
Class
Receiver
An instance of geometry in the scene that only receives light
src/geometry/receiver.rs:9
Class
Adaptive
Adaptive sampler that makes use of the (0, 2) sequence to generate well distributed samples and takes `min_spp` to `max_spp` samples per pixel
src/sampler/adaptive.rs:16
Class
AnimatedColor
src/film/animated_color.rs:40
Class
AnimatedImage
An `AnimatedImage` texture is a `Texture` whose samples come from a series of `Image`s which are played through over time.
src/texture/animated_image.rs:7
Class
AnimatedMesh
An animated mesh composed of a series of meshes linearly interpolated between over time. It's assumed the mesh topology does not change.
src/geometry/animated_mesh.rs:109
Class
AnimatedMeshData
src/geometry/animated_mesh.rs:38
Class
AnimatedTransform
src/linalg/animated_transform.rs:14
Class
AnimatedTriangle
An animated triangle in the mesh. Just stores a reference to the mesh and the indices of each vertex
src/geometry/animated_mesh.rs:147
Class
Args
src/main.rs:45
Enum
Axis
src/linalg/mod.rs:30
Class
BBox
src/geometry/bbox.rs:12
Class
BSDF
The BSDF contains the various BRDFs and BTDFs that describe the surface's properties at some point. It also transforms incident and outgoing light dir
src/bxdf/bsdf.rs:19
Class
BVH
A standard BVH2 that stores objects that can report their bounds in some space via the `Boundable` trait. The BVH is constructed using a SAH partition
src/geometry/bvh.rs:13
Class
Beckmann
src/bxdf/microfacet/beckmann.rs:13
Class
BlockQueue
The queue of blocks to be worked on shared immutably between worker threads.
src/sampler/block_queue.rs:11
Class
BlockQueueIterator
Iterator to work through the queue safely
src/sampler/block_queue.rs:21
Interface
Boundable
Trait implemented by scene objects that can report an AABB describing their bounds
src/geometry/mod.rs:65
Interface
BoundableGeom
src/geometry/mod.rs:91
Class
BuildNode
src/geometry/bvh.rs:349
Enum
BuildNodeData
src/geometry/bvh.rs:328
Interface
BxDF
Trait implemented by BRDF/BTDFs in `tray_rust`. Provides methods for evaluating and sampling the function
src/bxdf/mod.rs:92
Enum
BxDFType
src/bxdf/mod.rs:37
Class
Camera
src/film/camera.rs:34
Enum
CameraFov
src/film/camera.rs:27
Class
ColorKeyframe
src/film/animated_color.rs:10
Class
Colorf
src/film/color.rs:13
Class
Conductor
src/bxdf/fresnel.rs:73
Class
Config
src/exec/mod.rs:17
Class
ConstantColor
A single valued, solid color texture
src/texture/mod.rs:61
Class
ConstantScalar
A single valued, solid scalar texture
src/texture/mod.rs:43
Class
Dielectric
src/bxdf/fresnel.rs:35
Class
DifferentialGeometry
src/geometry/differential_geometry.rs:9
Class
Disk
src/geometry/disk.rs:29
Enum
DistributedFrame
src/exec/distrib/master.rs:26
Enum
EmitterType
The type of emitter, either a point light or an area light in which case the emitter has associated geometry and a material TODO: Am I happy with this
src/geometry/emitter.rs:71
Interface
Exec
Trait implemented by different execution environments that provides a method to call and render the scene, given the rendering arguments
src/exec/mod.rs:41
Interface
Filter
Trait implemented by all reconstructon filters. Provides methods for getting the width/height and computing the weight at some point relative to the f
src/film/filter/mod.rs:15
Class
FlatNode
src/geometry/bvh.rs:289
Enum
FlatNodeData
src/geometry/bvh.rs:278
Class
Frame
src/exec/distrib/mod.rs:79
Class
FrameInfo
src/film/mod.rs:20
Interface
Fresnel
The Fresnel trait implemented by the various Fresnel term components
src/bxdf/fresnel.rs:28
Class
GGX
src/bxdf/microfacet/ggx.rs:14
Class
Gaussian
src/film/filter/gaussian.rs:10
Class
GeomInfo
Information about the location and bounds of some geometry
src/geometry/bvh.rs:309
Interface
Geometry
Trait implemented by geometric primitives
src/geometry/mod.rs:55
Class
Glass
The Glass material describes specularly transmissive and reflective glass material
src/material/glass.rs:32
Class
Image
An `Image` texture is a `Texture` whose samples come from an image file.
src/texture/image.rs:9
Class
Image
src/film/image.rs:9
Class
ImageSample
A struct containing results of an image sample where a ray was fired through continuous pixel coordinates [x, y] and color `color` was computed
src/film/render_target.rs:16
Enum
Instance
Defines an instance of some geometry with its own transform and material
src/geometry/instance.rs:72
Class
Instructions
src/exec/distrib/mod.rs:52
Interface
Integrator
Trait implemented by the various integration methods that can be used to render the scene. For scene usage information see whitted and path to get inf
src/integrator/mod.rs:43
Class
Intersection
src/geometry/intersection.rs:11
Class
Keyframe
src/linalg/keyframe.rs:13
Class
Lambertian
src/bxdf/lambertian.rs:13
Interface
Light
Trait implemented by all lights in `tray_rust`. Provides methods for sampling the light and in the future ones for checking if it's a delta light, com
src/light/mod.rs:43
Class
LoadedTextures
This lets me enforce only certain types of textures are valid, and to look up the right type of texture result for a given input. But it's a bit of a
src/scene.rs:47
Class
LowDiscrepancy
Low discrepancy sampler that makes use of the (0, 2) sequence to generate well distributed samples
src/sampler/ld.rs:12
Class
Master
The Master organizes the set of Worker processes and instructions them what parts of the scene to render. As workers report results the master collect
src/exec/distrib/master.rs:67
Interface
Material
Trait implemented by materials. Provides method to get the BSDF describing the material properties at the intersection
src/material/mod.rs:44
Class
Matrix4
src/linalg/matrix4.rs:7
Class
Matte
The Matte material describes diffuse materials with either a Lambertian or Oren-Nayar BRDF. The Lambertian BRDF is used for materials with no roughnes
src/material/matte.rs:34
Class
Merl
src/bxdf/merl.rs:18
Class
Merl
Material that uses measured data to model the surface reflectance properties. The measured data is from "A Data-Driven Reflectance Model", by Wojciech
src/material/merl.rs:37
Class
Mesh
A mesh composed of triangles, specified by directly passing the position, normal and index buffers for the triangles making up the mesh
src/geometry/mesh.rs:30
Class
Metal
The Metal material describes metals of varying roughness
src/material/metal.rs:36
Interface
MicrofacetDistribution
Trait implemented by all microfacet distributions
src/bxdf/microfacet/mod.rs:13
Class
MicrofacetTransmission
src/bxdf/microfacet_transmission.rs:17
Class
MitchellNetravali
src/film/filter/mitchell_netravali.rs:12
Class
MultiThreaded
The `MultiThreaded` execution uses a configurable number of threads in a threadpool to render each frame
src/exec/multithreaded.rs:20
Class
Normal
src/linalg/normal.rs:9
Class
NormalsDebug
src/integrator/normals_debug.rs:25
Class
OcclusionTester
src/light/mod.rs:14
Class
OrenNayar
src/bxdf/oren_nayar.rs:13
Class
Path
src/integrator/path.rs:32
Class
Plastic
The Plastic material describes plastic materials of varying roughness
src/material/plastic.rs:37
Class
Point
src/linalg/point.rs:7
Class
Quaternion
src/linalg/quaternion.rs:13
Class
Ray
src/linalg/ray.rs:9
Class
Rectangle
src/geometry/rectangle.rs:25
Class
Region
src/sampler/mod.rs:70
Class
RenderTarget
`RenderTarget` is a RGBF render target to write our image too while rendering
src/film/render_target.rs:29
Class
RoughGlass
The `RoughGlass` material describes specularly transmissive and reflective glass material
src/material/rough_glass.rs:34
Class
SAHBucket
src/geometry/bvh.rs:391
Class
Sample
src/sampler/mod.rs:54
Interface
Sampleable
Trait implemented by geometry that can sample a point on its surface
src/geometry/mod.rs:77
Interface
SampleableGeom
src/geometry/mod.rs:94
Interface
Sampler
Provides the interface for all samplers to implement. Defines functions for getting samples from the sampler and checking the sampler has finished sam
src/sampler/mod.rs:22
Class
Scene
The scene containing the objects and camera configuration we'd like to render, shared immutably among the ray tracing threads
src/scene.rs:93
Class
SpecularMetal
The Specular Metal material describes specularly reflective metals using their refractive index and absorption coefficient
src/material/specular_metal.rs:32
Class
SpecularReflection
src/bxdf/specular_reflection.rs:13
Class
SpecularTransmission
src/bxdf/specular_transmission.rs:13
Class
Sphere
src/geometry/sphere.rs:21
Interface
Texture
scalars or Colors can be computed on some image texture or procedural generator
src/texture/mod.rs:15
Class
TorranceSparrow
src/bxdf/torrance_sparrow.rs:17
Class
Transform
src/linalg/transform.rs:10
Class
Triangle
A triangle in some mesh. Just stores a reference to the mesh and the indices of each vertex
src/geometry/mesh.rs:95
Class
UVColor
src/texture/mod.rs:78
next →
1–100 of 105, ranked by callers