Files
AnyImage/openspec/specs/cutout-boundary-smoothing/spec.md
nan 198fcbf55b
Some checks failed
Test / test (push) Has been cancelled
Initial public release
2026-09-19 21:31:36 +08:00

35 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# cutout-boundary-smoothing Specification
## Purpose
TBD - created by archiving change weight-cutout-boundary-smoothing. Update Purpose after archive.
## Requirements
### Requirement: Boundary-specific smoothing strength
`O Image Depth Cutout` SHALL 使用单个 `Boundary Smooth` 输入控制边界平滑次数。Split 边 SHALL 使用完整 `Smooth Weight`,原始 Outline SHALL 使用 `0.1` 倍 `Smooth Weight`;两类影响相交时 Split 强度 MUST 优先。
#### Scenario: Separate Split and Outline response
- **WHEN** 同一网格同时存在 Split 边与原始 Outline 且启用 Boundary Smooth
- **THEN** Split 边按完整 Smooth Weight 平滑
- **AND** 仅受 Outline 影响的点按其 0.1 倍平滑
#### Scenario: Split and Outline intersection
- **WHEN** Split 与 Outline 的两圈影响范围相交
- **THEN** 相交区域使用两者中较强的 Split influence
### Requirement: Boundary Smooth default and bypass
`O Image Depth Cutout` 的 `Boundary Smooth` SHALL 默认为 `4`,保持范围 `0–16`;值为 `0` 时 MUST 完全旁路边界平滑。
#### Scenario: New node group defaults
- **WHEN** 构建新的 O Image Depth Cutout 节点组
- **THEN** Boundary Smooth 默认值为 4
#### Scenario: Disabled boundary smoothing
- **WHEN** Boundary Smooth 为 0
- **THEN** Split 边和 Outline 均不发生边界平滑位移