Skip to content

Issues extending sample 6 to include constant medium geometry #200

Answered by ingowald
YayIguess asked this question in Q&A
Discussion options

You must be logged in to vote

Hey - debugging somebody else's code is always hard (hard enough to debug one's own code, right?), in particular by just looking at code snippets. But given your "am i going about this in the completely wrong way" comment you are well aware of that; and I think at least on that front I can tell you that no, you're not - at first glance that all looks pretty much the right way to go about it.

So, a few comments that may cause issues - or at least help in finding them:

  • to get the ray origin and direction you use optixGetWorldRayXyz(); as long as you don't have any instances with non-unit transforms that shouldn't matter, but if you do: I think the intersection program is supposed to be ex…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@YayIguess
Comment options

@ingowald
Comment options

@YayIguess
Comment options

@YayIguess
Comment options

Answer selected by YayIguess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants