Add tests for foreground preservation and refactor geometry node asset

- Implement test to ensure foreground preserves source RGB and Ben2 alpha in WorkerTest.
- Remove outdated tests related to background distance and original background depth.
- Update geometry node asset to reflect new naming conventions and structure.
- Introduce validation for depth plane asset, ensuring correct input/output configurations and attribute handling.
- Adjust confidence and edge parameters in geometry node asset to support a wider range of values.
This commit is contained in:
2026-08-11 23:25:51 +08:00
parent 07d836d9ad
commit 7cd5681a8b
15 changed files with 1296 additions and 660 deletions

View File

@@ -67,7 +67,7 @@ class SnapFormSettings(bpy.types.PropertyGroup):
)
conf_thresh_percentile: bpy.props.FloatProperty(
name="Confidence Threshold",
description="Remove the lowest-confidence percentile of points or mesh faces",
description="Remove the lowest-confidence percentile of points or surface faces",
default=40.0,
min=0.0,
max=100.0,
@@ -135,8 +135,8 @@ class SnapFormSettings(bpy.types.PropertyGroup):
),
(
"mesh",
"Textured Mesh (GLB)",
"Generate one filtered textured depth mesh per input image",
"Textured Surface (GLB)",
"Generate one filtered textured depth surface per input image",
),
),
default="glb",