|
Blender V4.3
|
Definition at line 254 of file paint_image_proj.cc.
| MemArena* ProjPaintState::arena_mt[BLENDER_MAX_THREADS] |
For multi-threading, the first item is sometimes used for non threaded cases too.
Definition at line 293 of file paint_image_proj.cc.
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 276 of file paint_image_proj.cc.
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 392 of file paint_image_proj.cc.
Referenced by do_projectpaint_soften(), do_projectpaint_soften_f(), project_paint_end(), and project_state_init().
| Brush* ProjPaintState::brush |
Definition at line 269 of file paint_image_proj.cc.
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 279 of file paint_image_proj.cc.
Referenced by do_projectpaint_thread(), paint_proj_stroke_ps(), project_bucket_iter_init(), and project_bucket_iter_next().
| short 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 275 of file paint_image_proj.cc.
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().
| LinkNode** ProjPaintState::bucketFaces |
bucketRect aligned array linkList of faces overlapping each bucket.
Definition at line 297 of file paint_image_proj.cc.
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 299 of file paint_image_proj.cc.
Referenced by do_projectpaint_thread(), project_bucket_init(), project_paint_begin(), and project_paint_end().
| int ProjPaintState::bucketMax[2] |
Definition at line 387 of file paint_image_proj.cc.
Referenced by project_bucket_iter_init(), and project_bucket_iter_next().
| int ProjPaintState::bucketMin[2] |
Definition at line 386 of file paint_image_proj.cc.
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 295 of file paint_image_proj.cc.
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 305 of file paint_image_proj.cc.
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 306 of file paint_image_proj.cc.
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 287 of file paint_image_proj.cc.
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 410 of file paint_image_proj.cc.
Referenced by proj_paint_state_cavity_init(), project_paint_end(), and project_paint_uvpixel_mask().
| CurveMapping* ProjPaintState::cavity_curve |
Definition at line 391 of file paint_image_proj.cc.
Referenced by project_paint_uvpixel_mask(), and project_state_init().
| float ProjPaintState::clip_end |
Definition at line 376 of file paint_image_proj.cc.
Referenced by proj_paint_state_viewport_init().
| float ProjPaintState::clip_start |
Definition at line 376 of file paint_image_proj.cc.
Referenced by proj_paint_state_screen_coords_init(), and proj_paint_state_viewport_init().
| Image* ProjPaintState::clone_ima |
Definition at line 288 of file paint_image_proj.cc.
Referenced by project_paint_clone_face_skip(), project_paint_face_clone_image(), and project_state_init().
| float ProjPaintState::cloneOffset[2] |
Definition at line 366 of file paint_image_proj.cc.
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 389 of file paint_image_proj.cc.
Referenced by project_bucket_iter_init(), and project_bucket_iter_next().
| blender::Span<int> ProjPaintState::corner_tri_faces_eval |
Definition at line 443 of file paint_image_proj.cc.
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_check_face_paintable(), project_paint_clone_face_skip(), project_paint_face_clone_image(), project_paint_face_clone_slot(), project_paint_face_init(), project_paint_face_paint_image(), project_paint_face_paint_slot(), project_paint_PickColor(), project_paint_prepare_all_faces(), project_paint_uvpixel_init(), and project_paint_uvpixel_mask().
| blender::Span<int3> ProjPaintState::corner_tris_eval |
Definition at line 442 of file paint_image_proj.cc.
Referenced by check_seam(), insert_seam_vert_array(), proj_paint_state_mesh_eval_init(), proj_paint_state_seam_bleed_init(), project_bucket_init(), project_bucket_point_occluded(), project_face_seams_init(), project_face_winding_init(), 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(), and uv_image_outset().
| blender::Span<int> ProjPaintState::corner_verts_eval |
Definition at line 437 of file paint_image_proj.cc.
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().
| Depsgraph* ProjPaintState::depsgraph |
Definition at line 258 of file paint_image_proj.cc.
Referenced by proj_paint_state_viewport_init(), and project_state_init().
| float ProjPaintState::dither |
Definition at line 266 of file paint_image_proj.cc.
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 336 of file paint_image_proj.cc.
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 351 of file paint_image_proj.cc.
Referenced by proj_paint_face_lookup_init(), project_paint_begin(), and project_paint_check_face_paintable().
| bool ProjPaintState::do_layer_clone |
Definition at line 326 of file paint_image_proj.cc.
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 327 of file paint_image_proj.cc.
Referenced by project_paint_begin(), project_paint_uvpixel_mask(), and project_state_init().
| bool ProjPaintState::do_layer_stencil_inv |
Definition at line 328 of file paint_image_proj.cc.
Referenced by project_paint_uvpixel_mask(), and project_state_init().
| bool ProjPaintState::do_mask_cavity |
mask out pixels based on cavity.
Definition at line 340 of file paint_image_proj.cc.
Referenced by proj_paint_state_cavity_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 338 of file paint_image_proj.cc.
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 356 of file paint_image_proj.cc.
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 330 of file paint_image_proj.cc.
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 333 of file paint_image_proj.cc.
Referenced by project_paint_face_init(), and project_state_init().
| bool ProjPaintState::do_stencil_brush |
Definition at line 329 of file paint_image_proj.cc.
Referenced by project_paint_begin(), project_paint_face_paint_image(), project_paint_prepare_all_faces(), and project_state_init().
| blender::Span<blender::int2> ProjPaintState::edges_eval |
Definition at line 435 of file paint_image_proj.cc.
Referenced by proj_paint_state_cavity_init(), and proj_paint_state_mesh_eval_init().
| blender::OffsetIndices<int> ProjPaintState::faces_eval |
Definition at line 436 of file paint_image_proj.cc.
Referenced by proj_paint_state_mesh_eval_init(), and project_paint_prepare_all_faces().
| int ProjPaintState::faces_num_eval |
Definition at line 430 of file paint_image_proj.cc.
Referenced by proj_paint_layer_clone_init(), and proj_paint_state_mesh_eval_init().
| ushort* ProjPaintState::faceSeamFlags |
Store info about faces, if they are initialized etc.
Definition at line 414 of file paint_image_proj.cc.
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 417 of file paint_image_proj.cc.
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().
| const bool* ProjPaintState::hide_poly_eval |
Definition at line 439 of file paint_image_proj.cc.
Referenced by proj_paint_state_mesh_eval_init(), and project_paint_check_face_paintable().
| int ProjPaintState::image_tot |
size of projectImages array.
Definition at line 312 of file paint_image_proj.cc.
Referenced by project_bucket_init(), project_image_refresh_tagged(), project_paint_build_proj_ima(), project_paint_end(), 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 354 of file paint_image_proj.cc.
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 360 of file paint_image_proj.cc.
Referenced by do_projectpaint_thread(), project_state_init(), and texture_paint_camera_project_exec().
| bool ProjPaintState::is_ortho |
Definition at line 352 of file paint_image_proj.cc.
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 406 of file paint_image_proj.cc.
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 358 of file paint_image_proj.cc.
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 419 of file paint_image_proj.cc.
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 457 of file paint_image_proj.cc.
Referenced by proj_paint_state_mesh_eval_init(), project_paint_end(), and tex_get_material().
| const int* ProjPaintState::material_indices |
Definition at line 440 of file paint_image_proj.cc.
Referenced by proj_paint_state_mesh_eval_init(), and tex_get_material().
| Mesh* ProjPaintState::mesh_eval |
Definition at line 428 of file paint_image_proj.cc.
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 float(* ProjPaintState::mloopuv_stencil_eval)[2] |
Definition at line 445 of file paint_image_proj.cc.
Referenced by project_paint_begin(), and project_paint_uvpixel_mask().
| BrushStrokeMode ProjPaintState::mode |
Definition at line 277 of file paint_image_proj.cc.
Referenced by do_projectpaint_soften(), do_projectpaint_soften_f(), paint_proj_stroke_ps(), and project_state_init().
| float ProjPaintState::normal_angle |
what angle to mask at.
Definition at line 342 of file paint_image_proj.cc.
Referenced by project_paint_uvpixel_mask(), and project_state_init().
| float ProjPaintState::normal_angle__cos |
cos(normal_angle), faster to compare.
Definition at line 344 of file paint_image_proj.cc.
Referenced by proj_paint_state_vert_flags_init(), and project_state_init().
| float ProjPaintState::normal_angle_inner |
Definition at line 345 of file paint_image_proj.cc.
Referenced by project_state_init().
| float ProjPaintState::normal_angle_inner__cos |
Definition at line 346 of file paint_image_proj.cc.
Referenced by project_state_init().
| float ProjPaintState::normal_angle_range |
difference between normal_angle and normal_angle_inner, for easy access.
Definition at line 348 of file paint_image_proj.cc.
Referenced by project_paint_uvpixel_mask(), and project_state_init().
| Object* ProjPaintState::ob |
Definition at line 280 of file paint_image_proj.cc.
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 282 of file paint_image_proj.cc.
Referenced by proj_paint_state_viewport_init(), and project_paint_op().
| float ProjPaintState::obmat_imat[4][4] |
Definition at line 283 of file paint_image_proj.cc.
Referenced by paint_proj_begin_clone(), and proj_paint_state_viewport_init().
| const Paint* ProjPaintState::paint |
Definition at line 268 of file paint_image_proj.cc.
Referenced by paint_proj_stroke_ps(), and project_state_init().
| float ProjPaintState::paint_color[3] |
Definition at line 264 of file paint_image_proj.cc.
Referenced by do_projectpaint_draw(), do_projectpaint_thread(), and paint_proj_stroke_ps().
| float ProjPaintState::paint_color_linear[3] |
Definition at line 265 of file paint_image_proj.cc.
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 309 of file paint_image_proj.cc.
Referenced by project_paint_uvpixel_init(), and project_state_init().
| const float(** ProjPaintState::poly_to_loop_uv)[2] |
Definition at line 452 of file paint_image_proj.cc.
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 float(** ProjPaintState::poly_to_loop_uv_clone)[2] |
other UV map, use for cloning between layers.
Definition at line 454 of file paint_image_proj.cc.
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 369 of file paint_image_proj.cc.
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 371 of file paint_image_proj.cc.
Referenced by proj_paint_state_viewport_init(), and screen_px_line_point_factor_v2_persp().
| ProjPaintImage* ProjPaintState::projImages |
Definition at line 408 of file paint_image_proj.cc.
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 257 of file paint_image_proj.cc.
Referenced by proj_paint_state_viewport_init(), and project_state_init().
| ImBuf* ProjPaintState::reproject_ibuf |
Definition at line 380 of file paint_image_proj.cc.
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 381 of file paint_image_proj.cc.
Referenced by project_paint_end(), and project_paint_op().
| bool ProjPaintState::reproject_ibuf_free_uchar |
Definition at line 382 of file paint_image_proj.cc.
Referenced by project_paint_end(), and project_paint_op().
| Image* ProjPaintState::reproject_image |
Definition at line 379 of file paint_image_proj.cc.
Referenced by proj_paint_state_viewport_init(), project_paint_end(), and texture_paint_camera_project_exec().
| RegionView3D* ProjPaintState::rv3d |
Definition at line 256 of file paint_image_proj.cc.
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 259 of file paint_image_proj.cc.
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 321 of file paint_image_proj.cc.
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 320 of file paint_image_proj.cc.
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 315 of file paint_image_proj.cc.
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 318 of file paint_image_proj.cc.
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 317 of file paint_image_proj.cc.
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 362 of file paint_image_proj.cc.
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 363 of file paint_image_proj.cc.
Referenced by project_paint_face_init(), and project_state_init().
| const bool* ProjPaintState::select_poly_eval |
Definition at line 438 of file paint_image_proj.cc.
Referenced by proj_paint_state_mesh_eval_init(), and project_paint_check_face_paintable().
| const bool* ProjPaintState::sharp_faces_eval |
Definition at line 441 of file paint_image_proj.cc.
Referenced by proj_paint_state_mesh_eval_init(), and project_paint_uvpixel_mask().
| int ProjPaintState::source |
Definition at line 261 of file paint_image_proj.cc.
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 286 of file paint_image_proj.cc.
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 289 of file paint_image_proj.cc.
Referenced by do_projectpaint_mask(), do_projectpaint_mask_f(), and paint_proj_stroke_ps().
| int ProjPaintState::thread_tot |
Definition at line 385 of file paint_image_proj.cc.
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 426 of file paint_image_proj.cc.
Referenced by proj_paint_state_thread_init(), project_paint_end(), and project_paint_face_init().
| int ProjPaintState::totloop_eval |
Definition at line 429 of file paint_image_proj.cc.
Referenced by proj_paint_state_mesh_eval_init(), and proj_paint_state_seam_bleed_init().
| int ProjPaintState::totvert_eval |
Definition at line 431 of file paint_image_proj.cc.
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().
| View3D* ProjPaintState::v3d |
Definition at line 255 of file paint_image_proj.cc.
Referenced by proj_paint_state_viewport_init(), project_bucket_point_occluded(), project_paint_face_init(), and project_state_init().
| blender::Span<blender::float3> ProjPaintState::vert_normals |
Definition at line 434 of file paint_image_proj.cc.
Referenced by proj_paint_state_cavity_init(), proj_paint_state_mesh_eval_init(), proj_paint_state_vert_flags_init(), and project_paint_uvpixel_mask().
| blender::Span<blender::float3> ProjPaintState::vert_positions_eval |
Definition at line 433 of file paint_image_proj.cc.
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().
| LinkNode** ProjPaintState::vertFaces |
Only needed for when seam_bleed_px is enabled, use to find UV seams.
Definition at line 421 of file paint_image_proj.cc.
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 302 of file paint_image_proj.cc.
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 423 of file paint_image_proj.cc.
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 373 of file paint_image_proj.cc.
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 375 of file paint_image_proj.cc.
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 323 of file paint_image_proj.cc.
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 323 of file paint_image_proj.cc.
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().