- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
Lien copié
3 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Gilles,
did you take a look on IPP 3DViewer example?
Regards,
Vladimir
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable