We provide some sample layouts for demo. If you would like to draw your own layout maps, you can use drawtkinter.py to create your own layout. Here is a tutorial:
The unit of the graduations are in meters, furnitures need to be in reasonable scale. Walls should surround the floor and furniture should be placed on the floor.
The output layouts directory named after expname_xscale-zscale-stride, xscale-zscale-stride are given in decimeter.
If you find our code or paper helps, please consider citing:
@article{blockfusion,
title={BlockFusion: Expandable 3D Scene Generation using Latent Tri-plane Extrapolation},
author={Wu, Zhennan and Li, Yang and Yan, Han and Shang, Taizhang and Sun, Weixuan and Wang, Senbo and Cui, Ruikai and Liu, Weizhe and Sato, Hiroyuki and Li, Hongdong and Ji, Pan},
journal={ACM Transactions on Graphics},
volume={43},
number={4},
year={2024},
doi={10.1145/3658188}
}
BlockFusion: Expandable 3D Scene Generation using Latent Tri-plane Extrapolation
ACM Transactions on Graphics (SIGGRAPH’24)
Project page | Paper | Video
This repo contains the official implementation for the paper “BlockFusion: Expandable 3D Scene Generation using Latent Tri-plane Extrapolation”.
Installation
Pytorch3d is required for postprocess. Come to offical page for installation instructions.
We modified diffusers to adapt triplane structure. Users should build based on the
./srcPretrained model
Pretrained weights of MLP, VAE, and Diffuser(Condition/Unconditioned). Download the model here [10GB] and extract to
./checkpoints.Inference
To do uncondtional inference, run
To do single block conditional inference, run
We provide some sample layouts for demo. If you would like to draw your own layout maps, you can use
drawtkinter.pyto create your own layout. Here is a tutorial:The unit of the graduations are in meters, furnitures need to be in reasonable scale. Walls should surround the floor and furniture should be placed on the floor.
The output layouts directory named after
expname_xscale-zscale-stride, xscale-zscale-stride are given in decimeter.Usage:
Full pipeline(conditional prediction + extrapolation + resample) is contained in
fullpipeline.py. Before running, specifying the layout directory.Citation
If you find our code or paper helps, please consider citing: