Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.16 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.16 KB

RayBender - Fast Python Ray-Tracing

RayBender is a Python package for fast CPU rendering using the Intel® Embree backend.

Installation

  1. Clone the repository and its submodules by running:
git clone --recursive [email protected]:cvg/raybender.git
cd raybender
  1. Install Embree following the official instructions and set the environmental variable embree_DIR to point to embree-config.cmake. On Linux, this can be done as follows:
wget https://github.com/embree/embree/releases/download/v3.12.2/embree-3.12.2.x86_64.linux.tar.gz
tar xvzf embree-3.12.2.x86_64.linux.tar.gz
rm embree-3.12.2.x86_64.linux.tar.gz
mv embree-3.12.2.x86_64.linux embree-3.12.2
export embree_DIR=`readlink -f embree-3.12.2/lib/cmake/embree-3.12.2`
  1. Finally, RayBender can be installed using pip:
pip install .

Examples

Start by setting up the demo conda environment by running conda env create -f examples/env.yml and activate it conda activate raybender. Next, install RayBender by following the instructions above. Please refer to examples/demo.py for a minimal RGBD rendering examples from a triangle mesh.