Skip to content

Custom Mitsuba BRDF (Python plugin) #1135

Closed Answered by njroussel
sapo17 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sapo17

I'm surprised this ran without any error message 🤯
What you are doing isn't technically possible in megakernel/recorded mode, you need to run your code in wavefront mode with:

dr.set_flag(dr.JitFlag.VCallRecord, False)
dr.set_flag(dr.JitFlag.LoopRecord, False)

There are a couple of relevant discussion threads about this already. Here's one of them: #812
Hopefully this fixes the rendering too.

Replies: 1 comment 1 reply

Comment options

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

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