Blender V4.3
PaintBakeData Struct Reference

Public Attributes

PaintBakeNormalbNormal
 
ints_pos
 
ints_num
 
Vec3frealCoord
 
Bounds3D mesh_bounds
 
float dim [3]
 
BakeAdjPointbNeighs
 
double average_dist
 
DynamicPaintVolumeGridgrid
 
Vec3fvelocity
 
Vec3fprev_velocity
 
floatbrush_velocity
 
float(* prev_positions )[3]
 
float prev_obmat [4][4]
 
int clear
 

Detailed Description

Temp surface data used to process a frame

Definition at line 183 of file dynamicpaint.cc.

Member Data Documentation

◆ average_dist

double PaintBakeData::average_dist

◆ bNeighs

◆ bNormal

◆ brush_velocity

float* PaintBakeData::brush_velocity

special temp data for post-p velocity based brushes like smudge 3 float dir vec + 1 float str

Definition at line 209 of file dynamicpaint.cc.

Referenced by dynamic_paint_paint_mesh_cell_point_cb_ex(), dynamic_paint_paint_particle_cell_point_cb_ex(), dynamic_paint_paint_single_point_cb_ex(), dynamicPaint_doSmudge(), dynamicPaint_doStep(), and dynamicPaint_updatePointData().

◆ clear

int PaintBakeData::clear

flag to check if surface was cleared/reset -> have to redo velocity etc.

Definition at line 215 of file dynamicpaint.cc.

Referenced by dynamic_paint_generate_bake_data_cb(), dynamicPaint_clearSurface(), and dynamicPaint_generateBakeData().

◆ dim

float PaintBakeData::dim[3]

◆ grid

◆ mesh_bounds

Bounds3D PaintBakeData::mesh_bounds

Definition at line 192 of file dynamicpaint.cc.

Referenced by dynamicPaint_generateBakeData(), and getSurfaceDimension().

◆ prev_obmat

float PaintBakeData::prev_obmat[4][4]

Previous frame object matrix.

Definition at line 213 of file dynamicpaint.cc.

Referenced by dynamicPaint_generateBakeData(), and dynamicPaint_surfaceHasMoved().

◆ prev_positions

float(* PaintBakeData::prev_positions)[3]

copy of previous frame vertices. used to observe surface movement.

Definition at line 211 of file dynamicpaint.cc.

Referenced by dynamicPaint_generateBakeData(), dynamicPaint_surfaceHasMoved(), and free_bakeData().

◆ prev_velocity

Vec3f* PaintBakeData::prev_velocity

◆ realCoord

◆ s_num

int* PaintBakeData::s_num

◆ s_pos

◆ velocity


The documentation for this struct was generated from the following file: