Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Visual Computing (Graphics and Gaming)
- Intel® Embree Ray Tracing Kernels
- RTC_GEOMETRY_TYPE_SPHERE_POINT geometry in 3.4

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

Highlighted

AndrewC

New Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

01-29-2019
09:15 AM

26 Views

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

Accepted Solutions

Highlighted
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.

SvennW_Intel

Moderator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

01-29-2019
10:50 PM

26 Views

2 Replies

Highlighted
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.

SvennW_Intel

Moderator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

01-29-2019
10:50 PM

27 Views

Highlighted

AndrewC

New Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

01-30-2019
08:00 AM

26 Views

OK, makes sense thanks!

For more complete information about compiler optimizations, see our Optimization Notice.