- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you tessellate some surface, it is no longer easily possible to calculate the real hit point based on the hit point of the tessellated version. Thus what you have to do is either:
1) Implement an analytic intersection routine with your curved geometry and add this shape as an Embree user geometry.
2) or, increase the tessellation rate to better approximate the real hit point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What you are asking for are PN-Triangles (http://alex.vlachos.com/graphics/CurvedPNTriangles.pdf). However, they still have discontinuities of the geometric normal along the edge.
Embree supports Catmull Clark Subdivision surfaces, which is a smooth surface representation. Maybe that is an option for you. However, internally we implement this primitive also through tessellation, however, we cache that tessellation to bound memory consumption.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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