Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cessen/psychopath
/ functions
Functions
737 in github.com/cessen/psychopath
⨍
Functions
737
◇
Types & classes
117
↓ 1 callers
Method
render_job
Waits for buckets in the job queue to render and renders them when available.
src/renderer.rs:194
↓ 1 callers
Function
rgb2spec_find_interval
(values: &[f32], x: f32)
sub_crates/spectral_upsampling/build.rs:206
↓ 1 callers
Function
rgb2spec_load
(filepath: &str)
sub_crates/spectral_upsampling/build.rs:99
↓ 1 callers
Method
rgba_base64
Returns the bucket's contents encoded in base64. `color_convert` lets you do a colorspace conversion before base64 encoding if desired. The data is
src/image.rs:235
↓ 1 callers
Method
root_node_index
(&self)
src/accel/light_tree.rs:235
↓ 1 callers
Method
sample
Given an incoming ray and sample values, generates an outgoing ray and color filter. inc: Incoming light direction. nor: The shading su
src/shading/surface_closure.rs:57
↓ 1 callers
Method
sample_lights
( &self, xform_stack: &mut TransformStack, n: f32, uvw: (f32, f32, f32),
src/scene/mod.rs:28
↓ 1 callers
Method
sample_pdf
TODO: this is only used from within `intersect_rays`, and could be done more efficiently by inlining it there.
src/light/sphere_light.rs:51
↓ 1 callers
Method
sample_pdf
TODO: this is only used from within `intersect_rays`, and could be done more efficiently by inlining it there.
src/light/rectangle_light.rs:52
↓ 1 callers
Method
select
( &self, inc: Vector, pos: Point, nor: Normal, nor_g: Normal,
src/accel/light_tree.rs:135
↓ 1 callers
Method
set_frame
(self, frame, fraction)
psychoblend/psy_export.py:53
↓ 1 callers
Method
set_x
(&mut self, x: f32)
sub_crates/math3d/src/point.rs:77
↓ 1 callers
Method
set_y
(&mut self, y: f32)
sub_crates/math3d/src/point.rs:82
↓ 1 callers
Method
set_z
(&mut self, z: f32)
sub_crates/math3d/src/point.rs:87
↓ 1 callers
Method
shade
(&self, data: &SurfaceIntersectionData, time: f32)
src/shading/mod.rs:43
↓ 1 callers
Function
skip_comment
(text: &str)
src/parse/data_tree.rs:528
↓ 1 callers
Function
skip_ws
(text: &str)
src/parse/data_tree.rs:510
↓ 1 callers
Function
spectrum_apply_3x2
(matrix: &[f32; 6], src: (f32, f32))
sub_crates/spectral_upsampling/src/meng.rs:332
↓ 1 callers
Function
spectrum_xyz_to_p_4
(lambdas: Vec4, xyz: (f32, f32, f32))
sub_crates/spectral_upsampling/src/meng.rs:177
↓ 1 callers
Function
sphere_lambert
Analytically calculates lambert shading from a uniform light source subtending a circular solid angle. Only works for solid angle subtending equal to
src/shading/surface_closure.rs:350
↓ 1 callers
Method
take_sample
(self, render_engine, scene, time)
psychoblend/world.py:21
↓ 1 callers
Method
take_sample
(self, render_engine, scene, time)
psychoblend/assembly.py:82
↓ 1 callers
Method
trace
(&'b mut self, rays: &mut RayBatch)
src/tracer.rs:34
↓ 1 callers
Method
trace_assembly
( &'b mut self, assembly: &Assembly, rays: &mut RayBatch, ray_stack: &mut RayS
src/tracer.rs:87
↓ 1 callers
Method
trace_object
( &'b mut self, obj: &Object, surface_shader: Option<&dyn SurfaceShader>, rays
src/tracer.rs:152
↓ 1 callers
Function
transform_bbox_slice_from
(bbs_in: &[BBox], xforms: &[Transform], bbs_out: &mut Vec<BBox>)
src/bbox.rs:153
↓ 1 callers
Function
u64_to_bytes
(n: u64)
sub_crates/compact/src/shared_exp/signed48.rs:124
↓ 1 callers
Function
u64_to_bytes
(n: u64)
sub_crates/compact/src/shared_exp/unsigned40.rs:100
↓ 1 callers
Function
uniform_sample_hemisphere
(u: f32, v: f32)
src/sampling/monte_carlo.rs:40
↓ 1 callers
Function
uniform_sample_sphere
(u: f32, v: f32)
src/sampling/monte_carlo.rs:49
↓ 1 callers
Method
uv_from_xystar
(cls, xystar)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:254
↓ 1 callers
Function
wavelengths
(hero_wavelength: f32)
src/color.rs:36
↓ 1 callers
Function
weighted_choice
Selects an item from a slice based on a weighting function and a number (n) between 0.0 and 1.0. Returns the index of the selected item and the proba
src/algorithm.rs:17
↓ 1 callers
Method
width
(&self)
src/image.rs:37
↓ 1 callers
Method
write_exr
(&mut self, path: &Path)
src/image.rs:167
↓ 1 callers
Function
write_output
(data_points, grid, grid_res, filename)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:772
↓ 1 callers
Method
write_png
(&mut self, path: &Path)
src/image.rs:138
↓ 1 callers
Method
x
(&self)
sub_crates/math3d/src/normal.rs:59
↓ 1 callers
Method
x
(&self)
sub_crates/math3d/src/vector.rs:71
↓ 1 callers
Function
x_1931
Close analytic approximations of the CIE 1931 XYZ color curves. From the paper "Simple Analytic Approximations to the CIE XYZ Color Matching Functions
src/color.rs:610
↓ 1 callers
Function
xy2d
Convert (x,y) to hilbert curve index. x: The x coordinate. Must be a positive integer no greater than 2^16-1. y: The y coordinate. Must be a positi
src/hilbert.rs:23
↓ 1 callers
Function
xyz_to_spectrum_4
(xyz: (f32, f32, f32), wavelengths: Vec4)
src/color.rs:602
↓ 1 callers
Method
y
(&self)
sub_crates/math3d/src/normal.rs:64
↓ 1 callers
Method
y
(&self)
sub_crates/math3d/src/vector.rs:76
↓ 1 callers
Function
y_1931
(wavelength: f32)
src/color.rs:618
↓ 1 callers
Method
z
(&self)
sub_crates/math3d/src/normal.rs:69
↓ 1 callers
Method
z
(&self)
sub_crates/math3d/src/vector.rs:81
↓ 1 callers
Function
z_1931
(wavelength: f32)
src/color.rs:624
Method
__init__
(self, render_engine, scene, visible_layers, aspect_ratio)
psychoblend/world.py:9
Method
__init__
(self, render_engine, ob, aspect_ratio)
psychoblend/world.py:52
Method
__init__
(self, render_engine, world)
psychoblend/world.py:109
Method
__init__
(self, ob, name)
psychoblend/world.py:125
Method
__init__
(self, render_engine, objects, visible_layers, group_prefix="", translation_offset=(0,0,0))
psychoblend/assembly.py:6
Method
__init__
(self, render_engine, ob, name)
psychoblend/assembly.py:153
Method
__init__
(self, render_engine, ob, name)
psychoblend/assembly.py:208
Method
__init__
(self, render_engine, ob, name)
psychoblend/assembly.py:251
Method
__init__
(self, render_engine, ob, data_name)
psychoblend/assembly.py:295
Method
__init__
(self, render_engine, material)
psychoblend/assembly.py:327
Method
__init__
(self, file_handle)
psychoblend/psy_export.py:11
Method
__init__
(self, f, render_engine, scene)
psychoblend/psy_export.py:32
Method
__init__
(self)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:420
Method
__init__
(self)
sub_crates/spectral_upsampling/src/meng/generate_meng_spectra_tables.py:434
Function
accuracy
()
sub_crates/compact/src/shared_exp/signed48.rs:193
Function
accuracy_01
()
sub_crates/compact/src/fluv/fluv32.rs:223
Function
accuracy_01
()
sub_crates/compact/src/shared_exp/unsigned32.rs:113
Function
accuracy_01
()
sub_crates/compact/src/shared_exp/unsigned40.rs:148
Function
accuracy_02
()
sub_crates/compact/src/fluv/fluv32.rs:242
Function
accuracy_02
()
sub_crates/compact/src/shared_exp/unsigned32.rs:124
Function
accuracy_02
()
sub_crates/compact/src/shared_exp/unsigned40.rs:159
Function
aces_to_spectrum_p4
(lambdas: Vec4, rgb: (f32, f32, f32))
sub_crates/spectral_upsampling/src/jakob.rs:40
Function
add
()
sub_crates/math3d/src/normal.rs:183
Function
add
()
sub_crates/math3d/src/point.rs:149
Function
add
()
sub_crates/math3d/src/vector.rs:194
Method
add
(self, other: Self)
sub_crates/math3d/src/transform.rs:113
Method
add
(self, other: Normal)
sub_crates/math3d/src/normal.rs:100
Method
add
(self, other: Vector)
sub_crates/math3d/src/point.rs:103
Method
add
(self, other: Vector)
sub_crates/math3d/src/vector.rs:112
Method
add_assign
(&mut self, rhs: SpectralSample)
src/color.rs:442
Function
all_ones
()
sub_crates/compact/src/fluv/fluv32.rs:192
Function
all_zeros
()
sub_crates/compact/src/fluv/fluv32.rs:181
Function
all_zeros
()
sub_crates/compact/src/shared_exp/signed48.rs:155
Function
all_zeros
()
sub_crates/compact/src/shared_exp/unsigned32.rs:96
Function
all_zeros
()
sub_crates/compact/src/shared_exp/unsigned40.rs:131
Method
approximate_energy
Calculates an approximate total spectral energy of the color. Note: this really is very _approximate_.
src/color.rs:127
Method
approximate_energy
(&self)
src/accel/light_array.rs:76
Method
approximate_energy
(&self)
src/light/sphere_light.rs:198
Method
approximate_energy
(&self)
src/light/rectangle_light.rs:249
Method
approximate_energy
(&self)
src/light/distant_disk_light.rs:91
Function
approximate_equality_test
()
sub_crates/math3d/src/transform.rs:136
Method
aprx_eq
(&self, other: Transform, epsilon: f32)
sub_crates/math3d/src/transform.rs:58
Function
axis_directions
()
sub_crates/compact/src/unit_vec/oct32.rs:124
Function
balance_heuristic
(a: f32, b: f32)
src/mis.rs:3
Method
bitor
(self, rhs: BBox4)
src/bbox4.rs:104
Method
bitor
(self, rhs: BBox)
src/bbox.rs:104
Method
bitor_assign
(&mut self, rhs: BBox4)
src/bbox4.rs:114
Method
bitor_assign
(&mut self, rhs: BBox)
src/bbox.rs:117
Method
bounds
(&'b self)
src/accel/bvh4.rs:362
Method
bounds
(&self)
src/accel/bvh.rs:213
Method
bounds
(&self)
src/surface/micropoly_batch.rs:142
Method
bounds
(&self)
src/surface/triangle_mesh.rs:119
← previous
next →
301–400 of 737, ranked by callers