RuntimeError: Python -> C++ conversions #792
Unanswered
bullette007
asked this question in
Q&A
Replies: 1 comment
-
Hi @bullette007 In general custom Python plugins are not meant to be used with I'm unable to fully reproduce the behaviour you describe. My best guess is that the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm currently working on a project where I'd like to implement a custom BSDF plugin, so I started with the tutorial (https://mitsuba.readthedocs.io/en/stable/src/others/custom_plugin.html).
Unfortunately, even the unmodified sample (only modified by setting the variant to
scalar_rgb
) does fail while callingmi.render
with the following output:RuntimeError: When called outside a bound function, py::cast() cannot do Python -> C++ conversions which require the creation of temporary values
This seems to have broken during the transition from version 3.0.2 (here it still works) to 3.1.0.
Any thoughts / help on this?
Many thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions