|
Blender V4.3
|
#include "BKE_material.h"#include "BKE_texture.h"#include "BLI_math_vector.h"#include "DNA_material_types.h"#include "node_texture_util.hh"#include "node_util.hh"#include "RE_texture.h"Go to the source code of this file.
Macros | |
| #define | I 2 /* count */ |
| #define | COMMON_INPUTS |
| #define | ProcNoInputs(name) |
| #define | ProcDef(name) |
| #define | TexDef(TEXTYPE, outputs, name, Name) |
| #define | C outputs_color_only |
| #define | CV outputs_both |
Typedefs | |
| using | MapFn = void (*)(Tex *tex, bNodeStack **in, TexParams *p, const short thread) |
Variables | |
| static blender::bke::bNodeSocketTemplate | outputs_both [] |
| static blender::bke::bNodeSocketTemplate | outputs_color_only [] |
| static blender::bke::bNodeSocketTemplate | voronoi_inputs [] |
| static blender::bke::bNodeSocketTemplate | blend_inputs [] = {COMMON_INPUTS, {-1, ""}} |
| static blender::bke::bNodeSocketTemplate | magic_inputs [] |
| static blender::bke::bNodeSocketTemplate | marble_inputs [] |
| static blender::bke::bNodeSocketTemplate | clouds_inputs [] |
| static blender::bke::bNodeSocketTemplate | distnoise_inputs [] |
| static blender::bke::bNodeSocketTemplate | wood_inputs [] |
| static blender::bke::bNodeSocketTemplate | musgrave_inputs [] |
| static blender::bke::bNodeSocketTemplate | noise_inputs [] = {COMMON_INPUTS, {-1, ""}} |
| static blender::bke::bNodeSocketTemplate | stucci_inputs [] |
| C | |
| blend | |
| Blend | |
| CV | |
| marble | |
| Marble | |
| wood | |
| Wood | |
| noise | |
| Noise | |
Definition at line 271 of file node_texture_proc.cc.
| #define COMMON_INPUTS |
Definition at line 29 of file node_texture_proc.cc.
| #define CV outputs_both |
Definition at line 272 of file node_texture_proc.cc.
Referenced by BKE_idtype_idcode_to_index(), BKE_idtype_idfilter_to_index(), TexDef(), TexDef(), and TexDef().
Definition at line 28 of file node_texture_proc.cc.
Referenced by btDeformableLinearElasticityForce::addScaledDampingForce(), btDeformableNeoHookeanForce::addScaledDampingForce(), btDeformableLinearElasticityForce::addScaledDampingForceDifferential(), btDeformableNeoHookeanForce::addScaledDampingForceDifferential(), btDeformableLinearElasticityForce::addScaledHessian(), btSoftBody::applyRepulsionForce(), blender::ValueSequence< T, Elements >::at_index(), blinn_specular(), bump_shadowing_term(), clouds_map_inputs(), btRigidBody::computeGyroscopicImpulseImplicit_World(), libmv::ComputeTrackingEquation(), libmv::ComputeTrackingEquation(), Freestyle::computeVisibility(), copy_particle_systems_to_object(), dfdx_spring(), distnoise_map_inputs(), ensure_valid_specular_reflection(), evalEulerEqn(), evalEulerEqnDeriv(), blender::fn::multi_function::build::detail::execute_element_fn_as_multi_function(), blender::fn::lazy_function::detail::execute_lazy_function_eagerly_impl(), film_adaptive_sampling_convergence_check(), Freestyle::findOccludee(), Freestyle::findOccludee(), guiding_record_volume_segment(), light_pdf_area_to_solid_angle(), magic_map_inputs(), marble_map_inputs(), mirrorball_to_direction(), musgrave_map_inputs(), btDeformableBackwardEulerObjective::reinitialize(), libmv::SelectKeyframesBasedOnGRICAndVariance(), shader_setup_from_displace(), shader_setup_from_sample(), SIM_hair_volume_vertex_grid_forces(), SIM_mass_spring_add_constraint_ndof1(), SIM_mass_spring_add_constraint_ndof2(), SIM_mass_spring_force_drag(), SIM_mass_spring_force_spring_bending_hair(), SIM_mass_spring_solver_create(), spring_grad_dir(), stucci_map_inputs(), studiolight_lights_eval(), triangle_light_pdf_area_sampling(), blender::unroll_impl(), voronoi_map_inputs(), and wood_map_inputs().
| #define ProcDef | ( | name | ) |
Definition at line 91 of file node_texture_proc.cc.
| #define ProcNoInputs | ( | name | ) |
Definition at line 85 of file node_texture_proc.cc.
Definition at line 254 of file node_texture_proc.cc.
| using MapFn = void (*)(Tex *tex, bNodeStack **in, TexParams *p, const short thread) |
Definition at line 59 of file node_texture_proc.cc.
|
static |
Definition at line 168 of file node_texture_proc.cc.
References I, Tex::noisesize, and tex_input_value().
Definition at line 74 of file node_texture_proc.cc.
References LISTBASE_FOREACH, and bNode::outputs.
|
static |
Definition at line 180 of file node_texture_proc.cc.
References Tex::dist_amount, I, Tex::noisesize, and tex_input_value().
|
static |
Definition at line 37 of file node_texture_proc.cc.
References TexParams::co, copy_v4_v4(), TexParams::dxt, TexParams::dyt, MA_RAMP_BLEND, TexParams::mtex, multitex_nodes(), TexParams::osatex, ramp_blend(), result, TEX_RGB, TexResult::tin, and TexResult::trgba.
Referenced by texfn().
Definition at line 240 of file node_texture_proc.cc.
References BKE_texture_default(), MEM_callocN, bNode::storage, Tex::stype, TEX_BANDNOISE, TEX_NODE_PROC, TEX_WOOD, bNode::type, and Tex::type.
|
static |
Definition at line 144 of file node_texture_proc.cc.
References I, tex_input_value(), and Tex::turbul.
|
static |
Definition at line 156 of file node_texture_proc.cc.
References I, Tex::noisesize, tex_input_value(), and Tex::turbul.
|
static |
Definition at line 210 of file node_texture_proc.cc.
References I, Tex::mg_H, Tex::mg_lacunarity, Tex::mg_octaves, Tex::noisesize, Tex::ns_outscale, and tex_input_value().
| ProcDef | ( | distnoise | ) |
| ProcDef | ( | musgrave | ) |
| ProcDef | ( | voronoi | ) |
|
static |
Definition at line 231 of file node_texture_proc.cc.
References I, Tex::noisesize, tex_input_value(), and Tex::turbul.
| TexDef | ( | TEX_CLOUDS | , |
| CV | , | ||
| clouds | , | ||
| "Clouds" | ) |
| TexDef | ( | TEX_DISTNOISE | , |
| CV | , | ||
| distnoise | , | ||
| "Distorted Noise" | ) |
References CV, TEX_DISTNOISE, and TexDef.
| TexDef | ( | TEX_MUSGRAVE | , |
| CV | , | ||
| musgrave | , | ||
| "Musgrave" | ) |
| TexDef | ( | TEX_STUCCI | , |
| CV | , | ||
| stucci | , | ||
| "Stucci" | ) |
References CV, stucci(), TEX_STUCCI, and TexDef.
| TexDef | ( | TEX_VORONOI | , |
| CV | , | ||
| voronoi | , | ||
| "Voronoi" | ) |
|
static |
Definition at line 61 of file node_texture_proc.cc.
References do_proc(), result, bNode::storage, and tex_input_rgba().
Referenced by tex_output().
|
static |
Definition at line 122 of file node_texture_proc.cc.
References I, Tex::noisesize, Tex::ns_outscale, tex_input_value(), Tex::vn_w1, Tex::vn_w2, Tex::vn_w3, and Tex::vn_w4.
|
static |
Definition at line 193 of file node_texture_proc.cc.
References I, Tex::noisesize, tex_input_value(), and Tex::turbul.
| Blend |
Definition at line 274 of file node_texture_proc.cc.
Referenced by calculate_average_color(), do_vpaint_brush_blur_loops(), do_vpaint_brush_blur_verts(), blender::color::mix_add(), blender::color::mix_alpha_add(), blender::color::mix_alpha_sub(), blender::color::mix_blend(), blender::color::mix_color(), blender::color::mix_colorburn(), blender::color::mix_colordodge(), blender::color::mix_darken(), blender::color::mix_difference(), blender::color::mix_exclusion(), blender::color::mix_hardlight(), blender::color::mix_hue(), blender::color::mix_lighten(), blender::color::mix_linearburn(), blender::color::mix_linearlight(), blender::color::mix_luminosity(), blender::color::mix_mul(), blender::color::mix_overlay(), blender::color::mix_pinlight(), blender::color::mix_saturation(), blender::color::mix_screen(), blender::color::mix_softlight(), blender::color::mix_sub(), and blender::color::mix_vividlight().
| blend |
Definition at line 274 of file node_texture_proc.cc.
Referenced by armdef_accumulate_bone(), b_bone_deform(), BKE_brush_debug_print_state(), BKE_defvert_weight_to_rgb(), BKE_pchan_bbone_deform_clamp_segment_index(), blender::animrig::blend_layer_results(), blo_do_versions_280(), brush_defaults(), btw_smooth_exec(), calculate_average_color(), checker_board_color_tint(), checker_board_grid_fill(), blender::compositor::HueSaturationValueCorrectNode::convert_to_operations(), blender::compositor::HueSaturationValueNode::convert_to_operations(), do_vpaint_brush_blur_loops(), do_vpaint_brush_blur_verts(), drw_state_set(), ease_fcurve_segment(), edbm_blend_from_shape_exec(), blender::gpu::shader::ShaderCreateInfo::fragment_out(), get_cpa_texture(), slim::get_interactive_result_blended_with_original(), GPU_blend(), GPU_state_set(), load_main_from_memory(), multitex(), NODE_DEFINE(), blender::nodes::node_shader_tex_image_cc::node_shader_gpu_tex_image(), blender::geometry::p_flush_uvs(), paint_2d_do_making_brush(), paint_2d_op(), ProcDef(), ProcNoInputs(), psys_get_texture(), pygpu_state_blend_get(), rna_def_modifier_type_common(), svm_node_layer_weight(), svm_node_tex_image_box(), slim::MatrixTransferChart::transfer_uvs_blended(), UI_GetThemeColorBlendShade3ubv(), blender::geometry::uv_parametrizer_slim_stretch_iteration(), blender::geometry::uv_parametrizer_stretch_blend(), vpaint_blend(), wm_draw_region_blend(), wpaint_blend(), and slim::MatrixTransferChart::~MatrixTransferChart().
|
static |
Definition at line 135 of file node_texture_proc.cc.
| C |
Definition at line 274 of file node_texture_proc.cc.
|
static |
Definition at line 164 of file node_texture_proc.cc.
| CV |
Definition at line 275 of file node_texture_proc.cc.
|
static |
Definition at line 175 of file node_texture_proc.cc.
|
static |
Definition at line 140 of file node_texture_proc.cc.
| Marble |
Definition at line 275 of file node_texture_proc.cc.
| marble |
Definition at line 275 of file node_texture_proc.cc.
Referenced by multitex(), and ProcDef().
|
static |
Definition at line 151 of file node_texture_proc.cc.
|
static |
Definition at line 201 of file node_texture_proc.cc.
| Noise |
Definition at line 277 of file node_texture_proc.cc.
Referenced by FrsNoise_init().
| noise |
Definition at line 277 of file node_texture_proc.cc.
Referenced by add_node(), colorfn(), compute_2d_gabor_noise_cell(), compute_3d_gabor_noise_cell(), MANTA::exportSmokeScript(), fcm_noise_evaluate(), ProcDef(), ProcNoInputs(), safe_noise(), safe_noise(), safe_noise(), safe_noise(), safe_snoise(), safe_snoise(), safe_snoise(), safe_snoise(), Freestyle::SpatialNoiseShader::shade(), and MANTA::updatePointers().
|
static |
Definition at line 221 of file node_texture_proc.cc.
|
static |
Definition at line 22 of file node_texture_proc.cc.
|
static |
Definition at line 24 of file node_texture_proc.cc.
|
static |
Definition at line 226 of file node_texture_proc.cc.
|
static |
Definition at line 111 of file node_texture_proc.cc.
| Wood |
Definition at line 276 of file node_texture_proc.cc.
| wood |
Definition at line 276 of file node_texture_proc.cc.
Referenced by multitex(), ProcDef(), and TexDef().
|
static |
Definition at line 188 of file node_texture_proc.cc.