|
Blender V4.3
|
#include "BLI_utildefines.h"#include "BLI_math_matrix.h"#include "BLI_math_vector.h"#include "BLI_task.h"#include "BLT_translation.hh"#include "DNA_defaults.h"#include "DNA_mesh_types.h"#include "DNA_meshdata_types.h"#include "DNA_object_types.h"#include "DNA_screen_types.h"#include "BKE_customdata.hh"#include "BKE_deform.hh"#include "BKE_image.hh"#include "BKE_lib_query.hh"#include "BKE_mesh.hh"#include "BKE_modifier.hh"#include "BKE_texture.h"#include "UI_interface.hh"#include "UI_resources.hh"#include "RNA_access.hh"#include "RNA_prototypes.hh"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_query.hh"#include "MEM_guardedalloc.h"#include "MOD_ui_common.hh"#include "MOD_util.hh"#include "RE_texture.h"Go to the source code of this file.
Classes | |
| struct | DisplaceUserdata |
Variables | |
| ModifierTypeInfo | modifierType_Displace |
|
static |
Definition at line 357 of file MOD_displace.cc.
References displaceModifier_do().
|
static |
Definition at line 77 of file MOD_displace.cc.
References BKE_texture_dependsOnTime(), and DisplaceModifierData::texture.
|
static |
Definition at line 252 of file MOD_displace.cc.
References BKE_image_pool_free(), BKE_image_pool_new(), BKE_mesh_normals_loop_to_vertex(), BKE_texture_fetch_images_for_pool(), BLI_parallel_range_settings_defaults(), BLI_task_parallel_range(), CD_CUSTOMLOOPNORMAL, copy_m4_m4(), CustomData_has_layer(), DisplaceModifierData::defgrp_name, DEG_get_evaluated_scene(), ModifierEvalContext::depsgraph, DisplaceModifierData::direction, displaceModifier_do_task(), ELEM, float, MEM_calloc_arrayN, MEM_freeN(), MEM_malloc_arrayN, MOD_DISP_DIR_CLNOR, MOD_DISP_DIR_NOR, MOD_DISP_DIR_RGB_XYZ, MOD_DISP_DIR_X, MOD_DISP_DIR_Y, MOD_DISP_DIR_Z, MOD_DISP_SPACE_GLOBAL, MOD_get_texture_coords(), MOD_get_vgroup(), MOD_init_texture(), ModifierEvalContext::object, DisplaceUserdata::scene, DisplaceModifierData::space, DisplaceModifierData::strength, and DisplaceModifierData::texture.
Referenced by deform_verts().
|
static |
Definition at line 155 of file MOD_displace.cc.
References add_v3_v3(), BKE_defvert_find_weight(), BKE_texture_get_value_ex(), CLAMP, DisplaceModifierData::flag, float, madd_v3_v3fl(), DisplaceModifierData::midlevel, MOD_DISP_DIR_CLNOR, MOD_DISP_DIR_NOR, MOD_DISP_DIR_RGB_XYZ, MOD_DISP_DIR_X, MOD_DISP_DIR_Y, MOD_DISP_DIR_Z, MOD_DISP_INVERT_VGROUP, mul_transposed_mat3_m4_v3(), mul_v3_fl(), DisplaceModifierData::strength, TexResult::tin, and TexResult::trgba.
Referenced by displaceModifier_do().
|
static |
Definition at line 88 of file MOD_displace.cc.
References IDWALK_CB_NOP, IDWALK_CB_USER, DisplaceModifierData::map_object, and DisplaceModifierData::texture.
|
static |
Definition at line 96 of file MOD_displace.cc.
References Object::id, ptr, RNA_pointer_create(), and RNA_struct_find_property().
|
static |
Definition at line 49 of file MOD_displace.cc.
References BLI_assert, DNA_struct_default_get, MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 103 of file MOD_displace.cc.
References DisplaceModifierData::direction, MOD_DISP_DIR_RGB_XYZ, DisplaceModifierData::strength, and DisplaceModifierData::texture.
Definition at line 365 of file MOD_displace.cc.
References col, ELEM, IFACE_, Panel::layout, MOD_DISP_DIR_RGB_XYZ, MOD_DISP_DIR_X, MOD_DISP_DIR_Y, MOD_DISP_DIR_Z, MOD_DISP_MAP_OBJECT, MOD_DISP_MAP_UV, modifier_panel_end(), modifier_panel_get_property_pointers(), modifier_vgroup_ui(), OB_ARMATURE, OB_MESH, ptr, RNA_enum_get(), RNA_pointer_get(), RNA_pointer_is_null(), UI_ITEM_NONE, uiItemPointerR(), uiItemR(), uiItemS(), uiLayoutColumn(), uiLayoutSetActive(), uiLayoutSetPropSep(), and uiTemplateID().
Referenced by panel_register().
|
static |
Definition at line 430 of file MOD_displace.cc.
References eModifierType_Displace, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 58 of file MOD_displace.cc.
References CD_MASK_CUSTOMLOOPNORMAL, CD_MASK_MDEFORMVERT, CD_MASK_MTFACE, DisplaceModifierData::defgrp_name, DisplaceModifierData::direction, CustomData_MeshMasks::fmask, CustomData_MeshMasks::lmask, MOD_DISP_DIR_CLNOR, MOD_DISP_MAP_UV, DisplaceModifierData::texmapping, and CustomData_MeshMasks::vmask.
|
static |
Definition at line 109 of file MOD_displace.cc.
References DEG_add_depends_on_transform_relation(), DEG_add_generic_id_relation(), DisplaceModifierData::direction, ELEM, Tex::id, DisplaceModifierData::map_bone, DisplaceModifierData::map_object, MOD_depsgraph_update_object_bone_relation(), MOD_DISP_DIR_RGB_XYZ, MOD_DISP_DIR_X, MOD_DISP_DIR_Y, MOD_DISP_DIR_Z, MOD_DISP_MAP_GLOBAL, MOD_DISP_MAP_OBJECT, MOD_DISP_SPACE_GLOBAL, ModifierUpdateDepsgraphContext::node, DisplaceModifierData::space, DisplaceModifierData::texmapping, and DisplaceModifierData::texture.
| ModifierTypeInfo modifierType_Displace |
Definition at line 435 of file MOD_displace.cc.