Light-SQ 是一种基于超二次曲面的结构感知优化框架,利用 GPU 加速,用于将生成的网格抽象为基本形状。

Stars

17

7 天增长

暂无数据

Fork 数

5

开放 Issue

0

开源协议

NOASSERTION

最近更新

2026-07-08

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

该工作首次在超二次曲面拟合中明确引入结构感知,被 SIGGRAPH Asia 2025 接收,并提供灵活的开源实现,支持有/无凸分解引导。

适合谁使用

  • 计算机图形学研究人员
  • 三维几何处理从业者
  • 神经网格生成器的开发者
  • 对形状抽象感兴趣的 SIGGRAPH 参会者

典型使用场景

  • 将复杂生成网格抽象为可解释的超二次曲面基元
  • 面向结构的三维形状分解,用于资产创作
  • 为仿真或渲染管线预处理网格
  • 分析和比较三维模型的几何结构

项目优势

  • 通过可选的凸分解引导(CoACD)实现明确的结构感知
  • 基于 PyTorch 的 GPU 加速实现,效率高
  • 支持有无凸分解两种模式,灵活性好
  • 提供清晰的安装步骤和执行示例脚本

使用前须知

  • 结构感知 CoACD 组件仅支持 Linux(不支持 Windows)
  • 依赖特定版本的 CUDA、open3d 和 kaolin,可能增加部署难度
  • 部分功能(多尺度拟合、分离区域并行加速)尚未发布

README 快速开始

Light-SQ: Structure-aware Shape Abstraction with Superquadrics for Generated Meshes

SIGGRAPH Asia 2025 TL;DR We present Light-SQ, a novel superquadric-based optimization framework that explicitly emphasizes structure-awareness.

Project Page

TODO

  • Release V1 pytorch implementation with GPU acceleration, supporting with and without convex decomposition guidance.
  • Provide disjoint region multi-process parallel acceleration.
  • Multiscale fitting script.
  • Structure-aware CoACD code release.
  • Introduce support for latest convex decomposition methods, such as Learning-Convex-Decomposition.

Pull requests for the above features are very welcome!

Requirements

The installation process below has been tested on a Linux machine with NVIDIA T4 GPU from scratch.

  1. Basic Installation, cuda-12.4 as an example
conda create -n lightsq python=3.11
conda activate lightsq
pip install torch==2.5.1 torchvision==0.20.1 --index-url https://download.pytorch.org/whl/cu124
pip install -r requirements.txt
  1. CHECK your installed open3d version

If you are using open3d 0.18.0, you can continue with numpy-2, and make sure you install kaolin==0.18.0

pip install kaolin==0.18.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-{TORCH_VERSION}_cu{CUDA_VERSION}.html

# For the version stated above (cu124, torch-2.5.1)
pip install kaolin==0.18.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-2.5.1_cu124.html
  1. Move to pytorch_minimize and install it.

NOTE: The implementation in this folder differs from the official pytorch minimize. It includes the TRF solver with bound constraints required by our fitting algorithm.

cd pytorch_minimize
pip install -e .

Execution

Run Light-SQ without convex decomposition guidance

  1. SDF computation
  • in_data_dir can be either a folder containing meshes or a mesh filepath.
  • out_data_dir is the output root, for [name].glb, the sdf and visualizations will be stored to [out_data_dir]/[name]/sdf_extraction
python prepare_sdf_cuda.py -i [in_data_dir] -o [output_folder] --device cuda:0 --grid_resolution 100 [--save_viz]

# Example using data/test.glb
python prepare

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

lopopolo
精选
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI 与机器学习AI 智能体
2,390
slvDev
精选
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI 与机器学习大语言模型
1,960
littledivy
精选
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI 与机器学习
1,482