Skip to content
Discussion options

You must be logged in to vote

I don't think there is an easy workaround. The code is failing here because the plugin expects a 1-sized parameter, and not something wider. Maybe disabling symbolic vcalls (dr.set_flag(dr.JitFlag.VCallRecord, False)) will help, but even with that I would assume that some other parts of exisiting code would break because of this unexpected change in parameter width.

I don't know what your final goal is, but I don't think there is a way in which you could make this per-ray gradient tracking work in a conventional Mitsuba setup (scene, plugins, etc..). You're better off writing whatever you need from scratch with Mitsuba "primitives". This might seem like a lot, but depending on what exactl…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@lesphere
Comment options

@njroussel
Comment options

@lesphere
Comment options

@njroussel
Comment options

Answer selected by lesphere
@lesphere
Comment options

@njroussel
Comment options

@lesphere
Comment options

@lesphere
Comment options

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