Official implementation of MorphGS: Morphology-Adaptive Articulated 3D Motion Transfer from Videos.
Taeyeon Kim*, Youngju Na*, Jumin Lee, Sebin Lee, Minhyuk Sung, and Sung-Eui Yoon†
*Equal contribution. †Corresponding author.
Transferring articulated motion from monocular videos to rigged 3D characters is challenging due to pose ambiguity in 2D observations and morphological differences between source and target. Existing approaches often follow a reconstruct-then-retarget paradigm, tying transfer quality to intermediate 3D reconstruction and limiting applicability to categories with parametric templates. We propose MorphGS, a framework that formulates motion retargeting as a target-driven analysis-by-synthesis problem, directly optimizing target morphology and pose through image-space supervision. A rig-coupled morphology parameterization factorizes character identity from time-varying joint rotations, while dense 2D-3D correspondences and synthesized views provide complementary structural and multi-view guidance. Experiments on synthetic benchmarks and real-world videos show consistent improvements over baselines.
conda create -n morphgs python=3.10 -y
conda activate morphgs
# PyTorch (CUDA 11.8)
pip install torch==2.0.1 torchvision==0.15.2 --index-url https://download.pytorch.org/whl/cu118
# PyTorch3D (see https://github.com/facebookresearch/pytorch3d for prebuilt wheels)
pip install "git+https://github.com/facebookresearch/pytorch3d.git"
pip install -r requirements.txt
# CUDA extensions
pip install -e src/extlibs/latent-gaussian-rasterization --no-build-isolation
pip install -e src/extlibs/simple-knn --no-build-isolationOptional preprocessing components:
- Geo-Aware semantic features: clone
GeoAware-SC into
src/extlibs/GeoAwareand install it withpip install -e . --no-build-isolation. - SV4D 2.0 synthesized views: clone
generative-models
branch
sp4dintosrc/extlibs/generative-modelsand download its checkpoints.
Download the demo data from
Google Drive
and place it at demo/.
The demo includes four scenes across different categories:
- Humanoid:
tennis_to_Ninja - Quadruped:
cow_to_moose1DOG - Bird:
seagull_to_chickenDC - Robot:
dog_to_spot
Demo Data Sources
Video sources:
Target character sources:
Ninja: Mixamo.moose1DOGandchickenDC: DeformingThings4D.spot: Spot URDF assets from Daniella1/urdf_files_dataset.
Train directly from the demo configs:
python src/main.py --config demo/tennis_to_Ninja.yaml
python src/main.py --config demo/cow_to_moose1DOG.yaml
python src/main.py --config demo/seagull_to_chickenDC.yaml
python src/main.py --config demo/dog_to_spot.yamlOutputs are written to output/<experiment>/. demo/<experiment>.yaml is a
shorthand for configs/demo/<experiment>.yaml; the experiment name is inferred
from the config filename.
Set the dataset root if you are not using the bundled demo/ directory:
export MORPHGS_DATA_ROOT=/path/to/dataPrepare an object-centric video clip at:
$MORPHGS_DATA_ROOT/videos/<scene>/rgb.mp4
The subject should be segmented, centered in a square frame, and composited on a
white background. We recommend SAM 3 for
background masking. The rgb.mp4 frames themselves must also be
background-masked object-centric square frames.
Prepare a rigged target character at:
$MORPHGS_DATA_ROOT/characters/<target>/
Required files:
characters/<target>/
├── mesh.obj
├── texture.png # optional
└── rigging/mesh_ori_rig.txt # RigNet-format skeleton + skinning weights
The release training and rendering scripts use the
RigNet-format rig at
rigging/mesh_ori_rig.txt.
python src/preprocess/preprocess_src.py $MORPHGS_DATA_ROOT/videos/<scene>/rgb.mp4 \
--mode sv4d
python src/preprocess/preprocess_tgt.py $MORPHGS_DATA_ROOT/characters/<target>preprocess_src.py writes processed_videos/<scene>/. preprocess_tgt.py
writes target canonical-view renders, cameras, visibility masks, and semantic
features. The released demo data includes the lightweight processed frames and
target assets, plus cache/<experiment>/feats_3d.pt and
cache/<experiment>/mapping/ so demo runs do not need to ship per-view 2D
feature tensors.
Use --sv4d_stride / --sv4d_max_frames to
subsample longer clips.
Create configs/demo/<scene>_to_<target>.yaml, or pass project paths with CLI
overrides. Demo config filenames are parsed as <source>_to_<target>, so no
experiment registration step is required.
python src/main.py --config configs/base.yaml --experiment <scene>_to_<target>On the first run this builds caches under output/<experiment>/, including
dense 2D-3D correspondence maps, aggregated 3D features, and the GT thinning
cache.
python src/main.py \
--config configs/base.yaml \
--experiment tennis_to_Ninja \
[optional] --model.opt.iterations=5000--config: training config.configs/base.yamlis the release default.--experiment:<source>_to_<target>pair. This directly resolves$MORPHGS_DATA_ROOT/processed_videos/<source>and$MORPHGS_DATA_ROOT/characters/<target>.- Any config key can be overridden from the CLI as
--key.subkey=value. - Runs are seeded from
project.seedin the config. Override it with--project.seed=<seed>when needed.
A 5k-iteration run on a ~10K-vertex target takes roughly 5 minutes on a single RTX 4090.
python src/render.py \
--config demo/tennis_to_Ninja.yaml \
[optional] --iteration 5000@inproceedings{kim2026morphgs,
title = {MorphGS: Morphology-Adaptive Articulated 3D Motion Transfer from Videos},
author = {Kim, Taeyeon and Na, Youngju and Lee, Jumin and Lee, Sebin and Sung, Minhyuk and Yoon, Sung-Eui},
booktitle = {European Conference on Computer Vision (ECCV)},
year = {2026},
}The original MorphGS code is released under the MIT License in LICENSE.md. This repository also includes third-party code and code adapted from third-party projects. Those components retain their own licenses and notices; see THIRD_PARTY_NOTICES.md for attribution.



