Closed dvicini closed 3 months ago
@bathal1 litteraly just came to my office to show me a similar reproducer x)
I pushed a fix in https://github.com/mitsuba-renderer/mitsuba3/commit/113a9ff0037aea7de318ac9e50e8842f1c162ed3
From a quick grep
we have a lot more these across all plugin types. I'm not sure why this changed/broke, I'll dig deeper as I look into the other ones. For now, Emitter
is at least fixed.
Amazing, thanks for the quick response!
When creating a custom Python emitter, I seem to be unable to set its flags. This reproducer
fails with
I tried forcing an int conversion using
self.m_flags = +mi.EmitterFlags.Surface
, but got the error:This is on MacOS with the latest master branch (as of posting this).