Skip to content
Discussion options

You must be logged in to vote

Hello @imanolooo,

Custom Python plugins require using vectorized variants (e.g. llvm_ad_rgb, cuda_ad_rgb) for good performance. Please see the documentation:

Custom Mitsuba plugins written in Python work best with Just-In-Time (JIT) variants. This is because it would be pretty inefficient to execute Python BSDF code for millions of scalar light paths. JIT variants, on the other hand, only execute a few calls to those methods on arrays containing millions of entries at once, mitigating the overhead coming from the the Python layer.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by imanolooo
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