Blender  V3.3
Public Attributes | List of all members
PaintBakeData Struct Reference

Public Attributes

PaintBakeNormalbNormal
 
int * s_pos
 
int * s_num
 
Vec3frealCoord
 
Bounds3D mesh_bounds
 
float dim [3]
 
BakeAdjPointbNeighs
 
double average_dist
 
VolumeGridgrid
 
Vec3fvelocity
 
Vec3fprev_velocity
 
floatbrush_velocity
 
MVertprev_verts
 
float prev_obmat [4][4]
 
int clear
 

Detailed Description

Temp surface data used to process a frame

Definition at line 176 of file dynamicpaint.c.

Member Data Documentation

◆ average_dist

double PaintBakeData::average_dist

◆ bNeighs

BakeAdjPoint* PaintBakeData::bNeighs

◆ bNormal

PaintBakeNormal* PaintBakeData::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 202 of file dynamicpaint.c.

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 208 of file dynamicpaint.c.

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

◆ dim

float PaintBakeData::dim[3]

◆ grid

VolumeGrid* PaintBakeData::grid

◆ mesh_bounds

Bounds3D PaintBakeData::mesh_bounds

Definition at line 185 of file dynamicpaint.c.

Referenced by dynamicPaint_generateBakeData(), and getSurfaceDimension().

◆ prev_obmat

float PaintBakeData::prev_obmat[4][4]

Previous frame object matrix.

Definition at line 206 of file dynamicpaint.c.

Referenced by dynamicPaint_generateBakeData(), and dynamicPaint_surfaceHasMoved().

◆ prev_velocity

Vec3f* PaintBakeData::prev_velocity

◆ prev_verts

MVert* PaintBakeData::prev_verts

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

Definition at line 204 of file dynamicpaint.c.

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

◆ realCoord

Vec3f* PaintBakeData::realCoord

◆ s_num

int* PaintBakeData::s_num

◆ s_pos

int* PaintBakeData::s_pos

◆ velocity

Vec3f* PaintBakeData::velocity

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