Nelipot-Lee/VoxHammer
About
[3DV 2026 Oral] VoxHammer: Training-Free Precise and Coherent 3D Editing in Native 3D Space
Design & MediaMeasured star growth
- in 24h
- +1
- in 7 days
- +3
- in 15 days
- +5
- in 1 month
- +6
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalVoxHammer: Training-Free Precise and Coherent 3D Editing in Native 3D Space
🏠 Project Page | Paper | Edit3D-Bench | Online Demo (Comming soon)

TL;DR: A training-free 3D editing approach that performs precise and coherent editing in native 3D latent space instead of multi-view space.
🔥 Updates
- [2025-08-27] Release inference code and Edit3D-Bench.
- [2025-11-25] Add text-condition pipeline.
📦 Installation
Please set up the Python environment following TRELLIS, or you can create by:
Prerequisites
- System: Linux (Ubuntu 20.04/22.04 recommended)
- GPU: NVIDIA GPU with at least 40 GB memory (an A100 80GB is strongly recommended)
- Python: 3.10
- Conda (Miniconda/Anaconda) recommended
Installation Steps
- Create and activate the environment
conda create -n hammer python=3.10 -y
conda activate hammer
- Install requirements from
requirements.txt
pip install -r requirements.txt
- Install requirements from GitHub projects
pip install git+https://github.com/huanngzh/bpy-renderer.git
pip install git+https://github.com/NVlabs/nvdiffrast.git
pip install git+https://github.com/EasternJournalist/utils3d.git@9a4eb15e4021b67b12c460c7057d642626897ec8
git clone https://github.com/autonomousvision/mip-splatting.git /tmp/extensions/mip-splatting
pip install /tmp/extensions/mip-splatting/submodules/diff-gaussian-rasterization/
💡 Usage
Step 1 — Modify pipeline.json
Image-condition pipeline:
Download the TRELLIS-image-large model, and add the following entries to pipeline.json:
{
"sparse_structure_encoder": "ckpts/ss_enc_conv3d_16l8_fp16",
"slat_encoder": "ckpts/slat_enc_swin8_B_64l8_fp16"
}
Text-condition pipeline:
Download both TRELLIS-image-large and TRELLIS-text-large model, and add the following entries to TRELLIS-text-large/pipeline.json:
{
"sparse_structure_encoder": "path/to/TRELLIS-image-large/ckpts/ss_enc_conv3d_16l8_fp16",
"sparse_structure_decoder": "path/to/TRELLIS-image-large/ckpts/ss_dec_conv3d_16l8_fp16",
"slat_encoder": "path/to/TRELLIS-image-large/ckpts/slat_enc_swin8_B_64l8_fp16",
"slat_decoder_gs": "path/to/TRELLIS-image-large/ckpts/slat_dec_gs_swin8_B_64l8gs32_fp16",
"slat_decoder_rf": "path/to/TRELLIS-image-large/ckpts/slat_dec_rf_swin8_B_64l8r16_fp16",
"slat_decoder_mesh": "path/to/TRELLIS-image-large/ckpts/slat_dec_mesh_swin8_B_64l8m256c_fp16",
}
Step 2 — Create a 3D mask
Prepare a mesh that marks the editable region (e.g. assets/example/mask.glb).
https://github.com/user-attachments/assets/4f1265f5-911b-4a44-9ca2-d36496e83cea
Inputs required (example):
assets/example/model.glb— original 3D assetassets/example/mask.glb— mask mesh
Step 3 — Render and inpaint (Image-condition pipeline Only)
Render RGB views & masks
python utils/render_rgb_and_mask.py \
--source_model assets/example/model.glb \
--mask_model assets/example/mask.glb \
--output_dir outputs
Inpaint the rendered views
python utils/inpaint.py \
--image_path outputs/images/render_0002.png \
--mask_path outputs/images/mask_0002.png \
--output_dir outputs/images \
--prompt "A dog."
Step 5 — Run inference
Image-condition pipeline:
python inference.py \
--input_model assets/example/model.glb \
--mask_glb assets/example/mask.glb \
--output_dir outputs \
--image_dir outputs/images
Text-condition pipeline:
python inference.py \
--input_model assets/example/model.glb \
--mask_glb assets/example/mask.glb \
--output_dir outputs \
--is_text True \
--source_prompt "A boy." \
--target_prompt "A dog."
Evaluation
Explore Edit3D-Bench for more details.
License
This project is licensed under the MIT License.
However, please note that the code in trellis originates from the TRELLIS project and remains subject to its original license terms.
Users must comply with the licensing requirements of TRELLIS when using or redistributing that portion of the code.
Citation
@article{li2025voxhammer,
title = {VoxHammer: Training-Free Precise and Coherent 3D Editing in Native 3D Space},
author = {Li, Lin and Huang, Zehuan and Feng, Haoran and Zhuang, Gengxiong and Chen, Rui and Guo, Chunchao and Sheng, Lu},
journal = {arXiv preprint arXiv:2508.19247},
year = {2025}
}
Explore related projects
Loading…