Skip to content
/ raybender Public

Fast CPU rendering in Python using the Intel® Embree backend

License

Notifications You must be signed in to change notification settings

cvg/raybender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 git@github.com: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.

About

Fast CPU rendering in Python using the Intel® Embree backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published