- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Gilles,
did you take a look on IPP 3DViewer example?
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page