Blender
V3.3
|
Definition at line 240 of file paint_image_proj.c.
MemArena* ProjPaintState::arena_mt[BLENDER_MAX_THREADS] |
For multi-threading, the first item is sometimes used for non threaded cases too.
Definition at line 271 of file paint_image_proj.c.
Referenced by proj_paint_state_thread_init(), project_paint_begin(), project_paint_delayed_face_init(), project_paint_end(), project_paint_face_init(), and project_paint_op().
short ProjPaintState::blend |
Definition at line 255 of file paint_image_proj.c.
Referenced by do_projectpaint_clone(), do_projectpaint_clone_f(), do_projectpaint_draw(), do_projectpaint_draw_f(), do_projectpaint_mask(), do_projectpaint_mask_f(), do_projectpaint_thread(), paint_proj_stroke_ps(), and project_state_init().
BlurKernel* ProjPaintState::blurkernel |
Definition at line 370 of file paint_image_proj.c.
Referenced by do_projectpaint_soften(), do_projectpaint_soften_f(), project_paint_end(), and project_state_init().
Brush* ProjPaintState::brush |
Definition at line 254 of file paint_image_proj.c.
Referenced by do_projectpaint_soften(), do_projectpaint_soften_f(), do_projectpaint_thread(), paint_proj_stroke_ps(), project_paint_begin(), project_paint_face_init(), project_paint_uvpixel_init(), project_state_init(), and texture_paint_camera_project_exec().
float ProjPaintState::brush_size |
Definition at line 257 of file paint_image_proj.c.
Referenced by do_projectpaint_thread(), paint_proj_stroke_ps(), project_bucket_iter_init(), and project_bucket_iter_next().
LinkNode** ProjPaintState::bucketFaces |
bucketRect aligned array linkList of faces overlapping each bucket.
Definition at line 275 of file paint_image_proj.c.
Referenced by project_bucket_init(), project_paint_begin(), project_paint_delayed_face_init(), project_paint_end(), project_paint_face_init(), and project_paint_PickFace().
uchar* ProjPaintState::bucketFlags |
store if the bucks have been initialized.
Definition at line 277 of file paint_image_proj.c.
Referenced by do_projectpaint_thread(), project_bucket_init(), project_paint_begin(), and project_paint_end().
int ProjPaintState::bucketMax[2] |
Definition at line 365 of file paint_image_proj.c.
Referenced by project_bucket_iter_init(), and project_bucket_iter_next().
int ProjPaintState::bucketMin[2] |
Definition at line 364 of file paint_image_proj.c.
Referenced by project_bucket_iter_init(), and project_bucket_iter_next().
LinkNode** ProjPaintState::bucketRect |
screen sized 2D array, each pixel has a linked list of ProjPixel's
Definition at line 273 of file paint_image_proj.c.
Referenced by do_projectpaint_thread(), project_paint_begin(), project_paint_end(), and project_paint_face_init().
int ProjPaintState::buckets_x |
The size of the bucket grid, the grid span's screenMin/screenMax so you can paint outsize the screen or with 2 brushes at once.
Definition at line 283 of file paint_image_proj.c.
Referenced by project_bucket_bounds(), project_bucket_iter_init(), project_bucket_iter_next(), project_bucket_offset(), project_bucket_offset_safe(), project_paint_begin(), project_paint_bucket_bounds(), and project_paint_delayed_face_init().
int ProjPaintState::buckets_y |
Definition at line 284 of file paint_image_proj.c.
Referenced by project_bucket_bounds(), project_bucket_iter_init(), project_bucket_offset(), project_bucket_offset_safe(), project_paint_begin(), and project_paint_bucket_bounds().
Image* ProjPaintState::canvas_ima |
Definition at line 265 of file paint_image_proj.c.
Referenced by project_paint_clone_face_skip(), project_paint_face_paint_image(), project_paint_prepare_all_faces(), and project_state_init().
float* ProjPaintState::cavities |
cavity amount for vertices.
Definition at line 388 of file paint_image_proj.c.
Referenced by proj_paint_state_cavity_init(), project_paint_end(), and project_paint_uvpixel_mask().
struct CurveMapping* ProjPaintState::cavity_curve |
Definition at line 369 of file paint_image_proj.c.
Referenced by project_paint_uvpixel_mask(), and project_state_init().
float ProjPaintState::clip_end |
Definition at line 354 of file paint_image_proj.c.
Referenced by proj_paint_state_viewport_init().
float ProjPaintState::clip_start |
Definition at line 354 of file paint_image_proj.c.
Referenced by proj_paint_state_screen_coords_init(), and proj_paint_state_viewport_init().
Image* ProjPaintState::clone_ima |
Definition at line 266 of file paint_image_proj.c.
Referenced by project_paint_clone_face_skip(), project_paint_face_clone_image(), and project_state_init().
float ProjPaintState::cloneOffset[2] |
Definition at line 344 of file paint_image_proj.c.
Referenced by paint_proj_begin_clone(), and project_paint_uvpixel_init().
int ProjPaintState::context_bucket_index |
must lock threads while accessing these.
Definition at line 367 of file paint_image_proj.c.
Referenced by project_bucket_iter_init(), and project_bucket_iter_next().
Depsgraph* ProjPaintState::depsgraph |
Definition at line 244 of file paint_image_proj.c.
Referenced by proj_paint_state_viewport_init(), and project_state_init().
float ProjPaintState::dither |
Definition at line 252 of file paint_image_proj.c.
Referenced by do_projectpaint_thread(), and project_state_init().
bool ProjPaintState::do_backfacecull |
ignore faces with normals pointing away, skips a lot of ray-casts if your normals are correctly flipped.
Definition at line 314 of file paint_image_proj.c.
Referenced by proj_paint_state_vert_flags_init(), project_paint_face_init(), project_paint_prepare_all_faces(), project_paint_uvpixel_mask(), and project_state_init().
bool ProjPaintState::do_face_sel |
quick access to (me->editflag & ME_EDIT_PAINT_FACE_SEL)
Definition at line 329 of file paint_image_proj.c.
Referenced by proj_paint_face_lookup_init(), proj_paint_state_mesh_eval_init(), project_paint_begin(), and project_paint_check_face_sel().
bool ProjPaintState::do_layer_clone |
Definition at line 304 of file paint_image_proj.c.
Referenced by proj_paint_layer_clone_init(), project_paint_clone_face_skip(), project_paint_end(), and project_state_init().
bool ProjPaintState::do_layer_stencil |
Definition at line 305 of file paint_image_proj.c.
Referenced by project_paint_begin(), project_paint_uvpixel_mask(), and project_state_init().
bool ProjPaintState::do_layer_stencil_inv |
Definition at line 306 of file paint_image_proj.c.
Referenced by project_paint_uvpixel_mask(), and project_state_init().
bool ProjPaintState::do_mask_cavity |
mask out pixels based on cavity.
Definition at line 318 of file paint_image_proj.c.
Referenced by proj_paint_state_cavity_init(), proj_paint_state_mesh_eval_init(), project_paint_end(), project_paint_uvpixel_mask(), and project_state_init().
bool ProjPaintState::do_mask_normal |
mask out pixels based on their normals.
Definition at line 316 of file paint_image_proj.c.
Referenced by proj_paint_state_vert_flags_init(), project_paint_prepare_all_faces(), project_paint_uvpixel_mask(), and project_state_init().
bool ProjPaintState::do_masking |
use masking during painting. Some operations such as airbrush may disable.
Definition at line 334 of file paint_image_proj.c.
Referenced by do_projectpaint_clone(), do_projectpaint_clone_f(), do_projectpaint_draw(), do_projectpaint_draw_f(), do_projectpaint_mask(), do_projectpaint_mask_f(), do_projectpaint_thread(), project_paint_face_init(), project_paint_uvpixel_init(), project_state_init(), and texture_paint_camera_project_exec().
bool ProjPaintState::do_material_slots |
Definition at line 308 of file paint_image_proj.c.
Referenced by project_paint_clone_face_skip(), and project_state_init().
bool ProjPaintState::do_occlude |
Use ray-traced occlusion? - otherwise will paint right through to the back.
Definition at line 311 of file paint_image_proj.c.
Referenced by project_paint_face_init(), and project_state_init().
bool ProjPaintState::do_stencil_brush |
Definition at line 307 of file paint_image_proj.c.
Referenced by project_paint_begin(), project_paint_face_paint_image(), project_paint_prepare_all_faces(), and project_state_init().
ushort* ProjPaintState::faceSeamFlags |
Store info about faces, if they are initialized etc.
Definition at line 392 of file paint_image_proj.c.
Referenced by proj_paint_state_seam_bleed_init(), project_face_seams_init(), project_paint_bleed_add_face_user(), project_paint_end(), project_paint_face_init(), and uv_image_outset().
char* ProjPaintState::faceWindingFlags |
save the winding of the face in uv space, helps as an extra validation step for seam detection.
Definition at line 395 of file paint_image_proj.c.
Referenced by check_seam(), insert_seam_vert_array(), proj_paint_state_seam_bleed_init(), project_face_seams_init(), project_face_winding_init(), and project_paint_end().
int ProjPaintState::image_tot |
size of projectImages array.
Definition at line 290 of file paint_image_proj.c.
Referenced by project_bucket_init(), project_paint_build_proj_ima(), project_paint_op(), project_paint_prepare_all_faces(), and texture_paint_camera_project_exec().
bool ProjPaintState::is_flip_object |
the object is negative scaled.
Definition at line 332 of file paint_image_proj.c.
Referenced by proj_paint_state_vert_flags_init(), proj_paint_state_viewport_init(), project_paint_begin(), project_paint_face_init(), project_paint_prepare_all_faces(), and project_paint_uvpixel_mask().
bool ProjPaintState::is_maskbrush |
mask brush is applied before masking.
Definition at line 338 of file paint_image_proj.c.
Referenced by do_projectpaint_thread(), project_state_init(), and texture_paint_camera_project_exec().
bool ProjPaintState::is_ortho |
Definition at line 330 of file paint_image_proj.c.
Referenced by proj_paint_state_screen_coords_init(), proj_paint_state_vert_flags_init(), proj_paint_state_viewport_init(), project_bucket_point_occluded(), project_paint_face_init(), project_paint_flt_max_cull(), project_paint_PickFace(), and project_paint_uvpixel_mask().
bool ProjPaintState::is_shared_user |
Definition at line 384 of file paint_image_proj.c.
Referenced by paint_proj_new_stroke(), proj_paint_state_thread_init(), project_paint_begin(), project_paint_end(), and project_paint_prepare_all_faces().
bool ProjPaintState::is_texbrush |
only to avoid running.
Definition at line 336 of file paint_image_proj.c.
Referenced by do_projectpaint_draw(), do_projectpaint_draw_f(), do_projectpaint_thread(), project_state_init(), and texture_paint_camera_project_exec().
LoopSeamData* ProjPaintState::loopSeamData |
expanded UVs for faces to use as seams.
Definition at line 397 of file paint_image_proj.c.
Referenced by proj_paint_state_seam_bleed_init(), project_paint_delayed_face_init(), project_paint_end(), project_paint_face_init(), and uv_image_outset().
Material** ProjPaintState::mat_array |
Definition at line 432 of file paint_image_proj.c.
Referenced by proj_paint_state_mesh_eval_init(), project_paint_end(), project_paint_face_clone_image(), project_paint_face_clone_slot(), project_paint_face_paint_image(), and project_paint_face_paint_slot().
Mesh* ProjPaintState::me_eval |
Definition at line 406 of file paint_image_proj.c.
Referenced by paint_proj_new_stroke(), proj_paint_face_lookup_init(), proj_paint_layer_clone_init(), proj_paint_state_mesh_eval_init(), project_paint_begin(), project_paint_clone_face_skip(), project_paint_end(), project_paint_prepare_all_faces(), and texture_paint_camera_project_exec().
const MEdge* ProjPaintState::medge_eval |
Definition at line 415 of file paint_image_proj.c.
Referenced by proj_paint_state_cavity_init(), and proj_paint_state_mesh_eval_init().
const MLoop* ProjPaintState::mloop_eval |
Definition at line 417 of file paint_image_proj.c.
Referenced by check_seam(), insert_seam_vert_array(), proj_paint_state_mesh_eval_init(), project_bucket_point_occluded(), project_face_seams_init(), project_paint_PickFace(), project_paint_prepare_all_faces(), and uv_image_outset().
const MLoopTri* ProjPaintState::mlooptri_eval |
Definition at line 418 of file paint_image_proj.c.
Referenced by check_seam(), insert_seam_vert_array(), proj_paint_state_mesh_eval_init(), project_bucket_init(), project_bucket_point_occluded(), project_face_seams_init(), project_face_winding_init(), project_paint_clone_face_skip(), project_paint_face_init(), project_paint_op(), project_paint_PickColor(), project_paint_PickFace(), project_paint_prepare_all_faces(), project_paint_uvpixel_init(), project_paint_uvpixel_mask(), ps_tri_index_to_mpoly(), and uv_image_outset().
const MLoopUV* ProjPaintState::mloopuv_stencil_eval |
Definition at line 420 of file paint_image_proj.c.
Referenced by project_paint_begin(), and project_paint_uvpixel_mask().
short ProjPaintState::mode |
Definition at line 255 of file paint_image_proj.c.
Referenced by do_projectpaint_soften(), do_projectpaint_soften_f(), paint_proj_stroke_ps(), and project_state_init().
const MPoly* ProjPaintState::mpoly_eval |
Definition at line 416 of file paint_image_proj.c.
Referenced by proj_paint_state_mesh_eval_init(), project_paint_check_face_sel(), project_paint_prepare_all_faces(), project_paint_uvpixel_mask(), and ps_tri_index_to_mpoly().
const MVert* ProjPaintState::mvert_eval |
Definition at line 413 of file paint_image_proj.c.
Referenced by proj_paint_state_cavity_init(), proj_paint_state_mesh_eval_init(), proj_paint_state_screen_coords_init(), proj_paint_state_vert_flags_init(), project_bucket_point_occluded(), project_paint_face_init(), project_paint_op(), and project_paint_uvpixel_mask().
float ProjPaintState::normal_angle |
what angle to mask at.
Definition at line 320 of file paint_image_proj.c.
Referenced by project_paint_uvpixel_mask(), and project_state_init().
float ProjPaintState::normal_angle__cos |
cos(normal_angle), faster to compare.
Definition at line 322 of file paint_image_proj.c.
Referenced by proj_paint_state_vert_flags_init(), and project_state_init().
float ProjPaintState::normal_angle_inner |
Definition at line 323 of file paint_image_proj.c.
Referenced by project_state_init().
float ProjPaintState::normal_angle_inner__cos |
Definition at line 324 of file paint_image_proj.c.
Referenced by project_state_init().
float ProjPaintState::normal_angle_range |
difference between normal_angle and normal_angle_inner, for easy access.
Definition at line 326 of file paint_image_proj.c.
Referenced by project_paint_uvpixel_mask(), and project_state_init().
Object* ProjPaintState::ob |
Definition at line 258 of file paint_image_proj.c.
Referenced by paint_proj_new_stroke(), proj_paint_face_lookup_init(), proj_paint_layer_clone_init(), proj_paint_state_mesh_eval_init(), proj_paint_state_viewport_init(), project_paint_begin(), and project_state_init().
float ProjPaintState::obmat[4][4] |
Definition at line 260 of file paint_image_proj.c.
Referenced by proj_paint_state_viewport_init(), and project_paint_op().
float ProjPaintState::obmat_imat[4][4] |
Definition at line 261 of file paint_image_proj.c.
Referenced by paint_proj_begin_clone(), and proj_paint_state_viewport_init().
float ProjPaintState::paint_color[3] |
Definition at line 250 of file paint_image_proj.c.
Referenced by do_projectpaint_draw(), do_projectpaint_thread(), and paint_proj_stroke_ps().
float ProjPaintState::paint_color_linear[3] |
Definition at line 251 of file paint_image_proj.c.
Referenced by do_projectpaint_draw(), do_projectpaint_draw_f(), do_projectpaint_thread(), and paint_proj_stroke_ps().
int ProjPaintState::pixel_sizeof |
result of project_paint_pixel_sizeof(), constant per stroke.
Definition at line 287 of file paint_image_proj.c.
Referenced by project_paint_uvpixel_init(), and project_state_init().
const MLoopUV** ProjPaintState::poly_to_loop_uv |
Definition at line 427 of file paint_image_proj.c.
Referenced by check_seam(), insert_seam_vert_array(), proj_paint_state_mesh_eval_init(), project_bucket_init(), project_face_winding_init(), project_paint_bleed_add_face_user(), project_paint_end(), project_paint_face_init(), project_paint_PickColor(), and project_paint_prepare_all_faces().
const MLoopUV** ProjPaintState::poly_to_loop_uv_clone |
other UV map, use for cloning between layers.
Definition at line 429 of file paint_image_proj.c.
Referenced by proj_paint_layer_clone_init(), project_paint_clone_face_skip(), project_paint_end(), and project_paint_uvpixel_init().
float ProjPaintState::projectMat[4][4] |
Projection matrix, use for getting screen coords.
Definition at line 347 of file paint_image_proj.c.
Referenced by paint_proj_begin_clone(), proj_paint_state_screen_coords_init(), proj_paint_state_viewport_init(), and project_paint_face_init().
float ProjPaintState::projectMatInv[4][4] |
inverse of projectMat.
Definition at line 349 of file paint_image_proj.c.
Referenced by proj_paint_state_viewport_init(), and screen_px_line_point_factor_v2_persp().
ProjPaintImage* ProjPaintState::projImages |
Definition at line 386 of file paint_image_proj.c.
Referenced by project_bucket_init(), project_image_refresh_tagged(), project_paint_build_proj_ima(), project_paint_end(), project_paint_face_init(), project_paint_op(), project_paint_uvpixel_init(), and texture_paint_camera_project_exec().
ARegion* ProjPaintState::region |
Definition at line 243 of file paint_image_proj.c.
Referenced by proj_paint_state_viewport_init(), and project_state_init().
ImBuf* ProjPaintState::reproject_ibuf |
Definition at line 358 of file paint_image_proj.c.
Referenced by do_projectpaint_thread(), proj_paint_state_viewport_init(), project_paint_end(), project_paint_op(), and texture_paint_camera_project_exec().
bool ProjPaintState::reproject_ibuf_free_float |
Definition at line 359 of file paint_image_proj.c.
Referenced by project_paint_end(), and project_paint_op().
bool ProjPaintState::reproject_ibuf_free_uchar |
Definition at line 360 of file paint_image_proj.c.
Referenced by project_paint_end(), and project_paint_op().
Image* ProjPaintState::reproject_image |
Definition at line 357 of file paint_image_proj.c.
Referenced by proj_paint_state_viewport_init(), project_paint_end(), and texture_paint_camera_project_exec().
RegionView3D* ProjPaintState::rv3d |
Definition at line 242 of file paint_image_proj.c.
Referenced by proj_paint_state_viewport_init(), project_bucket_point_occluded(), project_paint_begin(), project_paint_face_init(), and project_state_init().
Scene* ProjPaintState::scene |
Definition at line 245 of file paint_image_proj.c.
Referenced by do_projectpaint_thread(), paint_proj_begin_clone(), paint_proj_stroke_ps(), proj_paint_state_thread_init(), proj_paint_state_viewport_init(), project_paint_begin(), project_paint_op(), and project_state_init().
float ProjPaintState::screen_height |
Definition at line 299 of file paint_image_proj.c.
Referenced by project_bucket_bounds(), project_bucket_offset(), project_paint_begin(), and project_paint_bucket_bounds().
float ProjPaintState::screen_width |
Calculated from screenMin & screenMax.
Definition at line 298 of file paint_image_proj.c.
Referenced by project_bucket_bounds(), project_bucket_offset(), project_paint_begin(), and project_paint_bucket_bounds().
float(* ProjPaintState::screenCoords)[4] |
verts projected into floating point screen space.
Definition at line 293 of file paint_image_proj.c.
Referenced by proj_paint_face_coSS_init(), proj_paint_state_screen_coords_init(), project_bucket_face_isect(), project_bucket_point_occluded(), project_paint_delayed_face_init(), project_paint_end(), project_paint_face_init(), and project_paint_PickFace().
float ProjPaintState::screenMax[2] |
Definition at line 296 of file paint_image_proj.c.
Referenced by proj_paint_state_screen_coords_init(), project_paint_begin(), and project_paint_winclip().
float ProjPaintState::screenMin[2] |
2D bounds for mesh verts on the screen's plane (screen-space).
Definition at line 295 of file paint_image_proj.c.
Referenced by proj_paint_state_screen_coords_init(), project_bucket_bounds(), project_bucket_offset(), project_paint_begin(), project_paint_bucket_bounds(), and project_paint_winclip().
float ProjPaintState::seam_bleed_px |
Definition at line 340 of file paint_image_proj.c.
Referenced by proj_paint_state_seam_bleed_init(), project_paint_bleed_add_face_user(), project_paint_delayed_face_init(), project_paint_end(), project_paint_face_init(), project_state_init(), and uv_image_outset().
float ProjPaintState::seam_bleed_px_sq |
Definition at line 341 of file paint_image_proj.c.
Referenced by project_paint_face_init(), and project_state_init().
int ProjPaintState::source |
Definition at line 247 of file paint_image_proj.c.
Referenced by do_projectpaint_thread(), paint_proj_new_stroke(), proj_paint_state_screen_coords_init(), proj_paint_state_viewport_init(), project_bucket_iter_init(), project_bucket_iter_next(), project_paint_begin(), project_paint_op(), project_paint_winclip(), and texture_paint_camera_project_exec().
Image* ProjPaintState::stencil_ima |
Definition at line 264 of file paint_image_proj.c.
Referenced by project_paint_face_paint_image(), project_paint_prepare_all_faces(), project_paint_uvpixel_mask(), and project_state_init().
float ProjPaintState::stencil_value |
Definition at line 267 of file paint_image_proj.c.
Referenced by do_projectpaint_mask(), do_projectpaint_mask_f(), and paint_proj_stroke_ps().
int ProjPaintState::thread_tot |
Definition at line 363 of file paint_image_proj.c.
Referenced by proj_paint_state_thread_init(), project_paint_end(), project_paint_face_init(), and project_paint_op().
SpinLock* ProjPaintState::tile_lock |
Definition at line 404 of file paint_image_proj.c.
Referenced by proj_paint_state_thread_init(), project_paint_end(), and project_paint_face_init().
short ProjPaintState::tool |
Definition at line 255 of file paint_image_proj.c.
Referenced by do_projectpaint_thread(), paint_proj_begin_clone(), paint_proj_new_stroke(), paint_proj_stroke_ps(), project_paint_uvpixel_init(), project_state_init(), and texture_paint_camera_project_exec().
int ProjPaintState::totedge_eval |
Definition at line 410 of file paint_image_proj.c.
Referenced by proj_paint_state_mesh_eval_init().
int ProjPaintState::totloop_eval |
Definition at line 408 of file paint_image_proj.c.
Referenced by proj_paint_state_mesh_eval_init(), and proj_paint_state_seam_bleed_init().
int ProjPaintState::totlooptri_eval |
Definition at line 407 of file paint_image_proj.c.
Referenced by proj_paint_state_mesh_eval_init(), and proj_paint_state_seam_bleed_init().
int ProjPaintState::totpoly_eval |
Definition at line 409 of file paint_image_proj.c.
Referenced by proj_paint_layer_clone_init(), and proj_paint_state_mesh_eval_init().
int ProjPaintState::totvert_eval |
Definition at line 411 of file paint_image_proj.c.
Referenced by proj_paint_state_cavity_init(), proj_paint_state_mesh_eval_init(), proj_paint_state_screen_coords_init(), proj_paint_state_seam_bleed_init(), and proj_paint_state_vert_flags_init().
bool ProjPaintState::use_colormanagement |
Definition at line 434 of file paint_image_proj.c.
Referenced by do_projectpaint_draw(), paint_proj_stroke_ps(), project_paint_uvpixel_init(), and project_state_init().
View3D* ProjPaintState::v3d |
Definition at line 241 of file paint_image_proj.c.
Referenced by proj_paint_state_viewport_init(), project_bucket_point_occluded(), project_paint_face_init(), and project_state_init().
const float(* ProjPaintState::vert_normals)[3] |
Definition at line 414 of file paint_image_proj.c.
Referenced by proj_paint_state_cavity_init(), proj_paint_state_mesh_eval_init(), proj_paint_state_vert_flags_init(), and project_paint_uvpixel_mask().
LinkNode** ProjPaintState::vertFaces |
Only needed for when seam_bleed_px is enabled, use to find UV seams.
Definition at line 399 of file paint_image_proj.c.
Referenced by check_seam(), proj_paint_state_seam_bleed_init(), project_face_seams_init(), project_paint_bleed_add_face_user(), and project_paint_end().
char* ProjPaintState::vertFlags |
store options per vert, now only store if the vert is pointing away from the view.
Definition at line 280 of file paint_image_proj.c.
Referenced by proj_paint_state_vert_flags_init(), project_paint_end(), and project_paint_prepare_all_faces().
ListBase* ProjPaintState::vertSeams |
Seams per vert, to find adjacent seams.
Definition at line 401 of file paint_image_proj.c.
Referenced by find_adjacent_seam(), insert_seam_vert_array(), proj_paint_state_seam_bleed_init(), and project_paint_end().
float ProjPaintState::viewDir[3] |
View vector, use for do_backfacecull and for ray casting with an ortho viewport.
Definition at line 351 of file paint_image_proj.c.
Referenced by proj_paint_state_vert_flags_init(), proj_paint_state_viewport_init(), and project_paint_uvpixel_mask().
float ProjPaintState::viewPos[3] |
View location in object relative 3D space, so can compare to verts.
Definition at line 353 of file paint_image_proj.c.
Referenced by proj_paint_state_vert_flags_init(), proj_paint_state_viewport_init(), project_paint_uvpixel_mask(), and screen_px_line_point_factor_v2_persp().
int ProjPaintState::winx |
From the area or from the projection render.
Definition at line 301 of file paint_image_proj.c.
Referenced by paint_proj_begin_clone(), proj_paint_state_screen_coords_init(), proj_paint_state_viewport_init(), project_paint_face_init(), and screen_px_line_point_factor_v2_persp().
int ProjPaintState::winy |
Definition at line 301 of file paint_image_proj.c.
Referenced by paint_proj_begin_clone(), proj_paint_state_screen_coords_init(), proj_paint_state_viewport_init(), project_paint_face_init(), and screen_px_line_point_factor_v2_persp().