MCPcopy Create free account

hub / github.com/Twinklebear/tray_rust / functions

Functions483 in github.com/Twinklebear/tray_rust

Methodpdf
(&self, p: &Point, w_i: &Vector)
src/geometry/disk.rs:97
Methodpdf
Compute the PDF that the ray from `p` with direction `w_i` intersects the shape. This is the same as disk for computing PDF, we just use the rectangle
src/geometry/rectangle.rs:91
Methodpdf
Compute the PDF that the ray from `p` with direction `w_i` intersects the shape
src/geometry/sphere.rs:131
Methodpdf
(&self, w_h: &Vector)
src/bxdf/microfacet/beckmann.rs:47
Methodpdf
(&self, w_h: &Vector)
src/bxdf/microfacet/ggx.rs:44
Methodperspective
Construct a perspective transformation
src/linalg/transform.rs:126
Methodpoint_light
Create a point light at the origin that is transformed by `transform` to its location in the world
src/geometry/instance.rs:90
Methodprint_tree
(&self, depth: usize)
src/geometry/bvh.rs:366
Methodready
(&mut self, event_loop: &mut EventLoop<Master>, token: Token, event: EventSet)
src/exec/distrib/master.rs:199
Methodreceiver
Create an instance of the geometry in the scene that will only receive light.
src/geometry/instance.rs:79
Methodreport_results
Let the sampler inspect the results of sampling the pixel so it can determine if more samples should be taken. Returns true if these samples are ok to
src/sampler/mod.rs:48
Methodrotate
Construct a transform to rotate about `axis` by `deg` degrees
src/linalg/transform.rs:91
Methodrotate_x
Construct a transform to rotate `deg` degrees about the x axis
src/linalg/transform.rs:58
Methodrotate_y
Construct a transform to rotate `deg` degrees about the y axis
src/linalg/transform.rs:69
Methodrotate_z
Construct a transform to rotate `deg` degrees about the z axis
src/linalg/transform.rs:80
Methodsample
(&self, _: &Point, samples: &(f32, f32))
src/geometry/rectangle.rs:81
Methodsample
Sample the object using the probability density of the solid angle from `p` to the sampled point on the surface. Returns the sampled point and the sur
src/geometry/sphere.rs:99
Methodsample
(&self, w_o: &Vector, samples: &(f32, f32))
src/bxdf/torrance_sparrow.rs:56
Methodsample
Sample an incident light direction for an outgoing light direction `w_o`. `samples` will be used to randomly sample a direction for the outgoing light
src/bxdf/mod.rs:102
Methodsample
(&self, w_o: &Vector, samples: &(f32, f32))
src/bxdf/microfacet_transmission.rs:84
Methodsample
Sampling the specular BTDF just returns the specular transmission direction for the light leaving along `w_o`
src/bxdf/specular_transmission.rs:39
Methodsample
Sampling the specular BRDF just returns the specular reflection direction for the light leaving along `w_o`
src/bxdf/specular_reflection.rs:39
Methodsample
(&self, _: &Vector, samples: &(f32, f32))
src/bxdf/microfacet/beckmann.rs:36
Methodsample
(&self, _: &Vector, samples: &(f32, f32))
src/bxdf/microfacet/ggx.rs:37
Methodsample_color
(&self, u: f32, v: f32, _: f32)
src/texture/image.rs:42
Methodsample_color
(&self, u: f32, v: f32, time: f32)
src/texture/animated_image.rs:47
Methodsample_f32
(&self, u: f32, v: f32, _: f32)
src/texture/image.rs:36
Methodsample_f32
(&self, u: f32, v: f32, time: f32)
src/texture/animated_image.rs:36
Methodscale
Construct a transform to scale x, y and z by the values in the vector
src/linalg/transform.rs:45
Methodsegment
Create a new segment ray from `o + min_t * d` to `o + max_t * d`
src/linalg/ray.rs:30
Methodselect_block
(&mut self, start: (u32, u32))
src/sampler/uniform.rs:49
Methodselect_block
(&mut self, start: (u32, u32))
src/sampler/adaptive.rs:121
Methodset_transform
Set the transform to place the receiver into world space
src/geometry/receiver.rs:49
Methodset_transform
Set the transform for this instance
src/geometry/instance.rs:121
Methodshadowing_masking
(&self, w_i: &Vector, w_o: &Vector, w_h: &Vector)
src/bxdf/microfacet/beckmann.rs:50
Methodsingular
Create a new box containing only the point passed
src/geometry/bbox.rs:23
Methodspan
Create a new box spanning [min, max]
src/geometry/bbox.rs:27
Methodspecular
Get an EnumSet containing flags for all types of specular BxDFs
src/bxdf/mod.rs:67
Functionspherical_dir_coords
Compute the direction specified by `theta` and `phi` in the coordinate system formed by `x`, `y` and `z`
src/linalg/mod.rs:61
Methodstart
(img_dim: (usize, usize))
src/exec/distrib/master.rs:39
Methodstart_workers
Create a new master that will contact the worker nodes passed and send instructions on what parts of the scene to start rendering
src/exec/distrib/master.rs:88
Methodsub
Subtract two normals
src/linalg/normal.rs:54
Methodsub
Subtract two matrices
src/linalg/matrix4.rs:227
Methodsub
Subtract two points to get the vector between them
src/linalg/point.rs:55
Methodsub
Subtract two quaternions
src/linalg/quaternion.rs:126
Methodsub
Subtract two vectors
src/linalg/vector.rs:49
Methodsub
Subtract the two colors
src/film/color.rs:90
Methodtag
Get the tag for this instance
src/geometry/instance.rs:107
Functiontest_add
()
src/linalg/matrix4.rs:266
Functiontest_cross
()
src/linalg/mod.rs:130
Functiontest_distance_sqr
()
src/linalg/point.rs:166
Functiontest_dot
()
src/linalg/mod.rs:138
Functiontest_face_fwd
()
src/linalg/normal.rs:141
Functiontest_idx
()
src/linalg/vector.rs:150
Functiontest_len_sqr
()
src/linalg/vector.rs:144
Functiontest_mul
()
src/linalg/matrix4.rs:290
Functiontest_mult_sanity
()
src/linalg/transform.rs:285
Functiontest_partition
()
src/partition.rs:42
Methodtest_points
Create an occlusion tester to perform the test between two points
src/light/mod.rs:21
Methodtest_ray
Create an occlusion tester to perform the test along the ray starting at `p` and in direction `d`
src/light/mod.rs:26
Functiontest_rotate
()
src/linalg/transform.rs:372
Functiontest_rotate_x
()
src/linalg/transform.rs:315
Functiontest_rotate_y
()
src/linalg/transform.rs:334
Functiontest_rotate_z
()
src/linalg/transform.rs:353
Functiontest_scale
()
src/linalg/transform.rs:305
Functiontest_sub
()
src/linalg/matrix4.rs:278
Functiontest_translate
()
src/linalg/transform.rs:295
Methodto_transform
Get the rotation transform described by this quaternion
src/linalg/quaternion.rs:86
Methodto_u32
(&self)
src/bxdf/mod.rs:86
Methodtranslate
Construct a transformation matrix to translate by the vector
src/linalg/transform.rs:32
Methodunanimated
Create a new non-animated BVH holding the geometry
src/geometry/bvh.rs:29
Methodunanimated
(transform: &Transform)
src/linalg/animated_transform.rs:34
Functionuniform_sample_cone
Uniformly sample a direction in a cone with max angle `cos_theta_max` where the cone lies along the z-axis
src/mc.rs:67
Methodupdate_deformation
Have the object recompute its bounds for the time range. In the case of deforming geometry this can rebuild acceleration structures for example.
src/geometry/mod.rs:73
Methodupdate_deformation
(&mut self, start: f32, end: f32)
src/geometry/animated_mesh.rs:140
Methodupdate_frame
Advance the time the scene is currently displaying to the time range passed
src/scene.rs:152
Methodweight
(&self, x: f32, y: f32)
src/film/filter/mitchell_netravali.rs:53
Methodwidth
(&self)
src/film/filter/mitchell_netravali.rs:56
Methodwith_alpha
Create an RGB color
src/film/color.rs:26
Methodwith_keyframes
Create an animated transformation blending between the passed keyframes
src/linalg/animated_transform.rs:22
Methodwith_keyframes
Create an animated transform that will blend between the passed keyframes
src/film/animated_color.rs:47
Methodwith_normal
Setup the differential geometry using the normal passed for the surface normal
src/geometry/differential_geometry.rs:49
Methodzero
Return the zero matrix
src/linalg/matrix4.rs:13
← previous401–483 of 483, ranked by callers