Embree: Photo-Realistic Ray Tracing Kernels

Barycentric coordinates u, v

Hi,

After intersecting a ray with a scene, what is the proper way to use the u, v  coordinates to calculate the world coordinates (x, y, z) of the hit? I believe from the geomID and primID, I can identify the triangle which is hit and its corresponding v0, v1, v2. But now what do I do?

Intersect and occluded in Embree 2.0

Can anybody tell me the proper way to intersect a ray with a piece of geometry. I have been able to create the geometry but how am I supposed to get the hit information from intersection? What are the primitive IDs in Ray and why are there 2 of them?

Thanks,

Ritwik

rtcSetTransform instance positioning

Hi,

How do the positioning of instances exactly work? I know that rtcSetTransform convert from local to world space, but positioning seems very weird. Let me explain what I do and what it does...

I create a cube at origin (0,0,0) and instantiate it at (10,0,0) all works well. If I rotate the instance, all works well.

rtcSetTransform

Hi, first let me say thank you for such a state-of-the-art kernel for CPU, it is by far the best ever developed.

I'm trying to rotate an instance by setting the RTCMatrix parameter of rtcSetTransform but I can't seen to figure it out. I know it is an affine transformation matrix, but no matter what I do, it never rotate properly.

My question, is there an example available showing the members of the matrix used for rotation? I know you have a tutorial but it only set the matrix to the identity matrix and use the last members as a position change only, no rotation.

Compiling with Embree - Windows Release build

Hi Team.

I have a 64-bit Windows 7/8 C++ application.exe that uses Embree v2.2 in Visual Studio 10.
I link in embree.lib and have embree.dll in the same folder as my application.
I can compile Debug and Release builds without any trouble.
The only difference between the two are the Visual Studio settings.

I can execute the Debug build and the application works as expected.

SimLab Composer 2015 "making embree accessible"

SimLab Soft announces the release of SimLab Composer 2015.

SimLab Composer 2015 presents a complete redesign of SimLab Composer, the new design focuses on lowering the barrier for new and current users to take advantage of the full capabilities of SimLab Composer. The new version introduces a workbench based GUI allowing the user to focus on the current task.

GSoC project concerning Embree

I hope this posting is not considered as completely off topic.

The CGAL project proposes a Google Summer of Code  internship topic where we want to use Embree for the ray shooting step in a mesh generation algorithm. 

The details can be found here: http://www.cgal.org/project_ideas.html#p1

 

Best regards,

Andreas Fabri

Подписаться на Embree: Photo-Realistic Ray Tracing Kernels