Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cvg/raybender
Fast CPU rendering in Python using the Intel® Embree backend
https://github.com/cvg/raybender
Last synced: 3 days ago
JSON representation
Fast CPU rendering in Python using the Intel® Embree backend
- Host: GitHub
- URL: https://github.com/cvg/raybender
- Owner: cvg
- License: bsd-3-clause
- Created: 2021-03-28T10:29:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-15T13:45:07.000Z (about 1 year ago)
- Last Synced: 2024-08-03T15:05:14.853Z (3 months ago)
- Language: C++
- Homepage:
- Size: 22.5 KB
- Stars: 38
- Watchers: 6
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```sh
git clone --recursive [email protected]:cvg/raybender.git
cd raybender
```2. Install Embree following the [official instructions](https://www.embree.org/downloads.html) and set the environmental variable `embree_DIR` to point to `embree-config.cmake`. On Linux, this can be done as follows:
```sh
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`
```3. Finally, RayBender can be installed using pip:
```sh
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.