Skip to content

Latest commit

 

History

History

embree-api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Embree2 compatible API for NanoRT

Drop-in replacement of raytracing engine with Embree API for cross-platform support(e.g. raytracing on ARM, PowerPC)

Version

Based on Embree2 2.17.0 header.

Status

Minimum and experimental.

Triangle + single ray intersection only.

Coordinates

  • Right-handed
  • Geometric normal defined as CCW

How to use

Simply copy embree2 header files(include/embree2/), nanort.h(../../), nanosg.h(../nanosg/) and nanort-embree.cc to your project.

Notes

Current implementation does not consider calling Embree API from multi-threaded context. Application must care of calling Embree API with proper locking(except for rtcIntersect)

TODO

  • Curve/hair
  • Subdivision surface
  • Motion blur
  • Instanciation
  • Stream intersection API
  • Ray stream API
  • Multi-threading support.
  • DLL build of nanort-embree module.

Licenses

  • embree2 header files : Copyright 2009-2017 Intel Corporation. Apache 2.0 license.