MCPcopy Create free account

hub / github.com/Twinklebear/tray_rust / functions

Functions483 in github.com/Twinklebear/tray_rust

Methodindex_mut
Access the point by index - 0 = x - 1 = y - 2 = z
src/linalg/point.rs:155
Methodindex_mut
Access the vector by index - 0 = x - 1 = y - 2 = z
src/linalg/vector.rs:133
Methodindex_mut
Access the channels by index - 0 = r - 1 = g - 2 = b - 3 = a
src/film/color.rs:169
Methodinterior
Construct a new flattened interior node
src/geometry/bvh.rs:299
Methodinterpolate
(&self, other: &Keyframe, t: f32)
src/linalg/keyframe.rs:67
Methodintersect
Test the ray for intersection against this insance of geometry. returns Some(Intersection) if an intersection was found and None if not. If an interse
src/geometry/emitter.rs:118
Methodintersect
Test the ray for intersection against this insance of geometry. returns Some(Intersection) if an intersection was found and None if not. If an interse
src/geometry/receiver.rs:29
Methodintersect
Test the ray for intersection against this insance of geometry. returns Some(Intersection) if an intersection was found and None if not. If an interse
src/geometry/instance.rs:96
Methodintersect
(&self, ray: &mut linalg::Ray)
src/geometry/animated_mesh.rs:131
Methodintersect
(&self, ray: &mut linalg::Ray)
src/geometry/mesh.rs:82
Methodinv_height
(&self)
src/film/filter/mitchell_netravali.rs:59
Methodinv_mul_normal
Multiply the normal with the inverse transformation
src/linalg/transform.rs:174
Methodinv_width
(&self)
src/film/filter/mitchell_netravali.rs:57
Methodjacobian
Compute the Jacobian for the change of variables (see [Walter et al 07] section 4.2), here we compute equation 17 in that section.
src/bxdf/microfacet_transmission.rs:43
Methodleaf
Construct a new flattened leaf node
src/geometry/bvh.rs:303
Methodlisten_for_master
Listen on the worker `PORT` for the master to contact us and send us instructions about the scene we should render and what parts of it we've been ass
src/exec/distrib/worker.rs:37
Methodload_file
(file: &str)
src/scene.rs:101
Methodload_file
Create a new MERL BRDF by loading the refletance data from a MERL BRDF database file
src/material/merl.rs:51
Methodload_obj
Load all the meshes defined in an OBJ file and return them in a hashmap that maps the model's name in the file to its loaded mesh. TODO: Don't build t
src/geometry/mesh.rs:50
Methodlook_at
Construct the look at transform for a camera at `pos` looking at the point `center` oriented with up vector `up`
src/linalg/transform.rs:112
Functionmain
()
src/main.rs:168
Functionmain
()
examples/plane.rs:16
Functionmain
()
examples/sphere.rs:16
Methodmap_index
Re-map values from an angular value to the index in the MERL data table
src/bxdf/merl.rs:35
Methodmax_spp
(&self)
src/sampler/uniform.rs:46
Methodmax_spp
(&self)
src/sampler/adaptive.rs:118
Methodmul
Compose two transformations
src/linalg/transform.rs:194
Methodmul
Multiply two normals
src/linalg/normal.rs:62
Methodmul
Multiply two matrices
src/linalg/matrix4.rs:235
Methodmul
Scale the point by some value
src/linalg/point.rs:71
Methodmul
Multiply the quaternion by a scalar
src/linalg/quaternion.rs:134
Methodmul
Compose the animated transformations
src/linalg/animated_transform.rs:81
Methodmul
Multiply two vectors
src/linalg/vector.rs:57
Methodmul
Multiply the two colors
src/film/color.rs:98
Methodneg
Negate the normal
src/linalg/normal.rs:102
Methodneg
Negate the point
src/linalg/point.rs:111
Methodneg
Negate the quaternion
src/linalg/quaternion.rs:158
Methodneg
Negate the vector
src/linalg/vector.rs:105
Methodneg
Negate the color channels
src/film/color.rs:138
Methodnew
Create a new instance of some geometry in the scene
src/geometry/receiver.rs:22
Methodnew
Create a new disk with some inner and outer radius
src/geometry/disk.rs:36
Methodnew
Setup the differential geometry. Note that the normal will be computed using cross(dp_du, dp_dv)
src/geometry/differential_geometry.rs:32
Methodnew
(positions: Vec<Arc<Vec<Point>>>, normals: Vec<Arc<Vec<Normal>>>, texcoords: Vec<Arc<Vec<Point>
src/geometry/animated_mesh.rs:45
Methodnew
Create a new degenerate box
src/geometry/bbox.rs:19
Methodnew
Construct the Intersection from a potential hit stored in a Option<DifferentialGeometry>. Returns None if `dg` is None or if the instance member of `d
src/geometry/intersection.rs:25
Methodnew
Create a new rectangle with the desired width and height
src/geometry/rectangle.rs:32
Methodnew
Create a new Mesh from the triangles described in the buffers passed This data could come from an OBJ file via [tobj](https://github.com/Twinklebear/t
src/geometry/mesh.rs:38
Methodnew
Create a new BVH using a SAH construction algorithm which holds the scene geometry for some time period.
src/geometry/bvh.rs:34
Methodnew
Create a sphere with the desired radius
src/geometry/sphere.rs:27
Methodnew
Create a new Dielectric Fresnel term for the boundary between two objects. `eta_i`: refractive index of the material the light is coming from. `eta_t`
src/bxdf/fresnel.rs:46
Methodnew
Create a new Lambertian BRDF with the desired reflective color property
src/bxdf/lambertian.rs:20
Methodnew
Create a new Torrance Sparrow microfacet BRDF
src/bxdf/torrance_sparrow.rs:27
Methodnew
Create a new transmissive microfacet BRDF
src/bxdf/microfacet_transmission.rs:27
Methodnew
Create a MERL BRDF to use data loaded from a MERL BRDF data file
src/bxdf/merl.rs:31
Methodnew
Create a new BSDF using the BxDFs passed to shade the differential geometry with refractive index `eta`
src/bxdf/bsdf.rs:38
Methodnew
Create a specularly transmissive BTDF with the color and Fresnel term
src/bxdf/specular_transmission.rs:22
Methodnew
Create a specularly reflective BRDF with the reflective color and Fresnel term
src/bxdf/specular_reflection.rs:22
Methodnew
Create a new Oren-Nayar BRDF with the desired color and roughness `roughness` should be the variance of the Gaussian describing the microfacet distrib
src/bxdf/oren_nayar.rs:26
Methodnew
Create a new Beckmann distribution with the desired width
src/bxdf/microfacet/beckmann.rs:19
Methodnew
Create a new GGX distribution with the desired width
src/bxdf/microfacet/ggx.rs:20
Methodnew
Initialize the normal and set values for x, y, z
src/linalg/normal.rs:17
Methodnew
Construct a new keyframe transformation, The transform will be stored in a decomposed form, M = TRS.
src/linalg/keyframe.rs:22
Methodnew
Create the matrix using the values passed
src/linalg/matrix4.rs:26
Methodnew
Initialize the point and set values for x, y, z
src/linalg/point.rs:15
Methodnew
Initialize the vector and set values for x, y, z
src/linalg/vector.rs:16
Methodnew
Create a new ray from `o` heading in `d` with infinite length
src/linalg/ray.rs:26
Methodnew
(val: f32)
src/texture/mod.rs:47
Methodnew
(img: image::DynamicImage)
src/texture/image.rs:14
Methodnew
(frames: Vec<(f32, Image)>)
src/texture/animated_image.rs:15
Methodnew
Create a new multithreaded renderer which will use `num_threads` to render the image
src/exec/multithreaded.rs:26
Methodnew
(out_path: PathBuf, scene_file: String, spp: usize, num_threads: u32, frame_info: FrameInfo, se
src/exec/mod.rs:31
Methodnew
(scene: &str, frames: (usize, usize), block_start: usize, block_count: usize)
src/exec/distrib/mod.rs:67
Methodnew
()
src/exec/distrib/master.rs:59
Methodnew
Create a new metal material specifying the reflectance properties of the metal
src/material/metal.rs:44
Methodnew
Create a new Matte material with the desired diffuse color and roughness
src/material/matte.rs:41
Methodnew
Create the `RoughGlass` material with the desired color and index of refraction `reflect`: color of reflected light `transmit`: color of transmitted l
src/material/rough_glass.rs:47
Methodnew
Create a new specular metal with the desired metal properties. `eta`: refractive index of the metal `k`: absorption coefficient of the metal
src/material/specular_metal.rs:41
Methodnew
Create the glass material with the desired color and index of refraction `reflect`: color of reflected light `transmit`: color of transmitted light `e
src/material/glass.rs:43
Methodnew
Create a new plastic material specifying the diffuse and glossy colors along with the roughness of the surface
src/material/plastic.rs:46
Methodnew
Create a new path integrator with the min and max length desired for paths
src/integrator/path.rs:39
Methodnew
Create a new Whitted integrator with the desired maximum recursion depth for rays
src/integrator/whitted.rs:37
Methodnew
Create a new sample taking the 2D sample values from the slice
src/sampler/mod.rs:63
Methodnew
Create a low discrepancy sampler to sample the image in `dim.0 * dim.1` sized blocks
src/sampler/ld.rs:21
Methodnew
Create a block queue for the image with dimensions `img`. Panics if the image is not evenly broken into blocks of dimension `dim`
src/sampler/block_queue.rs:28
Methodnew
Create a uniform sampler to sample the image in `dim.0 * dim.1` sized blocks
src/sampler/uniform.rs:17
Methodnew
Create a low discrepancy sampler to sample the image in `dim.0 * dim.1` sized blocks
src/sampler/adaptive.rs:34
Methodnew
(frames: usize, time: f32, start: usize, end: usize)
src/film/mod.rs:32
Methodnew
(color: &Colorf, time: f32)
src/film/animated_color.rs:16
Methodnew
Create the camera with some orientation in the world specified by `cam_world` and a perspective projection with `fov`. The render target dimensions `d
src/film/camera.rs:64
Methodnew
Create an RGB color
src/film/color.rs:22
Methodnew
(dimensions: (usize, usize))
src/film/image.rs:15
Methodnew
(x: f32, y: f32, color: Colorf)
src/film/render_target.rs:23
Methodnew
(w: f32, h: f32, b: f32, c: f32)
src/film/filter/mitchell_netravali.rs:22
Methodnew
(w: f32, h: f32, alpha: f32)
src/film/filter/gaussian.rs:21
Methodnon_specular
Get an EnumSet containing flags for all non-specular BxDFs
src/bxdf/mod.rs:75
Methodnone
()
src/scene.rs:51
Methodnormalized
Get a normalized copy of this vector
src/linalg/vector.rs:32
Methodnum_bxdfs
Return the total number of BxDFs
src/bxdf/bsdf.rs:46
Methodoffset
Find the position of the point relative to the box, with `min` being the origin
src/geometry/bbox.rs:63
Methodorigin
Initialize a point to be all 0 values
src/linalg/point.rs:23
← previousnext →301–400 of 483, ranked by callers