Add cutout profile and teddy balloon height calculations
- Implemented cotangent Poisson field and Poisson balloon profile in cutout_profile.py. - Added teddy balloon heights calculation and related functions in cutout_teddy.py. - Introduced interaction utilities for image editing in interaction.py. - Developed depth normalization and analysis functions in cutout_depth.py. - Created a validation script for cutout assets in validate_cutout_asset.py.
This commit is contained in:
@@ -3,9 +3,9 @@ import json
|
||||
import bpy
|
||||
|
||||
from ..properties import (
|
||||
image_edit_refine_selection_property as refine_selection_property,
|
||||
refine_selection_property,
|
||||
)
|
||||
from .balloon.operator import hidden_string_property, serialize_matrix
|
||||
from .image_edit.interaction import hidden_string_property, serialize_matrix
|
||||
from .image import is_image_empty, video_total_frames
|
||||
from .image_edit.common import (
|
||||
ImageEditWarning,
|
||||
@@ -78,7 +78,7 @@ def _open_shape_pie(
|
||||
_pie_button(
|
||||
pie,
|
||||
CUTOUT,
|
||||
"Cutout",
|
||||
"Surface",
|
||||
"MESH_GRID",
|
||||
source_name,
|
||||
selection_data,
|
||||
@@ -253,4 +253,4 @@ class CutoutTool(bpy.types.WorkSpaceTool):
|
||||
settings = context.scene.anyimage_settings
|
||||
layout.prop(settings, "cutout_point_spacing")
|
||||
layout.prop(settings, "cutout_normal_analysis")
|
||||
draw_image_mask_settings(context, layout)
|
||||
draw_image_mask_settings(context, layout, "cutout_refine_selection")
|
||||
|
||||
Reference in New Issue
Block a user