Light-SQ is a GPU-accelerated, structure-aware superquadric optimization framework for abstracting generated meshes into primitive shapes.

Stars

17

7-day growth

No data

Forks

5

Open issues

0

License

NOASSERTION

Last updated

2026-07-08

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It introduces explicit structure awareness into superquadric fitting, is accepted at SIGGRAPH Asia 2025, and provides a flexible open-source implementation supporting both guided and unguided convex decomposition.

Who it is for

  • computer graphics researchers
  • 3D geometry processing practitioners
  • developers of neural mesh generators
  • SIGGRAPH attendees interested in shape abstraction

Use cases

  • abstracting complex generated meshes into interpretable superquadric primitives
  • structure-aware 3D shape decomposition for asset creation
  • preprocessing meshes for simulation or rendering pipelines
  • analyzing and comparing the geometric structure of 3D models

Strengths

  • explicit structure-awareness via optional convex decomposition guidance (CoACD)
  • GPU-accelerated PyTorch implementation with high efficiency
  • supports both with and without convex decomposition, offering flexibility
  • provides clear installation steps and example execution scripts

Considerations

  • structure-aware CoACD component is Linux-only (Windows not supported)
  • requires specific dependency versions (CUDA, open3d, kaolin) which may complicate adoption
  • several planned features (multiscale fitting, disjoint region parallel acceleration) are not yet released

README quick start

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

Related repositories

Similar projects matched by category, topics, and programming language.

lopopolo
Featured
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 & Machine LearningAI Agents
2,390
slvDev
Featured
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 & Machine LearningLarge Language Models
1,960
littledivy
Featured
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 & Machine Learning
1,482