|
Blender V5.0
|
Go to the source code of this file.
Functions | |
| void | SKY_single_scattering_precompute_texture (float *pixels, int stride, int width, int height, float sun_elevation, float altitude, float air_density, float aerosol_density, float ozone_density) |
| void | SKY_single_scattering_precompute_sun (float sun_elevation, float angular_diameter, float altitude, float air_density, float aerosol_density, float r_pixel_bottom[3], float r_pixel_top[3]) |
| void | SKY_multiple_scattering_precompute_texture (float *pixels, int stride, int width, int height, float sun_elevation, float altitude, float air_density, float aerosol_density, float ozone_density) |
| void | SKY_multiple_scattering_precompute_sun (float sun_elevation, float angular_diameter, float altitude, float air_density, float aerosol_density, float ozone_density, float r_pixel_bottom[3], float r_pixel_top[3]) |
| float | SKY_earth_intersection_angle (float altitude) |
Definition at line 397 of file sky_multiple_scattering.cpp.
References asinf, EARTH_RADIUS, and M_PI_2_F.
Referenced by sky_texture_precompute_nishita().
| void SKY_multiple_scattering_precompute_sun | ( | float | sun_elevation, |
| float | angular_diameter, | ||
| float | altitude, | ||
| float | air_density, | ||
| float | aerosol_density, | ||
| float | ozone_density, | ||
| float | r_pixel_bottom[3], | ||
| float | r_pixel_top[3] ) |
Definition at line 360 of file sky_multiple_scattering.cpp.
References ATMOSPHERE_THICKNESS, clamp(), cosf, SkyMultipleScattering::get_transmittance(), M_2PI_F, M_PI_2_F, spectral_to_xyz(), SUN_SPECTRAL_IRRADIANCE, top, float3::x, float3::y, and float3::z.
Referenced by SkyTextureNode::get_sun_average_radiance(), and sky_texture_precompute_nishita().
| void SKY_multiple_scattering_precompute_texture | ( | float * | pixels, |
| int | stride, | ||
| int | width, | ||
| int | height, | ||
| float | sun_elevation, | ||
| float | altitude, | ||
| float | air_density, | ||
| float | aerosol_density, | ||
| float | ozone_density ) |
Definition at line 302 of file sky_multiple_scattering.cpp.
References ATMOSPHERE_RADIUS, begin(), clamp(), copysignf, cosf, EARTH_RADIUS, SkyMultipleScattering::get_inscattering(), L, l, M_2PI_F, M_PI_2_F, make_float2, make_float3(), SkyMultipleScattering::precompute_lut(), ray_sphere_intersection(), sinf, SKY_parallel_for(), spectral_to_xyz(), sqr, sun_direction(), float2::x, float3::x, x, float2::y, float3::y, y, and float3::z.
Referenced by SkyLoader::load_pixels(), and blender::nodes::node_shader_tex_sky_cc::node_shader_gpu_tex_sky().
| void SKY_single_scattering_precompute_sun | ( | float | sun_elevation, |
| float | angular_diameter, | ||
| float | altitude, | ||
| float | air_density, | ||
| float | aerosol_density, | ||
| float | r_pixel_bottom[3], | ||
| float | r_pixel_top[3] ) |
Definition at line 381 of file sky_single_scattering.cpp.
References clamp(), cosf, geographical_to_direction(), M_2PI_F, make_float3(), NUM_WAVELENGTHS, spec_to_xyz(), sun_radiation(), top, float3::x, float3::y, and float3::z.
Referenced by SkyTextureNode::get_sun_average_radiance(), and sky_texture_precompute_nishita().
| void SKY_single_scattering_precompute_texture | ( | float * | pixels, |
| int | stride, | ||
| int | width, | ||
| int | height, | ||
| float | sun_elevation, | ||
| float | altitude, | ||
| float | air_density, | ||
| float | aerosol_density, | ||
| float | ozone_density ) |
Definition at line 291 of file sky_single_scattering.cpp.
References begin(), clamp(), EARTH_RADIUS, fade(), geographical_to_direction(), M_2PI_F, M_PI_2_F, M_PI_F, make_float3(), NUM_WAVELENGTHS, single_scattering(), SKY_parallel_for(), spec_to_xyz(), sqr, float3::x, x, float3::y, y, and float3::z.
Referenced by SkyLoader::load_pixels(), and blender::nodes::node_shader_tex_sky_cc::node_shader_gpu_tex_sky().