Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

IPP RT

gcadet
Beginner
706 Views
Hello,

I have tried to use the trial version of RT with IPP 5.2.
I can build the kdtree and initialize the intersection context with kdtree node, tri accel and bounding box pointers. But when I want to launch a bundle of rays (or just one ray) with ipprIntersectEyeSO_32f(...) then I get a memory access error. Perhaps I have done something wrong with arrays of pointers ! I don't know.

Could you please give me a simple as possible sample of code using this function. A database composed of 2 triangles and tracing 2 rays towards these triangle centers is enough for me !

Best regards,

Gilles Cadet
0 Kudos
3 Replies
Vladimir_Dudnik
Employee
706 Views

Hi Gilles,

did you take a look on IPP 3DViewer example?

Regards,
Vladimir

0 Kudos
gcadet
Beginner
706 Views
Thanks Vladimir,

My error was in array allocation for directions and hits vectors. I have done AOS instead of SOA...

It works fine now. I will play with a little bit now.

Regards,

Gilles
0 Kudos
Vladimir_Dudnik
Employee
706 Views

Hi Gilles,

just in case, our expert has created example of use for that function, you can find it in attachment.

Regards,
Vladimir

0 Kudos
Reply