https://github.com/cansik/pymesh2depthmap
A simple tool to create depth-maps out of 3d meshes.
https://github.com/cansik/pymesh2depthmap
Last synced: about 1 month ago
JSON representation
A simple tool to create depth-maps out of 3d meshes.
- Host: GitHub
- URL: https://github.com/cansik/pymesh2depthmap
- Owner: cansik
- Created: 2021-02-11T17:00:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-11T18:06:40.000Z (over 4 years ago)
- Last Synced: 2025-03-31T02:12:58.199Z (2 months ago)
- Language: Python
- Size: 1.03 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pymesh2depthmap
A simple tool to create depth-maps out of 3d meshes by using raytracing. 
### Installation
#### Conda
Conda is recommended to install pyembree (speeds up rendering).```
conda create -n venv_pym2d python=3.7
conda activate venv_pym2d# for linux
conda config --add channels conda-forge
conda install -c conda-forge pyembree# manuall install for windows
git clone https://github.com/scopatz/pyembree.git
cd pyembree
conda install cython numpy
conda install -c conda-forge embree
set INCLUDE=%CONDA_PREFIX%\Library\include
set LIB=%CONDA_PREFIX%\Library\lib
python setup.py install --prefix=%CONDA_PREFIX%
```And install the necessary pip packages as described following.
#### PIP
It's also possible to just install the pip packages.
```
pip install -r requirements.txt
```### Using
For now this was just a quick demo. Parameter parsing and so on will be added later.