Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include primitive's geometry normal in Intersection #201

Open
qhaas opened this issue Dec 18, 2018 · 1 comment
Open

Include primitive's geometry normal in Intersection #201

qhaas opened this issue Dec 18, 2018 · 1 comment

Comments

@qhaas
Copy link

qhaas commented Dec 18, 2018

Embree (2.8.x at least) includes the intersected primitive's (facet's) unnormalized geometry normal (Ng) in its intersection return data. While trying to port some code from Embree to RadeonRays, I noticed RadeonRays doesn't have a way to retrieve this value and thus I have to manually calculate it. It would be nice if there was a way to retrieve this data from the RadeonRays API. If not returned by Intersection, then maybe a RadeonRays API query to retrieve it by shapeid / primid.

@devshgraphicsprogramming

@qhaas how would you propose to change the API of Radeon Rays for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants