|
Blender V5.3
|
Classes | |
| struct | SkyModelPreetham |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_tex_sky (ui::Layout &layout, bContext *, PointerRNA *ptr) |
| static void | node_shader_init_tex_sky (bNodeTree *, bNode *node) |
| static float | sky_perez_function (const float *lam, float theta, float gamma) |
| static void | sky_precompute_old (SkyModelPreetham *sunsky, const float sun_angles[], float turbidity) |
| static void | sky_simplify_elevation_rotation (float &sun_elevation, float &sun_rotation) |
| static int | node_shader_gpu_tex_sky (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static void | node_shader_update_sky (bNodeTree *ntree, bNode *node) |
| static void | node_gather_link_searches (GatherLinkSearchOpParams ¶ms) |
|
static |
Definition at line 27 of file node_shader_tex_sky.cc.
References b, and node_declare().
Referenced by node_declare().
|
static |
Definition at line 359 of file node_shader_tex_sky.cc.
References blender::nodes::GatherLinkSearchOpParams::add_item(), blender::nodes::LinkSearchOpParams::add_node(), IFACE_, blender::nodes::GatherLinkSearchOpParams::in_out(), node, node_gather_link_searches(), blender::nodes::GatherLinkSearchOpParams::node_tree(), blender::nodes::GatherLinkSearchOpParams::node_type(), blender::nodes::GatherLinkSearchOpParams::other_socket(), blender::nodes::NodeDeclaration::outputs, blender::nodes::search_link_ops_for_declarations(), blender::SOCK_FLOAT, blender::SOCK_OUT, blender::bke::bNodeType::static_declaration, blender::NodeTexSky::sun_disc, blender::bNodeSocket::type, blender::bNodeTree::typeinfo, blender::nodes::LinkSearchOpParams::update_and_connect_available_socket(), and blender::bke::bNodeTreeType::validate_link.
Referenced by node_gather_link_searches().
|
static |
Definition at line 33 of file node_shader_tex_sky.cc.
References blender::ui::Layout::column(), blender::ui::ITEM_R_SPLIT_EMPTY_NAME, node_shader_buts_tex_sky(), blender::ui::Layout::prop(), blender::RNA_boolean_get(), blender::RNA_enum_get(), blender::SHD_SKY_HOSEK, and blender::SHD_SKY_PREETHAM.
Referenced by node_shader_buts_tex_sky().
|
static |
Definition at line 185 of file node_shader_tex_sky.cc.
References acosf, blender::NodeTexSky::aerosol_density, blender::NodeTexSky::air_density, blender::NodeTexSky::altitude, atan2f, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::config_x, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::config_Y, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::config_y, SKY_ArHosekSkyModelState::configs, blender::Array< T, InlineBufferCapacity, Allocator >::data(), float, fmaxf, blender::get_XYZ_to_RGB_for_gpu(), blender::GPU_constant(), blender::GPU_image_sky(), blender::GPU_SAMPLER_EXTEND_MODE_EXTEND, blender::GPU_SAMPLER_EXTEND_MODE_REPEAT, blender::GPU_SAMPLER_FILTERING_LINEAR, GPU_SKY_HEIGHT, GPU_SKY_WIDTH, blender::GPU_stack_link(), blender::GPU_uniform(), blender::NodeTexSky::ground_albedo, blender::gpu::shader::metadata::in, layer, M_PI, M_PI_2, node, blender::node_shader_gpu_default_tex_coord(), blender::node_shader_gpu_tex_mapping(), node_shader_gpu_tex_sky(), blender::gpu::shader::metadata::out, blender::NodeTexSky::ozone_density, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::radiance, SKY_ArHosekSkyModelState::radiances, sampler, blender::SHD_SKY_HOSEK, blender::SHD_SKY_PREETHAM, blender::SHD_SKY_SINGLE_SCATTERING, SKY_arhosek_xyz_skymodelstate_alloc_init(), SKY_arhosekskymodelstate_free(), SKY_earth_intersection_angle(), blender::NodeTexSky::sky_model, SKY_multiple_scattering_precompute_sun(), SKY_multiple_scattering_precompute_texture(), sky_precompute_old(), sky_simplify_elevation_rotation(), SKY_single_scattering_precompute_sun(), SKY_single_scattering_precompute_texture(), blender::NodeTexSky::sun_direction, blender::NodeTexSky::sun_disc, blender::NodeTexSky::sun_elevation, blender::NodeTexSky::sun_intensity, blender::NodeTexSky::sun_rotation, blender::NodeTexSky::sun_size, blender::NodeTexSky::turbidity, and xyz_to_rgb().
Referenced by node_shader_gpu_tex_sky().
|
static |
Definition at line 71 of file node_shader_tex_sky.cc.
References blender::NodeTexSky::aerosol_density, blender::NodeTexSky::air_density, blender::NodeTexSky::altitude, blender::NodeTexSky::base, blender::BKE_texture_colormapping_default(), blender::BKE_texture_mapping_default(), blender::NodeTexBase::color_mapping, DEG2RADF, blender::NodeTexSky::ground_albedo, node, node_shader_init_tex_sky(), blender::NodeTexSky::ozone_density, blender::SHD_SKY_MULTIPLE_SCATTERING, blender::NodeTexSky::sky_model, blender::NodeTexSky::sun_direction, blender::NodeTexSky::sun_disc, blender::NodeTexSky::sun_elevation, blender::NodeTexSky::sun_intensity, blender::NodeTexSky::sun_rotation, blender::NodeTexSky::sun_size, blender::NodeTexBase::tex_mapping, blender::TEXMAP_TYPE_POINT, and blender::NodeTexSky::turbidity.
Referenced by node_shader_init_tex_sky().
|
static |
Definition at line 347 of file node_shader_tex_sky.cc.
References ELEM, node, blender::bke::node_find_socket(), blender::bke::node_set_socket_availability(), node_shader_update_sky(), blender::SHD_SKY_MULTIPLE_SCATTERING, blender::SHD_SKY_SINGLE_SCATTERING, blender::NodeTexSky::sky_model, blender::SOCK_IN, and blender::NodeTexSky::sun_disc.
Referenced by node_shader_update_sky().
|
static |
Definition at line 99 of file node_shader_tex_sky.cc.
References cosf, expf, and sky_perez_function().
Referenced by sky_perez_function(), and sky_precompute_old().
|
static |
Definition at line 108 of file node_shader_tex_sky.cc.
References blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::config_x, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::config_Y, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::config_y, M_PI, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::radiance, sky_perez_function(), sky_precompute_old(), T, T2, and tanf.
Referenced by node_shader_gpu_tex_sky(), and sky_precompute_old().
|
static |
Definition at line 153 of file node_shader_tex_sky.cc.
References copysignf, fabsf, fmodf, M_PI, and sky_simplify_elevation_rotation().
Referenced by node_shader_gpu_tex_sky(), and sky_simplify_elevation_rotation().