This is the documentation for Enlighten.
class Geo GeoEmbreeContext
class Geo::GeoEmbreeContext
└>Geo::IGeoRayTracingContext
└>Geo::IGeoReleasable
An IGeoRayTracingContext that implements the Intel Embree raytracer.
Note
Enlighten changes
We have changed the GeoEmbreecontext create and raytrace function implementation using Intel Embree 3.11.
We do not change the implementation of backfacing triangle and Level of Detail filtering.
Level of Detail filtering (required for baking) is only implemented in the Plücker Triangle4v Intersector, other paths are unavailable.
Prevent the TaskScheduler from being allocated at program initialisation, so we control when it uses memory.
Functions
Name | Description |
|---|---|
Creates a GeoEmbreeContext. | |
DistanceQuery(const Geo::v128 &, const Geo::v128 &, Geo::u32) | Ray trace a ray built from origin and direction. Returns length of ray. |
Query which API the interface is using. | |
Query which API the interface is using. | |
Total number of rays traced. | |
Total number of rays traced. | |
Ray trace a chunk of rays. Returns true on success. | |
Ray trace a chunk of rays. Returns true on success. | |
Total number of seconds used on raw ray tracing. | |
Total number of seconds used on raw ray tracing. | |
Is the context using any hit traversal. | |
Is the context using any hit traversal. | |
Is this object re-entrant and thread safe? | |
Is this object re-entrant and thread safe? | |
Free this object that was created within the Enlighten libraries. | |
Free this object that was created within the Enlighten libraries. | |
Ray trace a chunk of rays. | |
Ray trace a chunk of rays. | |
Ray trace a chunk of rays. | |
Ray trace a chunk of rays. | |
Ray trace a ray built from origin and direction. Returns full ray info. | |
Ray trace a ray. Returns true on success. | |
Ray trace a ray. Returns true on success. |
static GeoEmbreeContext* Geo::GeoEmbreeContext::Create
public: GeoEmbreeContext * Create
(
const IRtMesh * world,
bool anyHitTraversal
)