|
Blender V5.3
|
Definition at line 281 of file paint_image_proj.cc.
| MemArena* blender::ProjPaintState::arena_mt[BLENDER_MAX_THREADS] |
For multi-threading, the first item is sometimes used for non threaded cases too.
Definition at line 320 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_thread_init(), blender::project_paint_begin(), blender::project_paint_delayed_face_init(), blender::project_paint_end(), blender::project_paint_face_init(), and blender::project_paint_op().
| short blender::ProjPaintState::blend |
Definition at line 302 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_clone(), blender::do_projectpaint_clone_f(), blender::do_projectpaint_draw(), blender::do_projectpaint_draw_f(), blender::do_projectpaint_mask(), blender::do_projectpaint_mask_f(), blender::do_projectpaint_thread(), blender::paint_proj_stroke_ps(), and blender::project_state_init().
| BlurKernel* blender::ProjPaintState::blurkernel |
Definition at line 420 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_soften(), blender::do_projectpaint_soften_f(), blender::project_paint_end(), and blender::project_state_init().
| Brush* blender::ProjPaintState::brush |
Definition at line 295 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_soften(), blender::do_projectpaint_soften_f(), blender::do_projectpaint_thread(), blender::paint_proj_stroke_ps(), blender::project_paint_begin(), blender::project_paint_face_init(), blender::project_paint_uvpixel_init(), blender::project_state_init(), and blender::texture_paint_camera_project_exec().
| float blender::ProjPaintState::brush_size |
Definition at line 306 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_thread(), blender::paint_proj_stroke_ps(), blender::project_bucket_iter_init(), and blender::project_bucket_iter_next().
| BrushSwitchMode blender::ProjPaintState::brush_switch_mode |
Definition at line 304 of file paint_image_proj.cc.
Referenced by blender::project_state_init().
| short blender::ProjPaintState::brush_type |
Based on #Brush::image_brush_type but may be overridden by mode (BrushStrokeMode). So check this value instead of brush->image_brush_type.
Definition at line 301 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_thread(), blender::paint_proj_begin_clone(), blender::paint_proj_new_stroke(), blender::paint_proj_stroke_ps(), blender::project_paint_uvpixel_init(), blender::project_state_init(), and blender::texture_paint_camera_project_exec().
| LinkNode** blender::ProjPaintState::bucketFaces |
bucketRect aligned array linkList of faces overlapping each bucket.
Definition at line 324 of file paint_image_proj.cc.
Referenced by blender::project_bucket_init(), blender::project_paint_begin(), blender::project_paint_delayed_face_init(), blender::project_paint_end(), blender::project_paint_face_init(), and blender::project_paint_PickFace().
| uchar* blender::ProjPaintState::bucketFlags |
store if the bucks have been initialized.
Definition at line 326 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_thread(), blender::project_bucket_init(), blender::project_paint_begin(), and blender::project_paint_end().
| int blender::ProjPaintState::bucketMax[2] |
Definition at line 415 of file paint_image_proj.cc.
Referenced by blender::project_bucket_iter_init(), and blender::project_bucket_iter_next().
| int blender::ProjPaintState::bucketMin[2] |
Definition at line 414 of file paint_image_proj.cc.
Referenced by blender::project_bucket_iter_init(), and blender::project_bucket_iter_next().
| LinkNode** blender::ProjPaintState::bucketRect |
screen sized 2D array, each pixel has a linked list of ProjPixel's
Definition at line 322 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_thread(), blender::project_paint_begin(), blender::project_paint_end(), and blender::project_paint_face_init().
| int blender::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 332 of file paint_image_proj.cc.
Referenced by blender::project_bucket_bounds(), blender::project_bucket_iter_init(), blender::project_bucket_iter_next(), blender::project_bucket_offset(), blender::project_bucket_offset_safe(), blender::project_paint_begin(), blender::project_paint_bucket_bounds(), and blender::project_paint_delayed_face_init().
| int blender::ProjPaintState::buckets_y |
Definition at line 333 of file paint_image_proj.cc.
Referenced by blender::project_bucket_bounds(), blender::project_bucket_iter_init(), blender::project_bucket_offset(), blender::project_bucket_offset_safe(), blender::project_paint_begin(), and blender::project_paint_bucket_bounds().
| Image* blender::ProjPaintState::canvas_ima |
Definition at line 314 of file paint_image_proj.cc.
Referenced by blender::project_paint_clone_face_skip(), blender::project_paint_face_paint_image(), blender::project_paint_prepare_all_faces(), and blender::project_state_init().
| float* blender::ProjPaintState::cavities |
cavity amount for vertices.
Definition at line 438 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_cavity_init(), blender::project_paint_end(), and blender::project_paint_uvpixel_mask().
| CurveMapping* blender::ProjPaintState::cavity_curve |
Definition at line 419 of file paint_image_proj.cc.
Referenced by blender::project_paint_uvpixel_mask(), and blender::project_state_init().
| float blender::ProjPaintState::clip_end |
Definition at line 404 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_viewport_init().
| float blender::ProjPaintState::clip_start |
Definition at line 404 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_screen_coords_init(), and blender::proj_paint_state_viewport_init().
| Image* blender::ProjPaintState::clone_ima |
Definition at line 315 of file paint_image_proj.cc.
Referenced by blender::project_paint_clone_face_skip(), blender::project_paint_face_clone_image(), and blender::project_state_init().
| float blender::ProjPaintState::cloneOffset[2] |
Definition at line 394 of file paint_image_proj.cc.
Referenced by blender::paint_proj_begin_clone(), and blender::project_paint_uvpixel_init().
| int blender::ProjPaintState::context_bucket_index |
must lock threads while accessing these.
Definition at line 417 of file paint_image_proj.cc.
Referenced by blender::project_bucket_iter_init(), and blender::project_bucket_iter_next().
Definition at line 472 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_mesh_eval_init(), and blender::project_paint_uvpixel_mask().
| Span<int> blender::ProjPaintState::corner_tri_faces_eval |
Definition at line 474 of file paint_image_proj.cc.
Referenced by blender::check_seam(), blender::insert_seam_vert_array(), blender::proj_paint_state_mesh_eval_init(), blender::project_bucket_init(), blender::project_face_winding_init(), blender::project_paint_bleed_add_face_user(), blender::project_paint_check_face_paintable(), blender::project_paint_clone_face_skip(), blender::project_paint_face_clone_image(), blender::project_paint_face_clone_slot(), blender::project_paint_face_init(), blender::project_paint_face_paint_image(), blender::project_paint_face_paint_slot(), blender::project_paint_PickColor(), blender::project_paint_prepare_all_faces(), and blender::project_paint_uvpixel_init().
Definition at line 473 of file paint_image_proj.cc.
Referenced by blender::check_seam(), blender::insert_seam_vert_array(), blender::proj_paint_state_mesh_eval_init(), blender::proj_paint_state_seam_bleed_init(), blender::project_bucket_init(), blender::project_bucket_point_occluded(), blender::project_face_seams_init(), blender::project_face_winding_init(), blender::project_paint_face_init(), blender::project_paint_op(), blender::project_paint_PickColor(), blender::project_paint_PickFace(), blender::project_paint_prepare_all_faces(), blender::project_paint_uvpixel_init(), blender::project_paint_uvpixel_mask(), and blender::uv_image_outset().
| Span<int> blender::ProjPaintState::corner_verts_eval |
Definition at line 465 of file paint_image_proj.cc.
Referenced by blender::check_seam(), blender::insert_seam_vert_array(), blender::proj_paint_state_mesh_eval_init(), blender::project_bucket_point_occluded(), blender::project_face_seams_init(), blender::project_paint_PickFace(), blender::project_paint_prepare_all_faces(), and blender::uv_image_outset().
| Depsgraph* blender::ProjPaintState::depsgraph |
Definition at line 285 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_viewport_init(), and blender::project_state_init().
| float blender::ProjPaintState::dither |
Definition at line 292 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_thread(), and blender::project_state_init().
| bool blender::ProjPaintState::do_backfacecull |
ignore faces with normals pointing away, skips a lot of ray-casts if your normals are correctly flipped.
Definition at line 364 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_vert_flags_init(), blender::project_paint_face_init(), blender::project_paint_prepare_all_faces(), blender::project_paint_uvpixel_mask(), and blender::project_state_init().
| bool blender::ProjPaintState::do_face_sel |
quick access to (me->editflag & ME_EDIT_PAINT_FACE_SEL)
Definition at line 379 of file paint_image_proj.cc.
Referenced by blender::proj_paint_face_lookup_init(), blender::project_paint_begin(), and blender::project_paint_check_face_paintable().
| bool blender::ProjPaintState::do_layer_clone |
Definition at line 354 of file paint_image_proj.cc.
Referenced by blender::proj_paint_layer_clone_init(), blender::project_paint_clone_face_skip(), blender::project_paint_end(), and blender::project_state_init().
| bool blender::ProjPaintState::do_layer_stencil |
Definition at line 355 of file paint_image_proj.cc.
Referenced by blender::project_paint_begin(), blender::project_paint_uvpixel_mask(), and blender::project_state_init().
| bool blender::ProjPaintState::do_layer_stencil_inv |
Definition at line 356 of file paint_image_proj.cc.
Referenced by blender::project_paint_uvpixel_mask(), and blender::project_state_init().
| bool blender::ProjPaintState::do_mask_cavity |
mask out pixels based on cavity.
Definition at line 368 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_cavity_init(), blender::project_paint_end(), blender::project_paint_uvpixel_mask(), and blender::project_state_init().
| bool blender::ProjPaintState::do_mask_normal |
mask out pixels based on their normals.
Definition at line 366 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_vert_flags_init(), blender::project_paint_prepare_all_faces(), blender::project_paint_uvpixel_mask(), and blender::project_state_init().
| bool blender::ProjPaintState::do_masking |
use masking during painting. Some operations such as airbrush may disable.
Definition at line 384 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_clone(), blender::do_projectpaint_clone_f(), blender::do_projectpaint_draw(), blender::do_projectpaint_draw_f(), blender::do_projectpaint_mask(), blender::do_projectpaint_mask_f(), blender::do_projectpaint_thread(), blender::project_paint_face_init(), blender::project_paint_uvpixel_init(), blender::project_state_init(), and blender::texture_paint_camera_project_exec().
| bool blender::ProjPaintState::do_material_slots |
Definition at line 358 of file paint_image_proj.cc.
Referenced by blender::project_paint_clone_face_skip(), and blender::project_state_init().
| bool blender::ProjPaintState::do_occlude |
Use ray-traced occlusion? - otherwise will paint right through to the back.
Definition at line 361 of file paint_image_proj.cc.
Referenced by blender::project_paint_face_init(), and blender::project_state_init().
| bool blender::ProjPaintState::do_stencil_brush |
Definition at line 357 of file paint_image_proj.cc.
Referenced by blender::project_paint_begin(), blender::project_paint_face_paint_image(), blender::project_paint_prepare_all_faces(), and blender::project_state_init().
Definition at line 463 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_cavity_init(), and blender::proj_paint_state_mesh_eval_init().
| OffsetIndices<int> blender::ProjPaintState::faces_eval |
Definition at line 464 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_mesh_eval_init(), and blender::project_paint_prepare_all_faces().
| int blender::ProjPaintState::faces_num_eval |
Definition at line 458 of file paint_image_proj.cc.
Referenced by blender::proj_paint_layer_clone_init(), and blender::proj_paint_state_mesh_eval_init().
| ushort* blender::ProjPaintState::faceSeamFlags |
Store info about faces, if they are initialized etc.
Definition at line 442 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_seam_bleed_init(), blender::project_face_seams_init(), blender::project_paint_bleed_add_face_user(), blender::project_paint_end(), blender::project_paint_face_init(), and blender::uv_image_outset().
| char* blender::ProjPaintState::faceWindingFlags |
save the winding of the face in uv space, helps as an extra validation step for seam detection.
Definition at line 445 of file paint_image_proj.cc.
Referenced by blender::check_seam(), blender::insert_seam_vert_array(), blender::proj_paint_state_seam_bleed_init(), blender::project_face_seams_init(), blender::project_face_winding_init(), and blender::project_paint_end().
| const bool* blender::ProjPaintState::hide_poly_eval |
Definition at line 469 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_mesh_eval_init(), and blender::project_paint_check_face_paintable().
| std::optional<bool> blender::ProjPaintState::hide_poly_single |
Definition at line 468 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_mesh_eval_init(), and blender::project_paint_check_face_paintable().
| int blender::ProjPaintState::image_tot |
size of projectImages array.
Definition at line 339 of file paint_image_proj.cc.
Referenced by blender::paint_proj_new_stroke(), blender::paint_proj_stroke_ps(), blender::project_bucket_init(), blender::project_paint_build_proj_ima(), blender::project_paint_op(), blender::project_paint_prepare_all_faces(), blender::project_paint_prepare_image_index(), and blender::texture_paint_camera_project_exec().
| bool blender::ProjPaintState::is_flip_object |
the object is negative scaled.
Definition at line 382 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_vert_flags_init(), blender::proj_paint_state_viewport_init(), blender::project_paint_begin(), blender::project_paint_face_init(), blender::project_paint_prepare_all_faces(), and blender::project_paint_uvpixel_mask().
| bool blender::ProjPaintState::is_maskbrush |
mask brush is applied before masking.
Definition at line 388 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_thread(), blender::project_state_init(), and blender::texture_paint_camera_project_exec().
| bool blender::ProjPaintState::is_ortho |
Definition at line 380 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_screen_coords_init(), blender::proj_paint_state_vert_flags_init(), blender::proj_paint_state_viewport_init(), blender::project_bucket_point_occluded(), blender::project_paint_face_init(), blender::project_paint_flt_max_cull(), blender::project_paint_PickFace(), and blender::project_paint_uvpixel_mask().
| bool blender::ProjPaintState::is_shared_user |
Definition at line 434 of file paint_image_proj.cc.
Referenced by blender::paint_proj_new_stroke(), blender::proj_paint_state_thread_init(), blender::project_paint_begin(), blender::project_paint_end(), and blender::project_paint_prepare_all_faces().
| bool blender::ProjPaintState::is_texbrush |
only to avoid running.
Definition at line 386 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_draw(), blender::do_projectpaint_draw_f(), blender::do_projectpaint_thread(), blender::project_state_init(), and blender::texture_paint_camera_project_exec().
| LoopSeamData* blender::ProjPaintState::loopSeamData |
expanded UVs for faces to use as seams.
Definition at line 447 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_seam_bleed_init(), blender::project_paint_delayed_face_init(), blender::project_paint_end(), blender::project_paint_face_init(), and blender::uv_image_outset().
| Material** blender::ProjPaintState::mat_array |
Definition at line 489 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_mesh_eval_init(), blender::project_paint_end(), and blender::tex_get_material().
| std::optional<int> blender::ProjPaintState::material_index_single |
Definition at line 470 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_mesh_eval_init(), and blender::tex_get_material().
| const int* blender::ProjPaintState::material_indices |
Definition at line 471 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_mesh_eval_init(), and blender::tex_get_material().
| Mesh* blender::ProjPaintState::mesh_eval |
Definition at line 456 of file paint_image_proj.cc.
Referenced by blender::paint_proj_new_stroke(), blender::proj_paint_face_lookup_init(), blender::proj_paint_layer_clone_init(), blender::proj_paint_state_mesh_eval_init(), blender::project_paint_begin(), blender::project_paint_clone_face_skip(), blender::project_paint_end(), blender::project_paint_prepare_all_faces(), and blender::texture_paint_camera_project_exec().
| BrushStrokeMode blender::ProjPaintState::mode |
Definition at line 303 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_soften(), blender::do_projectpaint_soften_f(), blender::paint_proj_stroke_ps(), and blender::project_state_init().
| float blender::ProjPaintState::normal_angle |
what angle to mask at.
Definition at line 370 of file paint_image_proj.cc.
Referenced by blender::project_paint_uvpixel_mask(), and blender::project_state_init().
| float blender::ProjPaintState::normal_angle__cos |
cos(normal_angle), faster to compare.
Definition at line 372 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_vert_flags_init(), and blender::project_state_init().
| float blender::ProjPaintState::normal_angle_inner |
Definition at line 373 of file paint_image_proj.cc.
Referenced by blender::project_state_init().
| float blender::ProjPaintState::normal_angle_inner__cos |
Definition at line 374 of file paint_image_proj.cc.
Referenced by blender::project_state_init().
| float blender::ProjPaintState::normal_angle_range |
difference between normal_angle and normal_angle_inner, for easy access.
Definition at line 376 of file paint_image_proj.cc.
Referenced by blender::project_paint_uvpixel_mask(), and blender::project_state_init().
| Object* blender::ProjPaintState::ob |
Definition at line 307 of file paint_image_proj.cc.
Referenced by blender::paint_proj_new_stroke(), blender::proj_paint_face_lookup_init(), blender::proj_paint_layer_clone_init(), blender::proj_paint_state_mesh_eval_init(), blender::proj_paint_state_viewport_init(), blender::project_paint_begin(), and blender::project_state_init().
| float blender::ProjPaintState::obmat[4][4] |
Definition at line 309 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_viewport_init(), and blender::project_paint_op().
| float blender::ProjPaintState::obmat_imat[4][4] |
Definition at line 310 of file paint_image_proj.cc.
Referenced by blender::paint_proj_begin_clone(), and blender::proj_paint_state_viewport_init().
| Paint* blender::ProjPaintState::paint |
Definition at line 294 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_thread(), blender::paint_proj_stroke_ps(), blender::project_paint_begin(), blender::project_paint_op(), blender::project_state_init(), and blender::texture_paint_camera_project_exec().
| float blender::ProjPaintState::paint_color_linear[3] |
Definition at line 291 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_draw(), blender::do_projectpaint_draw_f(), blender::do_projectpaint_thread(), and blender::paint_proj_stroke_ps().
| int blender::ProjPaintState::pixel_sizeof |
result of project_paint_pixel_sizeof(), constant per stroke.
Definition at line 336 of file paint_image_proj.cc.
Referenced by blender::project_paint_uvpixel_init(), and blender::project_state_init().
| const float2** blender::ProjPaintState::poly_to_loop_uv |
Definition at line 483 of file paint_image_proj.cc.
Referenced by blender::check_seam(), blender::insert_seam_vert_array(), blender::proj_paint_state_mesh_eval_init(), blender::project_bucket_init(), blender::project_face_winding_init(), blender::project_paint_bleed_add_face_user(), blender::project_paint_end(), blender::project_paint_face_init(), blender::project_paint_PickColor(), and blender::project_paint_prepare_all_faces().
| const float2** blender::ProjPaintState::poly_to_loop_uv_clone |
other UV map, use for cloning between layers.
Definition at line 486 of file paint_image_proj.cc.
Referenced by blender::proj_paint_layer_clone_init(), blender::project_paint_clone_face_skip(), blender::project_paint_end(), and blender::project_paint_uvpixel_init().
| std::optional<float2> blender::ProjPaintState::poly_to_loop_uv_single |
Definition at line 484 of file paint_image_proj.cc.
Referenced by blender::check_seam(), blender::insert_seam_vert_array(), blender::project_face_winding_init(), blender::project_paint_bleed_add_face_user(), blender::project_paint_end(), blender::project_paint_face_init(), blender::project_paint_PickColor(), and blender::project_paint_prepare_all_faces().
| float blender::ProjPaintState::projectMat[4][4] |
Projection matrix, use for getting screen coords.
Definition at line 397 of file paint_image_proj.cc.
Referenced by blender::paint_proj_begin_clone(), blender::proj_paint_state_screen_coords_init(), blender::proj_paint_state_viewport_init(), and blender::project_paint_face_init().
| float blender::ProjPaintState::projectMatInv[4][4] |
inverse of projectMat.
Definition at line 399 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_viewport_init(), and blender::screen_px_line_point_factor_v2_persp().
| ProjPaintImage* blender::ProjPaintState::projImages |
Definition at line 436 of file paint_image_proj.cc.
Referenced by blender::copy_original_alpha_channel(), blender::do_projectpaint_clone(), blender::do_projectpaint_clone_f(), blender::do_projectpaint_draw(), blender::do_projectpaint_draw_f(), blender::do_projectpaint_mask(), blender::do_projectpaint_mask_f(), blender::do_projectpaint_smear(), blender::do_projectpaint_smear_f(), blender::do_projectpaint_soften(), blender::do_projectpaint_soften_f(), blender::do_projectpaint_thread(), blender::paint_proj_stroke_ps(), blender::project_bucket_init(), blender::project_image_refresh_tagged(), blender::project_paint_build_proj_ima(), blender::project_paint_end(), blender::project_paint_face_init(), blender::project_paint_op(), blender::project_paint_uvpixel_init(), and blender::texture_paint_camera_project_exec().
| ARegion* blender::ProjPaintState::region |
Definition at line 284 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_viewport_init(), and blender::project_state_init().
| ImBuf* blender::ProjPaintState::reproject_ibuf |
Definition at line 408 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_thread(), blender::proj_paint_state_viewport_init(), blender::project_paint_end(), blender::project_paint_op(), and blender::texture_paint_camera_project_exec().
| bool blender::ProjPaintState::reproject_ibuf_free_float |
Definition at line 409 of file paint_image_proj.cc.
Referenced by blender::project_paint_end(), and blender::project_paint_op().
| bool blender::ProjPaintState::reproject_ibuf_free_uchar |
Definition at line 410 of file paint_image_proj.cc.
Referenced by blender::project_paint_end(), and blender::project_paint_op().
| Image* blender::ProjPaintState::reproject_image |
Definition at line 407 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_viewport_init(), blender::project_paint_end(), and blender::texture_paint_camera_project_exec().
| RegionView3D* blender::ProjPaintState::rv3d |
Definition at line 283 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_viewport_init(), blender::project_bucket_point_occluded(), blender::project_paint_begin(), blender::project_paint_face_init(), and blender::project_state_init().
| Scene* blender::ProjPaintState::scene |
Definition at line 286 of file paint_image_proj.cc.
Referenced by blender::paint_proj_begin_clone(), blender::paint_proj_stroke_ps(), blender::proj_paint_state_thread_init(), blender::proj_paint_state_viewport_init(), and blender::project_state_init().
| float blender::ProjPaintState::screen_height |
Definition at line 349 of file paint_image_proj.cc.
Referenced by blender::project_bucket_bounds(), blender::project_bucket_offset(), blender::project_paint_begin(), and blender::project_paint_bucket_bounds().
| float blender::ProjPaintState::screen_width |
Calculated from screenMin & screenMax.
Definition at line 348 of file paint_image_proj.cc.
Referenced by blender::project_bucket_bounds(), blender::project_bucket_offset(), blender::project_paint_begin(), and blender::project_paint_bucket_bounds().
| float(* blender::ProjPaintState::screenCoords)[4] |
verts projected into floating point screen space.
Definition at line 343 of file paint_image_proj.cc.
Referenced by blender::proj_paint_face_coSS_init(), blender::proj_paint_state_screen_coords_init(), blender::project_bucket_face_isect(), blender::project_bucket_point_occluded(), blender::project_paint_delayed_face_init(), blender::project_paint_end(), blender::project_paint_face_init(), and blender::project_paint_PickFace().
| float blender::ProjPaintState::screenMax[2] |
Definition at line 346 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_screen_coords_init(), blender::project_paint_begin(), and blender::project_paint_winclip().
| float blender::ProjPaintState::screenMin[2] |
2D bounds for mesh verts on the screen's plane (screen-space).
Definition at line 345 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_screen_coords_init(), blender::project_bucket_bounds(), blender::project_bucket_offset(), blender::project_paint_begin(), blender::project_paint_bucket_bounds(), and blender::project_paint_winclip().
| float blender::ProjPaintState::seam_bleed_px |
Definition at line 390 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_seam_bleed_init(), blender::project_paint_bleed_add_face_user(), blender::project_paint_delayed_face_init(), blender::project_paint_end(), blender::project_paint_face_init(), blender::project_state_init(), and blender::uv_image_outset().
| float blender::ProjPaintState::seam_bleed_px_sq |
Definition at line 391 of file paint_image_proj.cc.
Referenced by blender::project_paint_face_init(), and blender::project_state_init().
| const bool* blender::ProjPaintState::select_poly_eval |
Definition at line 467 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_mesh_eval_init(), and blender::project_paint_check_face_paintable().
| std::optional<bool> blender::ProjPaintState::select_poly_single |
Definition at line 466 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_mesh_eval_init(), and blender::project_paint_check_face_paintable().
| int blender::ProjPaintState::source |
Definition at line 288 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_thread(), blender::paint_proj_new_stroke(), blender::proj_paint_state_screen_coords_init(), blender::proj_paint_state_viewport_init(), blender::project_bucket_iter_init(), blender::project_bucket_iter_next(), blender::project_paint_begin(), blender::project_paint_op(), blender::project_paint_winclip(), and blender::texture_paint_camera_project_exec().
| Image* blender::ProjPaintState::stencil_ima |
Definition at line 313 of file paint_image_proj.cc.
Referenced by blender::project_paint_face_paint_image(), blender::project_paint_prepare_all_faces(), blender::project_paint_uvpixel_mask(), and blender::project_state_init().
| float blender::ProjPaintState::stencil_value |
Definition at line 316 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_mask(), blender::do_projectpaint_mask_f(), and blender::paint_proj_stroke_ps().
| int blender::ProjPaintState::thread_tot |
Definition at line 413 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_thread_init(), blender::project_paint_end(), blender::project_paint_face_init(), and blender::project_paint_op().
| SpinLock* blender::ProjPaintState::tile_lock |
Definition at line 454 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_thread_init(), blender::project_paint_end(), and blender::project_paint_face_init().
| int blender::ProjPaintState::totloop_eval |
Definition at line 457 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_mesh_eval_init(), and blender::proj_paint_state_seam_bleed_init().
| int blender::ProjPaintState::totvert_eval |
| const float2* blender::ProjPaintState::uv_map_stencil_eval |
Definition at line 476 of file paint_image_proj.cc.
Referenced by blender::project_paint_begin(), and blender::project_paint_uvpixel_mask().
| View3D* blender::ProjPaintState::v3d |
Definition at line 282 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_viewport_init(), blender::project_bucket_point_occluded(), blender::project_paint_face_init(), and blender::project_state_init().
Definition at line 462 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_cavity_init(), blender::proj_paint_state_mesh_eval_init(), and blender::proj_paint_state_vert_flags_init().
Definition at line 461 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_cavity_init(), blender::proj_paint_state_mesh_eval_init(), blender::proj_paint_state_screen_coords_init(), blender::proj_paint_state_vert_flags_init(), blender::project_bucket_point_occluded(), blender::project_paint_face_init(), blender::project_paint_op(), and blender::project_paint_uvpixel_mask().
| LinkNode** blender::ProjPaintState::vertFaces |
Only needed for when seam_bleed_px is enabled, use to find UV seams.
Definition at line 449 of file paint_image_proj.cc.
Referenced by blender::check_seam(), blender::proj_paint_state_seam_bleed_init(), blender::project_face_seams_init(), blender::project_paint_bleed_add_face_user(), and blender::project_paint_end().
| char* blender::ProjPaintState::vertFlags |
store options per vert, now only store if the vert is pointing away from the view.
Definition at line 329 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_vert_flags_init(), blender::project_paint_end(), and blender::project_paint_prepare_all_faces().
| ListBaseT<VertSeam>* blender::ProjPaintState::vertSeams |
Seams per vert, to find adjacent seams.
Definition at line 451 of file paint_image_proj.cc.
Referenced by blender::find_adjacent_seam(), blender::insert_seam_vert_array(), blender::proj_paint_state_seam_bleed_init(), and blender::project_paint_end().
| float blender::ProjPaintState::viewDir[3] |
View vector, use for do_backfacecull and for ray casting with an ortho viewport.
Definition at line 401 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_vert_flags_init(), blender::proj_paint_state_viewport_init(), and blender::project_paint_uvpixel_mask().
| float blender::ProjPaintState::viewPos[3] |
View location in object relative 3D space, so can compare to verts.
Definition at line 403 of file paint_image_proj.cc.
Referenced by blender::proj_paint_state_vert_flags_init(), blender::proj_paint_state_viewport_init(), blender::project_paint_uvpixel_mask(), and blender::screen_px_line_point_factor_v2_persp().
| int blender::ProjPaintState::winx |
From the area or from the projection render.
Definition at line 351 of file paint_image_proj.cc.
Referenced by blender::paint_proj_begin_clone(), blender::proj_paint_state_screen_coords_init(), blender::proj_paint_state_viewport_init(), blender::project_paint_face_init(), and blender::screen_px_line_point_factor_v2_persp().
| int blender::ProjPaintState::winy |
Definition at line 351 of file paint_image_proj.cc.
Referenced by blender::paint_proj_begin_clone(), blender::proj_paint_state_screen_coords_init(), blender::proj_paint_state_viewport_init(), blender::project_paint_face_init(), and blender::screen_px_line_point_factor_v2_persp().