How to sample respective BSDFs after scene.ray_intersect(rays)
?
#1085
Unanswered
sunilhadap
asked this question in
Q&A
Replies: 1 comment 2 replies
-
BTW, ideally, I would like to implement a new type of sensor, instead of this ad-hoc sampling. Would there be, or would some have, an example of how to implement plugin sensor in python? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am trying to programmatically render the scene (using
cuda_ad_rgb
variant). I populate bunch of rays. Followed by a call toscene.ray_intersect()
.Once I get the ray interaction result, how can I sample the BSDFs respective to each ray using the
SurfaceInteraction
? This BSDF sampling will pretty fragmented, right? How can it be done efficiently in a vectorized form?Thanks a bunch in advance, hopefully I am not missing something obvious.
Regards
Sunil
Beta Was this translation helpful? Give feedback.
All reactions