|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| struct | SKY_ArHosekSkyModelState |
Typedefs | |
| typedef double | SKY_ArHosekSkyModelConfiguration[9] |
| typedef struct SKY_ArHosekSkyModelState | SKY_ArHosekSkyModelState |
| typedef double SKY_ArHosekSkyModelConfiguration[9] |
Definition at line 286 of file sky_model.h.
| typedef struct SKY_ArHosekSkyModelState SKY_ArHosekSkyModelState |
| SKY_ArHosekSkyModelState * SKY_arhosek_rgb_skymodelstate_alloc_init | ( | const double | turbidity, |
| const double | albedo, | ||
| const double | elevation ) |
| double SKY_arhosek_tristim_skymodel_radiance | ( | SKY_ArHosekSkyModelState * | state, |
| double | theta, | ||
| double | gamma, | ||
| int | channel ) |
| SKY_ArHosekSkyModelState * SKY_arhosek_xyz_skymodelstate_alloc_init | ( | const double | turbidity, |
| const double | albedo, | ||
| const double | elevation ) |
Definition at line 309 of file sky_model.cpp.
References ALLOC, ArHosekSkyModel_CookConfiguration(), ArHosekSkyModel_CookRadianceConfiguration(), datasetsXYZ, datasetsXYZRad, state, and TERRESTRIAL_SOLAR_RADIUS.
Referenced by blender::nodes::node_shader_tex_sky_cc::node_shader_gpu_tex_sky(), and sky_texture_precompute_hosek().
| double SKY_arhosekskymodel_radiance | ( | SKY_ArHosekSkyModelState * | state, |
| double | theta, | ||
| double | gamma, | ||
| double | wavelength ) |
Definition at line 276 of file sky_model.cpp.
References ArHosekSkyModel_GetRadianceInternal(), e, fmod(), int, interp(), result, and state.
| double SKY_arhosekskymodel_solar_radiance | ( | SKY_ArHosekSkyModelState * | state, |
| double | theta, | ||
| double | gamma, | ||
| double | wavelength ) |
| SKY_ArHosekSkyModelState * SKY_arhosekskymodelstate_alienworld_alloc_init | ( | const double | solar_elevation, |
| const double | solar_intensity, | ||
| const double | solar_surface_temperature_kelvin, | ||
| const double | atmospheric_turbidity, | ||
| const double | ground_albedo ) |
| SKY_ArHosekSkyModelState * SKY_arhosekskymodelstate_alloc_init | ( | const double | solar_elevation, |
| const double | atmospheric_turbidity, | ||
| const double | ground_albedo ) |
| void SKY_arhosekskymodelstate_free | ( | SKY_ArHosekSkyModelState * | state | ) |
Definition at line 271 of file sky_model.cpp.
Referenced by blender::nodes::node_shader_tex_sky_cc::node_shader_gpu_tex_sky(), and sky_texture_precompute_hosek().
| void SKY_nishita_skymodel_precompute_sun | ( | float | sun_elevation, |
| float | angular_diameter, | ||
| float | altitude, | ||
| float | air_density, | ||
| float | dust_density, | ||
| float * | r_pixel_bottom, | ||
| float * | r_pixel_top ) |
Definition at line 364 of file sky_nishita.cpp.
References cosf, geographical_to_direction(), M_2PI_F, num_wavelengths, spec_to_xyz(), sun_radiation(), float3::x, float3::y, and float3::z.
Referenced by SkyTextureNode::get_sun_average_radiance(), and sky_texture_precompute_nishita().
| void SKY_nishita_skymodel_precompute_texture | ( | float * | pixels, |
| int | stride, | ||
| int | start_y, | ||
| int | end_y, | ||
| int | width, | ||
| int | height, | ||
| float | sun_elevation, | ||
| float | altitude, | ||
| float | air_density, | ||
| float | dust_density, | ||
| float | ozone_density ) |
Definition at line 296 of file sky_nishita.cpp.
References earth_radius, geographical_to_direction(), M_2PI_F, M_PI_2_F, M_PI_F, make_float3(), num_wavelengths, single_scattering(), spec_to_xyz(), sqr(), float3::x, float3::y, and float3::z.
Referenced by SkyLoader::load_pixels(), and blender::nodes::node_shader_tex_sky_cc::node_shader_gpu_tex_sky().