- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am wanting to use the new RTC_GEOMETRY_TYPE_SPHERE_POINT in embree 3.4. However it's unclear to me what is returned in the RayHit structure for a sphere hit? What does u,v mean for a sphere?
Andrew
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The hit distance and geometry normal field are set for the point geometry, u and v are set to zero. In particular the returned normal can get used to calculate coordinates for your sphere parametrization of choice.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The hit distance and geometry normal field are set for the point geometry, u and v are set to zero. In particular the returned normal can get used to calculate coordinates for your sphere parametrization of choice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, makes sense thanks!
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