MCPcopy Create free account

hub / github.com/cessen/psychopath / functions

Functions737 in github.com/cessen/psychopath

↓ 156 callersMethodwrite
(self, text, do_indent=True)
psychoblend/psy_export.py:24
↓ 143 callersMethodlen
(&self)
src/ray.rs:113
↓ 72 callersMethodpush
(&mut self, ray: Ray, is_occlusion: bool)
src/ray.rs:66
↓ 68 callersFunctionlerp_slice
Interpolates a slice of data as if each adjecent pair of elements represent a linear segment.
src/lerp.rs:20
↓ 68 callersMethodmin
(&self, other: Point)
sub_crates/math3d/src/point.rs:27
↓ 59 callersMethodmax
(&self, other: Point)
sub_crates/math3d/src/point.rs:37
↓ 59 callersMethodnormalized
(&self)
sub_crates/math3d/src/normal.rs:37
↓ 47 callersMethodinto_vector
(self)
sub_crates/math3d/src/point.rs:47
↓ 43 callersMethodabs
(&self)
sub_crates/math3d/src/vector.rs:44
↓ 40 callersFunctiondot
(a: T, b: T)
sub_crates/math3d/src/lib.rs:16
↓ 38 callersMethodget_n
(&self, n: usize)
sub_crates/math3d/src/point.rs:52
↓ 37 callersMethody
(&self)
sub_crates/math3d/src/point.rs:67
↓ 36 callersMethodx
(&self)
sub_crates/math3d/src/point.rs:62
↓ 36 callersMethodz
(&self)
sub_crates/math3d/src/point.rs:72
↓ 32 callersMethodis_empty
Returns whether the stack is empty of tasks or not.
src/ray.rs:213
↓ 31 callersMethodbyte_offset
(&'a self)
src/parse/data_tree.rs:52
↓ 24 callersFunctionlerp
Interpolates between two instances of a Lerp types.
src/lerp.rs:11
↓ 23 callersMethoditer_children_with_type
(&'a self, type_name: &'static str)
src/parse/data_tree.rs:89
↓ 22 callersFunctionnext_token
(source_text: (usize, &'a str))
src/parse/data_tree.rs:404
↓ 18 callersFunctionencode
(xyz: (f32, f32, f32))
sub_crates/compact/src/fluv/fluv32.rs:76
↓ 17 callersMethodget
(&mut self, x: usize, y: usize)
src/image.rs:45
↓ 17 callersMethoditer_leaf_children_with_type
( &'a self, type_name: &'static str, )
src/parse/data_tree.rs:120
↓ 15 callersMethodswap
(&mut self, a: usize, b: usize)
src/ray.rs:81
↓ 14 callersMethodadd
(self, rhs: SpectralSample)
src/color.rs:432
↓ 14 callersMethoddot
(self, other: Normal)
sub_crates/math3d/src/normal.rs:162
↓ 14 callersMethodindent
(self)
psychoblend/psy_export.py:16
↓ 14 callersMethodinverse
(&self)
sub_crates/math3d/src/transform.rs:77
↓ 13 callersMethodunindent
(self)
psychoblend/psy_export.py:19
↓ 12 callersMethodtick
Marks a new tick time and returns the time elapsed in seconds since the last call to tick().
src/timer.rs:19
↓ 12 callersMethodto_spectral_sample
(self, hero_wavelength: f32)
src/color.rs:84
↓ 11 callersMethodbounds_range
(&self)
src/accel/bvh_base.rs:38
↓ 11 callersMethoddir
(&self, idx: usize)
src/ray.rs:138
↓ 10 callersMethodwavelength
(cls)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:68
↓ 9 callersFunctiondecode
(fluv32: u32)
sub_crates/compact/src/fluv/fluv32.rs:131
↓ 9 callersFunctionencode
(floats: (f32, f32, f32))
sub_crates/compact/src/shared_exp/unsigned32.rs:36
↓ 9 callersFunctionescape_name
(name)
psychoblend/util.py:60
↓ 9 callersMethodlength2
(&self)
sub_crates/math3d/src/normal.rs:32
↓ 9 callersMethodtime
(&self, idx: usize)
src/ray.rs:153
↓ 8 callersMethodclear
Clear all rays, settings the size of the batch back to zero. Capacity is maintained.
src/ray.rs:108
↓ 8 callersMethodcollect
(&mut self, other: RenderStats)
src/renderer.rs:64
↓ 8 callersFunctionencode
(floats: (f32, f32, f32))
sub_crates/compact/src/shared_exp/unsigned40.rs:36
↓ 8 callersFunctionfast_exp
(p: f32)
src/math.rs:146
↓ 8 callersFunctionline_count_to_byte_offset
(text: &str, offset: usize)
src/parse/psy.rs:90
↓ 8 callersMethodmax_t
(&self, idx: usize)
src/ray.rs:158
↓ 8 callersMethodsurface_area
(&self)
src/bbox.rs:82
↓ 8 callersMethodtop
(&self)
src/transform_stack.rs:76
↓ 7 callersFunctionencode_precise
Encodes a vector of three floats to the oct32 format. This is the same as `encode()` except that it is slower and encodes with slightly better precis
sub_crates/compact/src/unit_vec/oct32.rs:24
↓ 7 callersFunctionparse_color
(contents: &str)
src/parse/psy.rs:582
↓ 6 callersMethodapproximate_energy
(&self)
src/accel/light_tree.rs:203
↓ 6 callersMethoddehom
(v3)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:115
↓ 6 callersFunctionencode
(vec: (f32, f32, f32))
sub_crates/compact/src/unit_vec/oct32.rs:15
↓ 6 callersFunctionfiddle_exp2
(exp: i32)
sub_crates/compact/src/shared_exp/mod.rs:15
↓ 6 callersFunctionfp_gamma
(n: u32)
src/fp_utils.rs:9
↓ 6 callersMethodhom
(v2)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:110
↓ 6 callersMethodinto_normal
(self)
sub_crates/math3d/src/vector.rs:56
↓ 6 callersFunctionpartition
Partitions a slice in-place with the given unary predicate, returning the index of the first element for which the predicate evaluates false. The pre
src/algorithm.rs:44
↓ 6 callersMethodpoll
(cls, context)
psychoblend/ui.py:21
↓ 6 callersMethodset
(&mut self, x: usize, y: usize, value: XYZ)
src/image.rs:53
↓ 6 callersMethodsplit
(&self, metric: F)
src/surface/bilinear_patch.rs:43
↓ 5 callersMethodcenter
(&self)
src/bbox.rs:87
↓ 5 callersFunctionencode_64
(floats: (f32, f32, f32))
sub_crates/compact/src/shared_exp/signed48.rs:62
↓ 5 callersMethodinto_point
(self)
sub_crates/math3d/src/vector.rs:51
↓ 5 callersMethodis_done
(&self, idx: usize)
src/ray.rs:180
↓ 5 callersMethodnext
( &mut self, xform_stack: &mut TransformStack, scene: &Scene, isect: &surface:
src/renderer.rs:449
↓ 5 callersFunctionplancks_law
(temperature: f32, wavelength: f32)
src/color.rs:336
↓ 5 callersFunctionround_trip
(floats: (f32, f32, f32))
sub_crates/compact/src/fluv/fluv32.rs:176
↓ 5 callersFunctionsample
( color: Color, inc: Vector, nor: Normal, nor_g: Normal, uv: (f32, f32
src/shading/surface_closure.rs:284
↓ 5 callersMethodto_tuple
(&self)
src/color.rs:528
↓ 5 callersMethodxy_from_xystar
(cls, xystar)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:212
↓ 5 callersMethodxyz_from_spectrum
As CIE instructs, we integrate using simple summation.
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:84
↓ 4 callersFunctionbilerp_point
(patch: [Point; 4], uv: (f32, f32))
src/surface/bilinear_patch.rs:29
↓ 4 callersFunctioncross
(a: T, b: T)
sub_crates/math3d/src/lib.rs:26
↓ 4 callersMethoddo_next_task
Executes a task without popping it from the task stack.
src/ray.rs:322
↓ 4 callersFunctionencode
(floats: (f32, f32, f32))
sub_crates/compact/src/shared_exp/signed48.rs:48
↓ 4 callersFunctionencode_uv
(xyz: (f32, f32, f32))
sub_crates/compact/src/fluv/fluv32.rs:94
↓ 4 callersFunctionevaluate
( color: Color, inc: Vector, out: Vector, nor: Normal, nor_g: Normal,
src/shading/surface_closure.rs:312
↓ 4 callersFunctionhash_u32_to_f32
Returns a random float in [0, 1] based on 'n' and a seed. Generally use n for getting a bunch of different random numbers, and use seed to vary betwee
src/hash.rs:26
↓ 4 callersMethodis_occlusion
(&self, idx: usize)
src/ray.rs:174
↓ 4 callersMethodmark_done
(&mut self, idx: usize)
src/ray.rs:192
↓ 4 callersFunctionmax_abs_3
(a: f32, b: f32, c: f32)
src/surface/triangle.rs:171
↓ 4 callersMethodname_exists
(&self, name: &str)
src/scene/assembly.rs:284
↓ 4 callersFunctionnth_wavelength
(hero_wavelength: f32, n: usize)
src/color.rs:25
↓ 4 callersMethodorig
(&self, idx: usize)
src/ray.rs:133
↓ 4 callersFunctionplancks_law_normalized
Same as above, except normalized to keep roughly equal spectral energy across temperatures. This makes it easier to use for choosing colors without m
src/color.rs:380
↓ 4 callersMethodpop
(&mut self)
src/transform_stack.rs:64
↓ 4 callersMethodpop_do_next_task
(&mut self, handle_ray: F)
src/ray.rs:339
↓ 4 callersMethodpush
(&mut self, xforms: &[Transform])
src/transform_stack.rs:33
↓ 4 callersFunctionquick_select_ints
(list: &mut [i32], i: usize)
src/algorithm.rs:312
↓ 4 callersFunctionrgb2spec_eval_4
(coeff: [f32; RGB2SPEC_N_COEFFS], lambda: Vec4)
sub_crates/spectral_upsampling/src/jakob.rs:140
↓ 4 callersFunctionrgb2spec_fma_4
(a: Vec4, b: Vec4, c: Vec4)
sub_crates/spectral_upsampling/src/jakob.rs:136
↓ 4 callersFunctionrobust_ray_origin
(pos: Point, pos_err: f32, nor: Normal, ray_dir: Vector)
src/fp_utils.rs:45
↓ 4 callersFunctionschlick_fresnel_from_fac
(frensel_fac: f32, c: f32)
src/shading/surface_closure.rs:714
↓ 4 callersMethodset_max_t
(&mut self, idx: usize, new_max_t: f32)
src/ray.rs:163
↓ 4 callersFunctionsign
(n: f32)
sub_crates/compact/src/unit_vec/oct32.rs:111
↓ 4 callersFunctionspherical_triangle_solid_angle
Calculates the projected solid angle of a spherical triangle. A, B, and C are the points of the triangle on a unit sphere.
src/sampling/monte_carlo.rs:99
↓ 4 callersFunctionto_snorm_16
(n: f32)
sub_crates/compact/src/unit_vec/oct32.rs:101
↓ 4 callersFunctiontriangle_surface_area
Calculates the surface area of a triangle.
src/sampling/monte_carlo.rs:92
↓ 4 callersMethodtruncate
(&mut self, len: usize)
src/ray.rs:100
↓ 4 callersMethodupdate_local
Updates the accel data of the given ray (at index `idx`) with the given world-to-local-space transform matrix. This should be called when entering (a
src/ray.rs:122
↓ 4 callersMethodwl_n
Returns the nth wavelength
src/color.rs:420
next →1–100 of 737, ranked by callers