Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

TripoSF

> 编程语言
Open source

SparseFlex: High-Resolution and Arbitrary-Topology 3D Shape Modeling

756 stars0 likes1 views
WebsiteGitHub

About

SparseFlex: High-Resolution and Arbitrary-Topology 3D Shape Modeling

TripoSF: High-Resolution and Arbitrary-Topology 3D Shape Modeling with SparseFlex

Overview

TripoSF represents a significant leap forward in 3D shape modeling, combining high-resolution capabilities with arbitrary topology support. Our approach enables:

  • Ultra-high resolution mesh modeling (up to $1024^3$)
  • Direct optimization from rendering losses
  • Efficient handling of open surfaces and complex topologies
  • Dramatic memory reduction through sparse computation
  • Differentiable mesh extraction with sharp features

SparseFlex

SparseFlex, the core design powering TripoSF, introduces a sparse voxel structure that:

  • Focuses computational resources only on surface-adjacent regions
  • Enables natural handling of open surfaces (like cloth or leaves)
  • Supports complex internal structures without compromises
  • Achieves massive memory reduction compared to dense representations

Updates

  • [2025-03] Initial Release:
    • Pretrained VAE model weights ($1024^3$ reconstruction)
    • Inference scripts and examples
    • SparseFlex implementation

Getting Started

System Requirements

  • CUDA-capable GPU (≥12GB VRAM for $1024^3$ resolution)
  • PyTorch 2.0+

Installation

  1. Clone the repository:
bash
git clone https://github.com/VAST-AI-Research/TripoSF.git
cd TripoSF
  1. Install dependencies:
bash
# Install PyTorch (select the correct CUDA version)
pip install torch torchvision --index-url https://download.pytorch.org/whl/{your-cuda-version}

# Install other dependencies
pip install -r requirements.txt

Usage

Pretrained Model Setup

  1. Download our pretrained models from Hugging Face
  2. Place the models in the ckpts/ directory

Running Inference

Basic reconstruction using TripoSFVAE:

bash
python inference.py --mesh-path "assets/examples/jacket.obj" \
                   --output-dir "outputs/" \
                   --config "configs/TripoSFVAE_1024.yaml"

Local Gradio Example

bash
python app.py

Optimization Tips

For Open Surfaces

  • Enable pruning in the configuration:
    yaml
    pruning: true
  • Benefits:
    • Higher-fidelity reconstruction
    • Faster processing
    • Better memory efficiency

For Complex Shapes

  • Increase sampling density:
    yaml
    sample_points_num: 1638400  # Default: 819200
  • Adjust resolution based on detail requirements:
    yaml
    resolution: 1024  # Options: 256, 512, 1024

Technical Details

TripoSF VAE Architecture:

  • Input: Point clouds (preserving source geometry details)
  • Encoder: Sparse transformer for efficient geometry encoding
  • Decoder: Self-pruning upsampling modules maintaining sparsity
  • Output: High-resolution SparseFlex parameters for mesh extraction

Citation

bibtex
@article{he2025triposf,
  title={SparseFlex: High-Resolution and Arbitrary-Topology 3D Shape Modeling},
  author={He, Xianglong and Zou, Zi-Xin and Chen, Chia-Hao and Guo, Yuan-Chen and Liang, Ding and Yuan, Chun and Ouyang, Wanli and Cao, Yan-Pei and Li, Yangguang},
  journal={arXiv preprint arXiv:2503.21732},
  year={2025}
}

Acknowledgements

Our work builds upon these excellent repositories:

  • Trellis
  • Flexicubes

License

This project is licensed under the MIT License - see the LICENSE file for details.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python3d-generation3d-reconstructionflexicubesimage-to-3d

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言