- Introduced the two-times upscale specification detailing requirements for unified output, fixed model presets, arbitrary dimensions, and consistent job behavior. - Added scenarios for existing models, repeated upscale, and handling of alpha preservation. - Created the unified depth plane specification outlining geometry modes, stable interface, and asset evaluation. - Defined scenarios for mode switching, relief and camera preservation, and validation of delivered assets.
1.7 KiB
1.7 KiB
1. Relief depth behavior
- 1.1 Add the public
Depth Offsetdistance input toO Image Relief Plane, with a default of one and signed range; exposeDepth Direction,Depth Offset, andDepth Scaledirectly belowThicknessin that order. - 1.2 Add
Depth OffsettoReference Depthbeforereference_plane_depth(), then replace the thickness-dependent inward limit with a zero clamp after direction adjustment andDepth Scale, preserving fixed-base and side-layer weighting.
2. Behavior verification
- 2.1 Update Relief Plane geometry tests to verify far depths stop at
Thickness, positive depths remain unrestricted, and the fixed base and side interpolation remain valid. - 2.2 Add positive, negative, and zero
Depth Offsettests, including direction adjustment,Depth Scale = 0, and checks that Depth Offset is scaled as part of the corrected relative depth while the depth-zero height remains fixed. - 2.3 Update the node-group interface inventory test for
Depth DirectionandDepth Offsetnames, order, panel placement, and old base-plane clamp behavior.
3. Node asset
- 3.1 Run
uv run node-group buildto rebuild and validatesrc/anyimage/assets/O_AnyImage.blendfrom the updated source and tests. - 3.2 Run the relevant Relief Plane and plane-object tests, then inspect the final diff for stale inward-limit nodes or old behavior references.
4. Initial depth direction
- 4.1 Extract the robust plane-direction fit into
common.depthand reuse it from Cutout Symmetry calibration. - 4.2 Fit the complete valid Relief depth image in local plane coordinates and initialize the new Modifier's
Depth Direction. - 4.3 Add sloped-depth initialization and shared calibration regression tests.