/Sketch2RaBit

A very simple sketch-based 3D modeling system built with the help of 3DBiCar and RaBit.

Primary LanguagePython

Sketch2RaBit

A very simple sketch-based 3D modeling system built with the help of 3DBiCar and RaBit. If you are interested in sketch-based 3D modeling, you can also refer to SimpModeling and SketchMetaFace.

Demo

demo1.mp4
demo2.mp4
demo3.mp4

Usage

This system has been tested with Python 3.8, PyTorch 1.7.1, CUDA 10.2 on Ubuntu 18.04.

  • Installation:

    conda create --name Sketch2RaBit -y python=3.8
    conda activate Sketch2RaBit
    pip install -r requirements.txt 
    
  • Start by cloning this repo:

    git clone git@github.com:zhongjinluo/Sketch2RaBit.git
    cd Sketch2RaBit
    
  • Download pre-compiled user interface and checkpoints for backend algorithms from sketch2rabit_files.zip and then:

    unzip sketch2rabit_files.zip
    unzip App.zip
    mv sketch2rabit_files/data/transfer_uv /path-to-repo/
    mv sketch2rabit_files/data/pose /path-to-repo/networks/v0/
    mv sketch2rabit_files/data/embedding/* /path-to-repo/networks/v0/embedding/
    mv sketch2rabit_files/data/pSp/* /path-to-repo/networks/v0/pSp/
    
  • Run the backend server:

    cd /path-to-repo/ && bash server.sh
    
  • Launch the user interface and enjoy it:

    cd App/ && bash run.sh
    
  • If you want to run the backend algorithms on a remote server, you may have to modify App/config.ini.