8000 GitHub - zvict/pointgt: [ECCV 2026] Implementation of "PointGT: Simultaneous Geometric and Textural Editing for Point-Based Representations" · GitHub
[go: up one dir, main page]

Skip to content
zvictPublic

About

[ECCV 2026] Implementation of "PointGT: Simultaneous Geometric and Textural Editing for Point-Based Representations"

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

PointGT: Simultaneous Geometry and Texture Editing for Point-Based Representations (ECCV 2026)

Yanshu Zhang1†, George Shramko1, Pratul P. Srinivasan4, Ke Li1,2,3
1Simon Fraser University    2Amii    3CIFAR    4Google DeepMind    (†corresponding author)

Project Page | Paper | arXiv | Video
Primary contact: Yanshu Zhang

BibTeX

PointGT: Simultaneous Geometry and Texture Editing for Point-Based Representations.    

@inproceedings{zhang2026pointgt,
    title={PointGT: Simultaneous Geometry and Texture Editing for Point-Based Representations},
    author={Yanshu Zhang and George Shramko and Pratul P. Srinivasan and Ke Li},
    booktitle={European Conference on Computer Vision (ECCV)},
    year={2026}
}

Installation

git clone https://github.com/zvict/pointgt
cd pointgt
conda create -n pointgt python=3.11 -y
conda activate pointgt

pip install torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu128
conda install -c nvidia cuda-toolkit=12.8 -y
export CUDA_HOME="$CONDA_PREFIX"

pip install "git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch"
pip install "git+https://github.com/facebookresearch/pytorch3d.git@v0.7.9"

pip install -r requirements.txt

Data Preparation

data/
├── nerf_synthetic/lego/{train,val,test}/  transforms_*.json
└── sketchfab/dress1/                      transforms_*.json  r_*.png

NeRF Synthetic comes from the original NeRF release. python download.py --what demo provides dress1.

The dress asset is Dress with gold leaves by Canvastique3D, licensed CC BY 4.0.

Overview

train.py  test.py  train_uv.py  render_edit.py  download.py
models/     point renderer: attention, features, top-k, surface fusion, losses, optim
dataset/    ray generation, patch sampling, scene loading
uv/         multi-chart atlas, texture map, atlas losses
edit/       canonical correspondence and the edit render path
utils/      config merge, geometry, metrics, session setup
configs/    default.yml, default_uv.yml, nerfsyn/, editing/
Stage Script What it does
a train.py trains the point renderer
a test.py renders the test split, reports PSNR / SSIM / LPIPS
b train_uv.py learns the UV atlas and texture map
c render_edit.py renders a geometry and texture edit
— download.py fetches checkpoints and demo assets

We release the configs for the NeRF-Synthetic scenes and the dress editing scene used in the paper.

Each scene config merges over configs/default.yml, or default_uv.yml for stage b.

Training

python train.py --opt configs/nerfsyn/lego.yml
python train.py --opt configs/nerfsyn/lego.yml --resume 1      # continue from save_dir
python train.py --opt configs/editing/dress_papr.yml           # needs depth, see below

--resume is a gate, not a step number; the step comes from the checkpoint.

Optional: surface supervision from 2D Gaussian Splatting

Point positions and attention can be optimized toward the depth predicted by 2D Gaussian Splatting to get a better surface reconstruction. Please follow the instructions below to install 2D Gaussian Splatting and generate the surface supervision data.

git clone --recursive https://github.com/hbb1/2d-gaussian-splatting.git
cd 2d-gaussian-splatting
conda env create -f environment.yml     # `surfel_splatting`; do not use the pointgt env
conda activate surfel_splatting
pip install submodules/diff-surfel-rasterization submodules/simple-knn

SCENE_SRC=/path/to/data/sketchfab/dress/renderings
MODEL_DIR=/path/to/pointgt/2dgs/sketchfab_9999999999/dress

python train.py  -s "$SCENE_SRC" -m "$MODEL_DIR" --eval --white_background --test_iterations -1 --quiet
python render.py -s "$SCENE_SRC" -m "$MODEL_DIR" --iteration 30000 \
                 --eval --white_background --skip_train --skip_mesh --quiet

Configs name depth as 2dgs/..., resolved against the repository root. Render into <repo>/2dgs, or point POINTGT_2DGS_ROOT at your 2DGS output directory.

Learning the UV atlas

python train_uv.py --opt configs/editing/dress_uv.yml

Consumes a stage-a checkpoint and writes nuvo_model_with_texture.ckpt plus the learned texture map.

Editing

python render_edit.py \
    --opt configs/editing/dress_uv.yml \
    --texture path/to/your_texture.png \
    --pcd_dir demo/dress/rbf_pcds \
    --out results/dress --video

--texture tiles any image across the atlas charts. --texture_is_grid instead takes an already-packed chart grid, which is what train_uv.py writes and the thing to paint on.

--pcd_dir supplies the geometry as per-frame PLYs. Point i of each frame must be point i of the checkpoint's cloud, since that identity is what makes the canonical transfer well defined.

Evaluation

python test.py --opt configs/nerfsyn/lego.yml
python test.py --opt configs/nerfsyn/lego.yml --load_path checkpoints/nerfsyn/lego/model.pth --mask

Pretrained Models

python download.py --list             # what is available and where it goes
python download.py --what checkpoints # the seven NeRF-Synthetic scenes
python download.py --what demo        # the dress editing demo
python download.py --verify           # re-check sha256 of what is on disk

Weights are on Hugging Face and land where the configs expect them. The checkpoint group is more than the seven evaluated models: some scenes fine-tune from a base.pth and some load a fixed initial point cloud, and a retrain without those starts somewhere else. --what demo adds the dress1 renders, both dress checkpoints, the learned texture grid and the 35-frame deformed sequence.

Acknowledgement

PointGT builds on PAPR (NeurIPS 2023), whose point representation, proximity attention and densification schedule this work extends. The UV atlas follows Nuvo, written from the paper; no Nuvo source was used. Surface supervision uses 2D Gaussian Splatting.

License

MIT, see LICENSE. Datasets and 3D assets carry their own licences and are not redistributed under these terms.

About

[ECCV 2026] Implementation of "PointGT: Simultaneous Geometric and Textural Editing for Point-Based Representations"

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0