Skip to content
Discussion options

You must be logged in to vote

Hi @msqrt

Indeed, it seems that this path of code is only enabled in non-AD variants. I wonder why...

You can either re-compile the project yourself and remove that constexpr ... is_diff_v<Float condition. Another solution would be to explicitly call si.compute_uv_partials right before calling si.bsdf(ray) in your code.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@msqrt
Comment options

Answer selected by msqrt
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