Files
茂之钳 b175db0342
CI / Build & Test (push) Failing after 39s
CI / Release Build (push) Failing after 32s
feat(sdf): S12 — 可微分几何完整模块
S12-A: 自动微分引擎
- sdf_gradient.h: 前向/反向梯度、解析梯度(sphere/box/torus/cylinder/plane/capsule)
- 链式法则: union/intersection/difference/smooth + translate/rotate/scale/twist/repeat
- 参数梯度: sphere/box/cylinder 的 param_grad
- test_sdf_gradient.cpp: 604 行测试

S12-B: 梯度驱动优化 + 应用
- sdf_optimize.h: 形状拟合/碰撞避免/可达性/对称检测/体积计算
- sdf_optimize.cpp: 682 行实现(数值梯度 + GradientDescent)
- test_sdf_optimize.cpp: 342 行,20 项测试

S12-C: PyTorch 集成 + Python
- sdf_torch.h/cpp: 批量 SDF 求值 + 梯度
- python/vde/sdf.py: 高级 Python API
- python/vde/torch_sdf.py: torch.autograd.Function
- test_sdf_torch_bridge.cpp: C++ 桥梁测试
2026-07-24 07:23:28 +00:00

8 lines
227 B
CMake

add_vde_test(test_sdf_primitives)
add_vde_test(test_sdf_operations)
add_vde_test(test_sdf_tree)
add_vde_test(test_sdf_to_mesh)
add_vde_test(test_sdf_gradient)
add_vde_test(test_sdf_optimize)
add_vde_test(test_sdf_torch_bridge)