Questions tagged [embree]

Embree is a collection of open-source ray tracing kernels developed at Intel Labs

Embree is a collection of open-source high-performance ray tracing kernels developed at Intel Labs.

Embree contains algorithms optimized for incoherent workloads (e.g. Monte Carlo ray tracing algorithms) and coherent workloads (e.g. primary visibility and hard shadow rays).

The kernels are optimized for photo-realistic rendering on the latest Intel® processors with support for SSE, AVX, AVX2, and the 16-wide Xeon Phi™ vector instructions.

Embree is released as Open Source under the Apache 2.0 license.

Reference website and repository: http://embree.github.io/

9 questions
4
votes
3 answers

Numerical bug in intersecting the equation of ray and torus when the camera is far from the torus

I am trying to ray trace a torus without triangulating the torus and just by intersecting the ray and torus analytic equation. I did that with the following code: void circularTorusIntersectFunc(const CircularTorus* circularToruses, RTCRay& ray,…
mmostajab
  • 1,937
  • 1
  • 16
  • 37
2
votes
1 answer

Artifact black lines on raytraced mesh (with Embree)

I am developing a Embree based ray tracer (currently very early in development). If you are not familiar with Embree you can read more at their webpage. The issue: Currently if you start the renderer to use 1 ray per pixel and per iteration…
0
votes
0 answers

How to create a User Geometry in Embree 4? (example of a sphere)

I am having trouble creating a User Geometry in Embree 4. I need to create a set of them (sphere, cylinder...) but let's focus on the sphere for now. For some reason I cannot find an intersection with the sphere I created. I basically copy pasted…
Arolan
  • 23
  • 4
0
votes
0 answers

embree detecting a false contact between a triangulo and a segment

I have a triangle and a segment which, according to embree, they are colliding. However, when I draw this elements, it is clear they don't collide. In the image, the dots on the triangle and the segment are the intersection points, computed using…
jjcasmar
  • 1,387
  • 1
  • 18
  • 30
0
votes
1 answer

Embree: stream mode - how does gather and scatter work and what are pid and tid?

I'm trying to upgrade my application from single ray intersection to stream intersection. What I don't quite understand is how it's possible that the gather and scatter functions shown in the tutorials are even working The example defines a custom…
matthias_buehlmann
  • 4,641
  • 6
  • 34
  • 76
0
votes
1 answer

CMake Build Help for `pyembree`

I am looking for help building pyembree from source with CMake for Windows. Further details for the history of this question are listed here on GitHub. Windows support for pyembree on conda-forge was just removed, so any help that can be provided…
adam.hendry
  • 4,458
  • 5
  • 24
  • 51
0
votes
1 answer

Can't add Embree to my project, getting LNK1104 error

I'm trying to add Embree to an already working solution, following this resource I've added to my CMakeLists.txt file the following: FIND_PACKAGE(embree 3.0 REQUIRED) INCLUDE_DIRECTORIES(${EMBREE_INCLUDE_DIRS}) TARGET_LINK_LIBRARIES(application…
memememe
  • 663
  • 6
  • 21
0
votes
2 answers

Should I use Intel Embree via API or via the project's source code itself?

I am thinking about using Intel Embree in my renderer and currently playing around with Embree tutorials. So, the question is, is it possible to use Intel Embree efficiently via API? I mean, I can see that the functions from ,…
Denis
  • 719
  • 2
  • 8
  • 23
0
votes
1 answer

Using OpenCL and embree simultaneously

I want to use the intel library embree in combination with OpenCL but it doesn't work for me. To show you the problem I created a small code to get all OpenCL devices: #include #include #include int main() { int…
Chris
  • 1
  • 2