Blender V5.3
blender::PaintBakeData Struct Reference

Public Attributes

PaintBakeNormal * bNormal
int * s_pos
int * s_num
Vec3f * realCoord
Bounds3D mesh_bounds
float dim [3]
BakeAdjPoint * bNeighs
double average_dist
DynamicPaintVolumeGrid * grid
Vec3f * velocity
Vec3f * prev_velocity
float * brush_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 195 of file dynamicpaint.cc.

Member Data Documentation

◆ average_dist

double blender::PaintBakeData::average_dist

◆ bNeighs

◆ bNormal

◆ brush_velocity

float* blender::PaintBakeData::brush_velocity

◆ clear

int blender::PaintBakeData::clear

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

Definition at line 229 of file dynamicpaint.cc.

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

◆ dim

float blender::PaintBakeData::dim[3]

◆ grid

◆ mesh_bounds

Bounds3D blender::PaintBakeData::mesh_bounds

◆ prev_obmat

float blender::PaintBakeData::prev_obmat[4][4]

Previous frame object matrix.

Definition at line 227 of file dynamicpaint.cc.

Referenced by blender::dynamicPaint_generateBakeData(), and blender::dynamicPaint_surfaceHasMoved().

◆ prev_positions

float(* blender::PaintBakeData::prev_positions)[3]

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

Definition at line 225 of file dynamicpaint.cc.

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

◆ prev_velocity

Vec3f* blender::PaintBakeData::prev_velocity

◆ realCoord

◆ s_num

◆ s_pos

◆ velocity


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