MCPcopy Create free account

hub / github.com/cessen/psychopath / functions

Functions737 in github.com/cessen/psychopath

↓ 4 callersFunctionwrite_conversion_functions
Generates conversion functions for the given rgb to xyz transform matrix.
sub_crates/color/build.rs:72
↓ 4 callersMethodx_bar
(cls)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:72
↓ 4 callersMethody_bar
(cls)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:76
↓ 4 callersMethodz_bar
(cls)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:80
↓ 3 callersMethodadd_object
(&mut self, name: &str, obj: Object<'a>)
src/scene/assembly.rs:197
↓ 3 callersMethodbounds
(&self)
src/scene/assembly.rs:144
↓ 3 callersFunctioncoordinate_system_from_vector
Creates a coordinate system from a single vector. The input vector, v, becomes the first vector of the returned tuple, with the other two vectors in
src/math.rs:26
↓ 3 callersFunctiondecrement_ulp
(v: f32)
src/fp_utils.rs:30
↓ 3 callersMethoddir_inv_local
(&self, idx: usize)
src/ray.rs:148
↓ 3 callersFunctionestimate_eval_over_sphere_light
( _color: Color, inc: Vector, to_light_center: Vector, light_radius_squared: f
src/shading/surface_closure.rs:334
↓ 3 callersMethodexport
(self, render_engine, w)
psychoblend/assembly.py:168
↓ 3 callersFunctionfiddle_log2
(n: f32)
sub_crates/compact/src/shared_exp/mod.rs:28
↓ 3 callersFunctionget_sample_4d
( i: u32, dimension_set: u32, pixel_co: (u32, u32), seed: u32, )
src/renderer.rs:698
↓ 3 callersFunctionhash_u32
(n: u32, seed: u32)
src/hash.rs:1
↓ 3 callersFunctionincrement_ulp
(v: f32)
src/fp_utils.rs:15
↓ 3 callersFunctionintersect_ray
Intersects `ray` with `tri`, returning `Some((t, b0, b1, b2))`, or `None` if no intersection. Returned values: `t` is the ray t at the hit point. `b
src/surface/triangle.rs:58
↓ 3 callersFunctionis_ident_char
(c: char)
src/parse/data_tree.rs:505
↓ 3 callersMethodis_internal
(&self)
src/parse/data_tree.rs:60
↓ 3 callersMethodis_none
(&self)
src/scene/mod.rs:120
↓ 3 callersMethodlength
(&self)
sub_crates/math3d/src/normal.rs:27
↓ 3 callersMethodnum_bins
(cls)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:60
↓ 3 callersMethodorig_local
(&self, idx: usize)
src/ray.rs:143
↓ 3 callersMethodpop_task
Pops the next task off the stack.
src/ray.rs:315
↓ 3 callersFunctionprint_progress
(msg=None)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:302
↓ 3 callersFunctionquantize
(n: f32)
src/image.rs:297
↓ 3 callersFunctionquantize_tri_255
(tri: (f32, f32, f32))
src/image.rs:296
↓ 3 callersMethodray_count_in_next_task
(&self)
src/ray.rs:227
↓ 3 callersFunctionrgb2spec_load_small
(filepath: &str)
sub_crates/spectral_upsampling/build.rs:170
↓ 3 callersMethodroot_node_index
(&self)
src/accel/bvh_base.rs:66
↓ 3 callersFunctionround_trip
(floats: (f32, f32, f32))
sub_crates/compact/src/shared_exp/unsigned32.rs:91
↓ 3 callersFunctionround_trip
(floats: (f32, f32, f32))
sub_crates/compact/src/shared_exp/unsigned40.rs:126
↓ 3 callersMethodset_from_ray
(&mut self, ray: &Ray, is_occlusion: bool, idx: usize)
src/ray.rs:86
↓ 3 callersFunctionsmall_rgb_to_spectrum_p4
( table: &[[(f32, f32, f32); 2]], table_res: usize, table_mid_value: f32, lambdas: Vec4, r
sub_crates/spectral_upsampling/src/jakob.rs:55
↓ 3 callersFunctionsrgb_gamma
(n: f32)
src/image.rs:275
↓ 3 callersFunctionsurface_point
Calculates a point on a triangle's surface at the given barycentric coordinates. Returns the point and the error magnitude of the point.
src/surface/triangle.rs:155
↓ 3 callersMethodtake_sample
(self, render_engine, scene, time)
psychoblend/assembly.py:159
↓ 3 callersMethodtransformed
Creates a new BBox transformed into a different space.
src/bbox.rs:58
↓ 3 callersMethodtraverse
(&self, rays: &mut [AccelRay], objects: &[T], mut obj_ray_test: F)
src/accel/bvh.rs:70
↓ 3 callersMethodtype_name
(&'a self)
src/parse/data_tree.rs:46
↓ 3 callersFunctionuniform_sample_cone_pdf
(cos_theta_max: f64)
src/sampling/monte_carlo.rs:75
↓ 3 callersMethodxy_from_uv
(cls, uv)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:250
↓ 3 callersMethodxyy_from_xyz
(xyz)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:133
↓ 3 callersFunctionxyz_to_srgbe
(xyz: (f32, f32, f32))
src/image.rs:291
↓ 2 callersMethod_start_psychopath
(self, scene, psy_filepath, use_stdin, crop)
psychoblend/render.py:37
↓ 2 callersMethodcleanup
(self)
psychoblend/assembly.py:164
↓ 2 callersFunctionclip_edge
(d0, d1, clip_path)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:461
↓ 2 callersFunctiond2xy
Convert hilbert curve index to (x,y). d: The hilbert curve index. Returns the (x, y) coords at the given index.
src/hilbert.rs:47
↓ 2 callersFunctiondecode
(trifloat: u32)
sub_crates/compact/src/shared_exp/unsigned32.rs:71
↓ 2 callersFunctiondecode_64
(trifloat: u64)
sub_crates/compact/src/shared_exp/signed48.rs:102
↓ 2 callersFunctiondecode_64
(trifloat: u64)
sub_crates/compact/src/shared_exp/unsigned40.rs:83
↓ 2 callersFunctiondecode_yuv
(fluv32: u32)
sub_crates/compact/src/fluv/fluv32.rs:160
↓ 2 callersMethoddiagonal
(&self)
src/bbox.rs:91
↓ 2 callersFunctionencode_64
(floats: (f32, f32, f32))
sub_crates/compact/src/shared_exp/unsigned40.rs:50
↓ 2 callersMethodenergy
(&self)
src/accel/light_tree.rs:47
↓ 2 callersMethodevaluate
Evaluates the closure for the given incoming and outgoing rays. inc: The incoming light direction. out: The outgoing light direction. n
src/shading/surface_closure.rs:88
↓ 2 callersMethodexport_psy
(self)
psychoblend/psy_export.py:59
↓ 2 callersFunctionfind_spectrum
(xyz)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:355
↓ 2 callersFunctionfinished
(i, result)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:705
↓ 2 callersFunctionfrom_snorm_16
(n: u16)
sub_crates/compact/src/unit_vec/oct32.rs:106
↓ 2 callersFunctionggx_d
The GGX microfacet distribution function. nh: cosine of the angle between the surface normal and the microfacet normal.
src/shading/surface_closure.rs:612
↓ 2 callersFunctionggx_g
The GGX Smith shadow-masking function. vh: cosine of the angle between the view vector and the microfacet normal. vn: cosine of the angle between the
src/shading/surface_closure.rs:626
↓ 2 callersFunctionhil_rot
Utility function used by the functions below.
src/hilbert.rs:6
↓ 2 callersFunctionhorseshoe_path
()
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:393
↓ 2 callersMethodinternal_data_or_panic
For unit tests
src/parse/data_tree.rs:138
↓ 2 callersMethodintersect_ray
Returns whether the given ray intersects with the bbox.
src/bbox.rs:42
↓ 2 callersMethodintersect_rays
( &self, rays: &mut RayBatch, ray_stack: &mut RayStack, isects: &mut [SurfaceI
src/light/sphere_light.rs:207
↓ 2 callersFunctioninverse
Calculates the inverse of the given 3x3 matrix. Ported to Rust from `gjInverse()` in IlmBase's Imath/ImathMatrix.h
sub_crates/color/build.rs:246
↓ 2 callersFunctionis_ws
(c: char)
src/parse/data_tree.rs:484
↓ 2 callersMethoditer_children
(&'a self)
src/parse/data_tree.rs:81
↓ 2 callersFunctionl1_normalize
(v: (f32, f32, f32))
sub_crates/compact/tests/proptest_tests.rs:31
↓ 2 callersFunctionmat2str
Converts a matrix into a single-line string of values.
psychoblend/util.py:8
↓ 2 callersFunctionmerge_slices_append
Merges two slices of things, appending the result to `vec_out`
src/algorithm.rs:234
↓ 2 callersFunctionmultiprocess_progress
(data, functor, finished, data_size, early_clip=None)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:265
↓ 2 callersFunctionneeds_def_mb
Determines if the given object needs to be exported with deformation motion blur or not.
psychoblend/util.py:18
↓ 2 callersMethodnext_lds_samp
(&mut self)
src/renderer.rs:438
↓ 2 callersMethodnext_lds_sequence
(&mut self)
src/renderer.rs:433
↓ 2 callersFunctionnormalize
(v: (f32, f32, f32))
sub_crates/compact/tests/proptest_tests.rs:10
↓ 2 callersFunctionoct_to_vec3
(oct: (f32, f32))
sub_crates/compact/src/unit_vec/oct32.rs:86
↓ 2 callersFunctionparse_matrix
(contents: &str)
src/parse/psy.rs:556
↓ 2 callersMethodpdf
(&self)
src/scene/mod.rs:136
↓ 2 callersFunctionpower_heuristic
(a: f32, b: f32)
src/mis.rs:12
↓ 2 callersFunctionprobit
A highly accurate approximation of the probit function. From Peter John Acklam, sourced from here: https://web.archive.org/web/20151030215612/http://
src/math.rs:67
↓ 2 callersMethodpush_lane_to_task
Pushes any excess indices on the given lane to a new task on the task stack. Returns whether a task was pushed or not. No task will be pushed if the
src/ray.rs:267
↓ 2 callersFunctionquick_select
Partitions the slice of items to place the nth-ordered item in the nth place, and the items less than it before and the items more than it after.
src/algorithm.rs:203
↓ 2 callersFunctionray_code
(dir: Vector)
src/accel/bvh4.rs:29
↓ 2 callersFunctionrgb_to_xyz
Port of the RGBtoXYZ function from the ACES CTL reference implementation. See lib/IlmCtlMath/CtlColorSpace.cpp in the CTL reference implementation. T
sub_crates/color/build.rs:200
↓ 2 callersFunctionround_trip
(floats: (f32, f32, f32))
sub_crates/compact/src/shared_exp/signed48.rs:150
↓ 2 callersFunctionsah_split
Takes a slice of boundable objects and partitions them based on the Surface Area Heuristic. Returns the index of the partition boundary and the axis
src/accel/objects_split.rs:153
↓ 2 callersMethodsample_from_point
( &self, space: &Transform, arr: Point, u: f32, v: f32, wavele
src/light/sphere_light.rs:85
↓ 2 callersMethodselection_pdf
(&self)
src/scene/mod.rs:144
↓ 2 callersFunctionskip_ws_and_comments
(text: (usize, &str))
src/parse/data_tree.rs:548
↓ 2 callersFunctionspectrum_xy_to_uv
(xy: (f32, f32))
sub_crates/spectral_upsampling/src/meng.rs:348
↓ 2 callersFunctionsquare_to_circle
Maps the unit square to the unit circle. NOTE: x and y should be distributed within [-1, 1], not [0, 1].
src/sampling/monte_carlo.rs:10
↓ 2 callersFunctionstore_buffer
()
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:967
↓ 2 callersFunctionuniform_sample_cone
Samples a solid angle defined by a cone originating from (0,0,0) and pointing down the positive z-axis. `u`, `v`: sampling variables, should each be
src/sampling/monte_carlo.rs:64
↓ 2 callersFunctionuniform_sample_spherical_triangle
Generates a uniform sample on a spherical triangle given two uniform random variables i and j in [0, 1].
src/sampling/monte_carlo.rs:136
↓ 2 callersFunctionuniform_sample_triangle
Generates a uniform sample on a triangle given two uniform random variables i and j in [0, 1].
src/sampling/monte_carlo.rs:82
↓ 2 callersMethodupdate_uv
(self)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:430
↓ 2 callersFunctionvec3_to_oct
(vec: (f32, f32, f32))
sub_crates/compact/src/unit_vec/oct32.rs:73
↓ 2 callersMethodwavelength
(&self, idx: usize)
src/ray.rs:168
← previousnext →101–200 of 737, ranked by callers