/3D_Render

Primary LanguageJavaScript

SETUP

  • Install LFS git lfs install
  • Clone the repo and run git lfs pull to receive the Splat file

Install Pyenv


$ brew update
$ brew install pyenv

We can also use cURL for installation:

$ curl https://pyenv.run | bash

$ pyenv install 3.9.18
$ pyenv local 3.9.18 (can also set globalas, pyenv global 3.9.18)

Then, run these exports commands in the terminal:

$ export PYENV_ROOT="$HOME/.pyenv"
$ export PATH="$PYENV_ROOT/bin:$PATH"
$ eval "$(pyenv init -)"

Check version:

$ python3 --version
Python 3.9.18

Virtual Environment Setup

$ python3 -m venv .venv
$ source .venv/bin/activate
$ python3 --version
Python 3.9.18

Install Deps and Run

$ pip3 install -r requirements.txt
$ python3 app.py 

Open in Browser


const rooms = [
    'https://link.storjshare.io/raw/jvxxeyhejguiei247jpxmx4vluua/neuron-dev-datastore/instaplan-master/no-super-entity/entity-classvaluation-1/4869-regal-dr--bonita-springs--fl-34134--usa/no-unit/26/primary/above-grade/level-1/clones/pool/model/iteration_30000.splat',
    'https://link.storjshare.io/raw/jvxxeyhejguiei247jpxmx4vluua/neuron-dev-datastore/instaplan-master/no-super-entity/entity-classvaluation-1/584-banyan-blvd--naples--fl-34102--usa/no-unit/26/primary/above-grade/level-1/clones/living-room/model/iteration_30000.splat',
    'https://link.storjshare.io/raw/jvxxeyhejguiei247jpxmx4vluua/neuron-dev-datastore/instaplan-master/no-super-entity/entity-classvaluation-1/15295-burnaby-dr--naples--fl-34110--usa/no-unit/26/primary/above-grade/level-1/clones/living-room/model/iteration_30000.splat'
]

http://127.0.0.1:5015/myapp/public/api/scans/viewer/9766


http://127.0.0.1:5015/myapp/public/api/scans/viewer/10606


http://127.0.0.1:5015/myapp/public/api/scans/viewer/10184