#intersection #raytracing #embree

sys embree-rs

A simple wrapper for embree ray tracing library

5 unstable releases

0.3.1 Jun 28, 2018
0.3.0 Jun 23, 2018
0.2.0 Mar 26, 2018
0.1.2 Mar 25, 2018
0.1.1 Mar 10, 2018
Download history 17/week @ 2018-08-12 4/week @ 2018-08-19 6/week @ 2018-08-26 5/week @ 2018-09-02 6/week @ 2018-09-09 7/week @ 2018-09-16 1/week @ 2018-09-23 16/week @ 2018-09-30 5/week @ 2018-10-07 4/week @ 2018-10-14 96/week @ 2018-10-21 6/week @ 2018-10-28 26/week @ 2018-11-04

57 downloads per month

MIT license

18KB
390 lines

Embree-rs

Build Status

NOTE: Need Rust 1.25 at least to support repr(align(X)) routine. To install this version, you can run the following command:

RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup update stable

For windows, the current code assuming that embree will be installed in its default directory (C:\\Program Files\\Intel\\Embree3 x64).

Description

A Rust wrapper for Intel's Embree raytracing library. It short terms goal is to provide easy intersection test in Rust. The goal of this library is NOT to support all Embree features for the moment. However, I will be pleased to merge any pull request!

This wrapper is used (and tested) in:

Please contact me if your project uses this wrapper so I can update this above list.

TODO

  • add documentation
  • add an example of a simple Whitted ray tracing
  • add more intersections routines
  • add phantom data
  • expose different configurations (ray, scene, ...)

Credits

The current code have been inspired from https://github.com/anderslanglands/embree-rs.

Dependencies

~3MB
~52K SLoC

  • build build.rs
  • build bindgen 0.37