Add depth surface processing and layout tools

- Implemented `cutout_depth_surface.py` for face separation and connected thickness calculations for depth surface assets.
- Created `cutout_depth_surface_layout.py` to arrange nodes for staggered calculation branches in depth surface processing.
- Authored `geometry_layouts.py` to define layouts for various geometry assets, including image cutouts and depth planes.
- Introduced `node_layout.py` for shared presentation rules, facilitating node arrangement and validation in geometry-node layouts.
This commit is contained in:
2026-09-07 19:21:03 +08:00
parent a0adf79db0
commit 7dec3b7ca4
21 changed files with 2075 additions and 373 deletions

View File

@@ -2,6 +2,8 @@
import bpy
from geometry_layouts import layout_geometry
DEPTH_PLANE_NODE_GROUP_NAME = "O Image Depth Plane"
@@ -206,4 +208,5 @@ def build_depth_plane_group(mesh_plane_group):
"Build a single-sided depth terrain block with a fixed base."
)
group.use_fake_user = True
layout_geometry(group)
return group