Quantcast
Channel: Embree: Photo-Realistic Ray Tracing Kernels
Browsing all 21 articles
Browse latest View live

rtcIntersect1M vs rtcIntersectNM for coherent rays

In my application I'm firing a small number (likely less than ~10k) of coherent rays and no secondary or incoherent rays. Also I need to minimize compute time. I see in the docs you recommend using ray...

View Article



RTCFilterFunctionNArguments.valid when N > 1

Does RTCFilterFunctionNArguments.valid point to a single unsigned int? Or an array of size RTCFilterFunctionNArguments.N? Ie, is it possible to selectively reject some rays in a packet, or is it an...

View Article

How is RTCRay::id set and what values to expect?

I am trying to use RTCIntersectContext::RTCFilterFunctionN with rtcIntersect1M with per-ray data. I see this in the docs: callback functions may be invoked with an arbitrary packet size (of size 1, 4,...

View Article

rtcNewScene, rtcNewGeometry thread safety

Are the rtcNewScene and rtcNewGeometry functions thread safe when called concurrently with a shared RTCDevice? I assume not but I don't want to put in redundant locking if it's handled internally.

View Article

tessellated subd with interpolated limit surface normals

Is it possible to interpolate the subd limit surface normals on the tessellated mesh? I know I can provide normals to the subd base mesh verts, but ideally I would like to interpolate the true limit...

View Article


Inrtersection Filter

Hi All I'm porting from Embree 2 to latest 3.5.1. For shadows I need to ignore some intersections a) if ray hits the same facet it's cast from b) if ray hits the neighbor facets with same normal My...

View Article

Point projection onto geometry

I noticed in your SIGGRAPH 2018 slides, in the "outlook" section there was mention of 'point projection onto geometry". This would be a very helpful feature, do you have any estimate as to when it...

View Article

Clarification on RTC_GEOMETRY_TYPE_FLAT_LINEAR_CURVE "u" value.

The documentation says "The intersection with the curve segment stores the parametric hit locationalong the curve segment as u-coordinate (range 0 to +1)." As linear curves are represented as...

View Article


enable EMBREE_BACKFACE_CULLING without using CMake

Hi,    I was wondering if it is possible to enable backface culling without using CMake. I already have my VS2013 project working with a bunch of other libraries. I need to add this option to the...

View Article


rtcInterpolate0 with quad surfaces

Hi, I am trying to get the color of a point inside a quad using rtcInterpolate0. I took the code from the "interpolation" example:                 rtcSetGeometryVertexAttributeCount(quadGeom, 1);...

View Article

rtcInterpolate with subdivision surface in dynamic scene

I'm building a dynamic scene containing subdivision geometry with continuously updating vertex buffers. I'm making rtcIntersect calls in that scene and the intersections points are updating correctly....

View Article

intersection test with increased tolerance

I am trying to test collision detection by using embree. For this configuration I need more flexible intersection test (meaning larger epsilon) for triangle meshes.     For example, if I consider a...

View Article

rtcIntersectNM & RTCRayHitN

Hi community, i'm trying to intersect geometry with the rtcIntersectNM method.  signature: void rtcIntersectNM( RTCScene scene, struct RTCIntersectContext* context, struct RTCRayHitN* rayhit, unsigned...

View Article


TBB version used in Windows binary distribution

Greetings, Which version of Intel TBB is the latest version of Embree 2 (v2.17.5) built against in the Windows binary provided by Intel?  We are using TBB for other parts of a program and need to find...

View Article

how to make sure PrimID is ok ?

Hi, Using Embree 3.6.1 (github tab) is very nice and I get nice intersection, but as soon as I want to use PrimID, It seems I hit a wall. There's not much documentation  I'm using it with a triangle...

View Article


Specifying BVH branching factor

Hi,I'm running Embree's pathtracer tutorial, and I'm trying to figure out how to specify the max branching factor when creating a scene's BVH. Ideally I want only 4-way BVH's. What is the best way to...

View Article

Intersection failed with RTC_GEOMETRY_TYPE_DISC_POINT

Hi,I made some tests with geometry of type RTC_GEOMETRY_TYPE_DISC_POINT and i found a weird behavior when a ray start to close to a primitive.For exemple, if 2 points are close ( inferior to the point...

View Article


Vertices order for normal computation

Hello!I want to ask: which vertex order in triangle embree uses for normal computation?As far as i can see embree uses clock-wise order. So triangle with vertices ((0, 0, 0), (1, 0, 0), (0, 1, 0)) has...

View Article

embree thread safety

I noticed in the release notes for embree v3.7.0 this feature:rtcCommitScene can now get called during rendering from multiple threads to lazily build geometry... combined with next bullet:Geometries...

View Article

Performance issues on older hardware

I have an application that performs a large number of rtcPointQueryV() over moderately-sized triangle meshes.  I am seeing significant differences in performance depending on the hardware it is being...

View Article
Browsing all 21 articles
Browse latest View live




Latest Images