Skip to content
robot0321Public

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Repository files navigation

Map2World: Segment Map Conditioned Text to 3D World Generation (ECCV 2026)

Project Website Paper

Jaeyoung Chung*, Suyoung Lee*, Jianfeng Xiang, Jiaolong Yang, Kyoung Mu Lee

News

[2026.09.05] We release the inference & demo code.

Overview

Logo teaser

Installation

  1. Clone Map2World.
git clone https://github.com/robot0321/Map2World.git
cd Map2World
  1. Install the environment following the official TRELLIS installation guide. Map2World uses the same environment as TRELLIS.

  2. Download pretrained models.

Stage 1 uses the upstream TRELLIS text-to-3D XL model from Hugging Face:

huggingface-cli download microsoft/TRELLIS-text-xlarge

Stage 2 uses Map2World enhancement checkpoints. Download pretrained_models.tar.gz and extract it at the repository root as ./pretrained_models:

tar -xzf pretrained_models.tar.gz

Quick Demo

Demo examples are defined in demo.py as EXAMPLE_INPUTS; each entry points to a prompt text file and optionally a segmentation map.

# preset examples: [ex1, ex2, ex3, ex4]
python demo.py ex1 --scale_level 2 

Step-wise Start

To run step-by-step,

# Running stage1: Scene Generation
python stage1_SceneGeneration.py \
  --size 2 2 1 \
  --scale_level 2 \
  --segmap "rand" \
  --prompt \
      "Spring village with wildflower meadows, cherry blossoms, clear sky" \
      "Summer village on green grass, stone houses with red roofs, green leafy trees" \
      "Autumn village with golden-red maple trees, fallen leaves" \
      "Winter village with wooden cabins, snow-covered roofs, glowing windows, pine trees"


# Running stage2: Enhancing details. 
python stage2_DetailEnhancer.py logs/<stage1_run_dir>
# Outputs are written in the same folder

Interactive Viewer

The Spark Viewer is an optional local tool. Install its JS dependencies when needed:

npm install --prefix tools

Start the Spark Viewer:

python tools/spark_viewer/serve_spark_viewer.py --port 8080

Open the viewer in your browser:

http://localhost:8080/tools/spark_viewer/

For Remote Server

Forward the remote port over SSH:

ssh -NfL 8080:localhost:8080 user@server

Notes for Generation

  1. Text prompts have a large impact on generation quality, so provide text that describes "a scene". Otherwise, the scene geometry can collapse.
  2. As of the current commit, scale 0 geometry is unstable. We will update this in a future revision.

ToDo

  • Add Training code
  • Stabilize scale 0
  • Fix the error in scale 1 mask (wrong upper range)

Citation

If you find our work helpful, please consider citing:

@article{chung2026map2world,
  title={Map2World: Segment Map Conditioned Text to 3D World Generation},
  author={Chung, Jaeyoung and Lee, Suyoung and Xiang, Jianfeng and Yang, Jiaolong and Lee, Kyoung Mu},
  journal={ECCV},
  year={2026}
}

Acknowledgement

We thank all authors behind these repositories for their excellent work: TRELLIS.

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages