Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] AABB tree: (t, u, v) coordinates directly from ray triangle intersection?

Subject: CGAL users discussion list

List archive

[cgal-discuss] AABB tree: (t, u, v) coordinates directly from ray triangle intersection?


Chronological Thread 
  • From: Maarten Moesen <>
  • To:
  • Subject: [cgal-discuss] AABB tree: (t, u, v) coordinates directly from ray triangle intersection?
  • Date: Tue, 9 Jan 2018 10:29:29 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:ZTeg5Rbwf1voFmzvMNj4P0P/LSx+4OfEezUN459isYplN5qZr82ybnLW6fgltlLVR4KTs6sC17KP9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCagbb9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjAn/27Zl8t+gqJYrhyvuxNy2JTbbJ2POfdkeqPRYc0WSGxcVchRTSxBBYa8YpMIAeUbJ+lYtZX9qEUIrRCjAgesA/3gyiRWiX/wwKY31OEhHhvc0ww6A9IBrnLUo83wNKcVT++117fHzTPYYvNWxDf97pTIcgskof6WW7J8a9beyU4qFw7ciFibtI/rPyuN2+kMsWWX9fRsWOyyh2I9tg18rTuiyt0xhoXUm44Z0k7I+Tl5zYovO9G1Rk52bcS5HJdMtSyWLZZ6T80/T2xupS000KcJuYShcygP0JknxwDQa/iAc4WQ5xLiW/qdLi1hiH55ZL6zmwy98Ua8xeHgS8W4yk5KrjJFktnLrXANywLc5dWdRvRh+Ueh3C6D1wHV6u5aPUA5javWJpw7zrIumJcfrF7PEjL5lUj1lqOaa1go9vWw5+TieLrmp5ucN4FuigH5N6QjgtS/Af4mMggVR2WX5+Sx2bLh8ED2QrhHjuA5nrTFv53CIMQUvLS2AxVJ0ok97RawFzKm0NMGknkcMl1FfgmKj4j0O1HIPPD4FvK/jE6qkDtx2//GObjhDo3XLnffiLfhYap960lExQUvwtBQ/ZZUBqgcL/LyQU/+qMHYDgQiMwGv2ObmCNB91psEVm6VA6+ZNrnSsV6S6e41LemMftxdhDGoIPcs47vijGQyhEQGVaivx5oeLn6iTdp8JEDMRHPlmMsMFy8vuQclQeqi3FiLWCRPanCFWqUx/Tw9IIK7C5vYQ4mrxreG2XHoTdVtemlaBwXUQj/TfIKeVqJUZQ==

Dear CGAL community,

First of all my best wishes for 2018 to the CGAL team and community!

Question 1:
In the AABB tree package there is plenty of support for (closest) ray-triangle intersections which (very precisely) return a point or a line segment. It could be, however, somewhat more convenient for my code to work directly with the ray's intersection distance parameter (t). In the documentation I've found a AABBRayIntersectionTraits Concept that describes this. Is it meant to be used directly and if so, is there also a model/example that shows how to?

Question 2:
I'm also interested in the texture coordinates (often denoted with (t,u,v)) of the intersection of a ray with a triangle. Would this be possible to obtain them directly or is it better to back-project the point of intersection on the triangle?

Best regards,

Maarten
--
Maarten Moesen, PHD
Polymer Physicist Computational Modeling

HUNTSMAN (Europe) BVBA
Everslaan 45
B-3078 Everberg
Belgium
VAT: BE - 0468.807.829

Office Phone: 0032 (0) 2 758 9962



Archive powered by MHonArc 2.6.18.

Top of Page