Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AntonioFerreras/Digital-Earth
/ functions
Functions
155 in github.com/AntonioFerreras/Digital-Earth
⨍
Functions
155
◇
Types & classes
5
↓ 10 callers
Function
saturate
(x)
lib/math_utils.py:47
↓ 10 callers
Function
sdivf
(a: ti.f32, b: ti.f32)
lib/OpenDRT.py:93
↓ 9 callers
Function
rsi
(pos: vec3, dir: vec3, r: ti.f32)
lib/math_utils.py:18
↓ 8 callers
Function
_logf
(x)
lib/OpenDRT.py:78
↓ 8 callers
Function
sample_sphere_texture
(sampler: ti.template(), pos, scale=1.0)
lib/math_utils.py:39
↓ 7 callers
Function
sqr
(x)
lib/math_utils.py:10
↓ 5 callers
Function
land_sdf
(heightmap: ti.template(), pos: vec3, scale: ti.f32)
pathtracer.py:12
↓ 5 callers
Function
np_normalize
(v)
lib/math_utils.py:83
↓ 5 callers
Function
spowf
(a: ti.f32, b: ti.f32)
lib/OpenDRT.py:112
↓ 5 callers
Function
spowf3
(a: vec3, b: ti.f32)
lib/OpenDRT.py:120
↓ 4 callers
Function
Unproject
(xy: vec2)
lib/AgX.py:56
↓ 4 callers
Function
intersect_land
(heightmap: ti.template(), pos: vec3, dir: vec3, height_scale: ti.f32)
pathtracer.py:28
↓ 4 callers
Function
lum3
(x)
lib/colour.py:93
↓ 4 callers
Function
make_orthonormal_basis
(n: vec3)
lib/math_utils.py:56
↓ 4 callers
Function
plancks
(temperature, wavelength)
lib/colour.py:52
↓ 4 callers
Function
sdivf3f
(a: vec3, b: ti.f32)
lib/OpenDRT.py:101
↓ 4 callers
Function
srgb_to_spectrum
(lut: ti.template(), rgb, wavelength)
lib/colour.py:63
↓ 3 callers
Function
AgXFullCurve
(x: ti.f32, x_pivot: ti.f32, y_pivot: ti.f32, slope_pivot: ti.f32, toe_power: ti.f32, shoulder_power: ti.f32)
lib/AgX.py:118
↓ 3 callers
Function
_expf
(x)
lib/OpenDRT.py:82
↓ 3 callers
Function
flare
(x: ti.f32, fl: ti.f32, invert: ti.i32)
lib/OpenDRT.py:212
↓ 3 callers
Function
lambda_smith
(NdotX: ti.f32, alpha2: ti.f32)
lib/surface_rendering_models.py:89
↓ 3 callers
Method
set_up
(self, new_up)
earth_viewer.py:35
↓ 3 callers
Function
spherical_direction
(sin_theta: ti.f32, cos_theta: ti.f32, phi: ti.f32, x: vec3, y: vec3, z: vec3)
lib/math_utils.py:68
↓ 2 callers
Function
AgXHyperbolic
(x: ti.f32, power: ti.f32)
lib/AgX.py:101
↓ 2 callers
Function
AgXScale
(x_pivot: ti.f32, y_pivot: ti.f32, slope_pivot: ti.f32, power: ti.f32)
lib/AgX.py:97
↓ 2 callers
Function
AgXTerm
(x: ti.f32, x_pivot: ti.f32, slope_pivot: ti.f32, scale: ti.f32)
lib/AgX.py:105
↓ 2 callers
Function
GGX_smith_specular
(roughness: ti.f32, F_0: ti.f32, \ n_dot_l: ti.f32, n_dot_v: ti.f32, \
lib/surface_rendering_models.py:70
↓ 2 callers
Function
InverseMat
(m: mat3)
lib/AgX.py:24
↓ 2 callers
Function
PrimariesToMatrix
(xy_red: vec2, xy_green: vec2, xy_blue: vec2, xy_white: vec2)
lib/AgX.py:60
↓ 2 callers
Method
_compute_cam_r
(self)
earth_viewer.py:69
↓ 2 callers
Method
_compute_left_dir
(self, tgtdir)
earth_viewer.py:159
↓ 2 callers
Function
beckmann_isotropic_lambda
(n_dot_v: ti.f32, alpha: ti.f32)
lib/surface_rendering_models.py:155
↓ 2 callers
Function
cone_angle_to_solid_angle
(x: ti.f32)
lib/math_utils.py:14
↓ 2 callers
Function
evaluate_phase
(ray_dir: vec3, light_dir: vec3, interaction_id: ti.i32, reduce_peak)
pathtracer.py:236
↓ 2 callers
Function
fresnel_dielectric
(v_dot_h: ti.f32, F_0: ti.f32)
lib/surface_rendering_models.py:111
↓ 2 callers
Function
get_atmos_density
(pos: vec3, clouds_sampler: ti.template())
pathtracer.py:68
↓ 2 callers
Function
get_land_material
(albedo_sampler: ti.template(), ocean_sampler: ti.template(), ba
pathtracer.py:285
↓ 2 callers
Function
intersect_cloud_limits
(ray_pos: vec3, ray_dir: vec3, land_isection: float)
pathtracer.py:146
↓ 2 callers
Function
land_normal
(heightmap: ti.template(), pos: vec3, scale: ti.f32)
pathtracer.py:17
↓ 2 callers
Function
lum
(x)
lib/colour.py:89
↓ 2 callers
Function
maxf3
(mn: ti.f32, a: vec3)
lib/OpenDRT.py:125
↓ 2 callers
Function
narrow_hue_angles
(v)
lib/OpenDRT.py:192
↓ 2 callers
Function
normal_distribution
(x: ti.f32, mean: ti.f32, stdev: ti.f32)
lib/math_utils.py:52
↓ 2 callers
Function
np_rotate_matrix
Return the rotation matrix associated with counterclockwise rotation about the given axis by theta radians.
lib/math_utils.py:88
↓ 2 callers
Function
sample_cone_oriented
(cos_theta_max: ti.f32, n: vec3)
lib/sampling.py:26
↓ 2 callers
Function
sample_hemisphere_cosine_weighted
(n: vec3)
lib/sampling.py:31
↓ 2 callers
Function
sample_interaction_delta_tracking
(ray_pos: vec3, ray_dir: vec3, t_
pathtracer.py:78
↓ 2 callers
Function
sample_transmittance
(ray_pos: vec3, ray_dir: vec3, land_isection: float,
pathtracer.py:212
↓ 2 callers
Method
set_camera_pos
(self, x: ti.f32, y: ti.f32, z: ti.f32)
renderer.py:225
↓ 2 callers
Function
transmittance_ratio_tracking
(ray_pos: vec3, ray_dir: vec3, t_start: flo
pathtracer.py:118
↓ 2 callers
Function
vdot
(m: mat3, v: vec3)
lib/OpenDRT.py:87
↓ 1 callers
Function
AgXCurve
(x: ti.f32, x_pivot: ti.f32, y_pivot: ti.f32, slope_pivot: ti.f32, toe_power: ti.f32, shoulder_power: ti.f32,
lib/AgX.py:109
↓ 1 callers
Function
ComputeCompressionMatrix
(xyR: vec2, xyG: vec2, xyB: vec2, xyW: vec2, compression: ti.f32)
lib/AgX.py:77
↓ 1 callers
Function
G2_VCavity
(n_dot_l: ti.f32, n_dot_v: ti.f32, n_dot_h: ti.f32, v_dot_h: ti.f32)
lib/surface_rendering_models.py:170
↓ 1 callers
Function
G2_smith
(n_dot_l: ti.f32, n_dot_v: ti.f32, alpha2: ti.f32)
lib/surface_rendering_models.py:101
↓ 1 callers
Function
GGX_D
(n_dot_h: ti.f32, alpha2: ti.f32)
lib/surface_rendering_models.py:83
↓ 1 callers
Function
OpenDomainToNormalizedLog2
(openDomain: vec3, minimum_ev: ti.f32, maximum_ev: ti.f32)
lib/AgX.py:88
↓ 1 callers
Method
_render_to_image
(self, samples: ti.i32, crf_sampler: ti.types.texture(num_dimensions=2))
renderer.py:347
↓ 1 callers
Method
_update_by_mouse
(self, elapsed_time)
earth_viewer.py:43
↓ 1 callers
Method
_update_by_wasd
(self, elapsed_time)
earth_viewer.py:73
↓ 1 callers
Method
accumulate
(self)
renderer.py:371
↓ 1 callers
Function
air
(wavelength: ti.f32)
lib/volume_rendering_models.py:49
↓ 1 callers
Function
beckmann_isotropic_ndf
(n_dot_h: ti.f32, alpha: ti.f32)
lib/surface_rendering_models.py:147
↓ 1 callers
Function
beckmann_specular
(roughness: ti.f32, F_0: ti.f32, \ n_dot_l: ti.f32, n_dot_v: ti.f32, \
lib/surface_rendering_models.py:54
↓ 1 callers
Method
camera_response
(self, crf_sampler: ti.template(), tristimulus: vec3)
renderer.py:334
↓ 1 callers
Method
copy_CIE_LUT_texture
(self, tex: ti.types.rw_texture(num_dimensions=2, fmt=ti.Format.rgba16f, lod=0))
renderer.py:213
↓ 1 callers
Method
copy_CRF_LUT_texture
(self, tex: ti.types.rw_texture(num_dimensions=2, fmt=ti.Format.rgba32f, lod=0))
renderer.py:219
↓ 1 callers
Method
copy_albedo_texture
(self, tex: ti.types.rw_texture(num_dimensions=2, fmt=ti.Format.rgba8, lod=0))
renderer.py:171
↓ 1 callers
Method
copy_bathymetry_texture
(self, tex: ti.types.rw_texture(num_dimensions=2, fmt=ti.Format.r8, lod=0))
renderer.py:195
↓ 1 callers
Method
copy_clouds_texture
(self, tex: ti.types.rw_texture(num_dimensions=2, fmt=ti.Format.r8, lod=0))
renderer.py:189
↓ 1 callers
Method
copy_emissive_texture
(self, tex: ti.types.rw_texture(num_dimensions=2, fmt=ti.Format.r8, lod=0))
renderer.py:201
↓ 1 callers
Method
copy_ocean_texture
(self, tex: ti.types.rw_texture(num_dimensions=2, fmt=ti.Format.r8, lod=0))
renderer.py:183
↓ 1 callers
Method
copy_stars_texture
(self, tex: ti.types.rw_texture(num_dimensions=2, fmt=ti.Format.rgba8, lod=0))
renderer.py:207
↓ 1 callers
Method
copy_textures
(self)
renderer.py:136
↓ 1 callers
Method
copy_topography_texture
(self, tex: ti.types.rw_texture(num_dimensions=2, fmt=ti.Format.r8, lod=0))
renderer.py:177
↓ 1 callers
Function
disney_diffuse
(roughness: ti.f32, n_dot_l: ti.f32, n_dot_v: ti.f32, l_dot_h: ti.f32)
lib/surface_rendering_models.py:40
↓ 1 callers
Function
draine_phase
(cos_theta: ti.f32, g: ti.f32, a: ti.f32)
lib/volume_rendering_models.py:122
↓ 1 callers
Function
eotf_hlg
(rgb: vec3, inverse: ti.i32)
lib/OpenDRT.py:134
↓ 1 callers
Function
eotf_pq
(rgb: vec3, inverse: ti.i32)
lib/OpenDRT.py:167
↓ 1 callers
Method
fetch_image
(self)
renderer.py:382
↓ 1 callers
Method
get_cast_dir
(self, u, v)
renderer.py:270
↓ 1 callers
Function
get_clouds_density
(clouds_sampler: ti.template(), pos: vec3)
pathtracer.py:49
↓ 1 callers
Function
get_mie_density
(h: ti.f32)
lib/volume_rendering_models.py:255
↓ 1 callers
Function
get_ozone_density
(h: ti.f32)
lib/volume_rendering_models.py:230
↓ 1 callers
Function
get_rayl_density
(h: ti.f32)
lib/volume_rendering_models.py:249
↓ 1 callers
Function
hash12
(p: vec2)
lib/math_utils.py:72
↓ 1 callers
Function
hash22
(p: vec2)
lib/math_utils.py:78
↓ 1 callers
Function
hg_phase
(cos_theta: ti.f32, g: ti.f32)
lib/volume_rendering_models.py:74
↓ 1 callers
Function
klein_nishina_phase
(cos_theta: ti.f32, e: ti.f32)
lib/volume_rendering_models.py:88
↓ 1 callers
Method
load_crfs
(self)
renderer.py:147
↓ 1 callers
Function
make_tangent_space
(n: vec3)
lib/math_utils.py:63
↓ 1 callers
Function
minf3
(mx: ti.f32, a: vec3)
lib/OpenDRT.py:130
↓ 1 callers
Function
openDR_transform
(p_R: float, p_G: float, p_B: float)
lib/OpenDRT.py:222
↓ 1 callers
Function
ray_march_transmittance
(ray_pos: vec3, ray_dir: vec3, rmo_extinction: vec3)
pathtracer.py:472
↓ 1 callers
Function
ray_marh_atmos
(ray_pos: vec3, ray_dir: vec3, t_start: float, t_max
pathtracer.py:503
↓ 1 callers
Method
render
(self, albedo_sampler: ti.types.texture(num_dimensions=2), height_sampler: ti.types.textu
renderer.py:284
↓ 1 callers
Method
reset_framebuffer
(self)
renderer.py:367
↓ 1 callers
Function
sample_cone
(cos_theta_max: ti.f32)
lib/sampling.py:14
↓ 1 callers
Function
sample_draine
(view: vec3, g: ti.f32, a: ti.f32)
lib/volume_rendering_models.py:126
↓ 1 callers
Function
sample_hg_phase
(view: vec3, g: ti.f32)
lib/volume_rendering_models.py:79
next →
1–100 of 155, ranked by callers