- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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
Ссылка скопирована
3 Ответы
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Hi Gilles,
did you take a look on IPP 3DViewer example?
Regards,
Vladimir
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Ответить
Параметры темы
- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати