Referencing a custom plugin in XML #1245
-
I decided to try and follow the exercise of creating my BSDF plugin as it is described in Mitsuba documentation. Once I register the plugin, I can't find a way to reference it in the XML definition of a scene. Is that possible? If not, would it not be a desirable feature? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello @buddhasystem, Once the plugin has been registered, you should be able to use https://mitsuba.readthedocs.io/en/stable/src/others/custom_plugin.html#Plugin-instantiation |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Hello @buddhasystem,
Once the plugin has been registered, you should be able to use
<bsdf type="your_plugin_name">...</bsdf>
(XML) or{ "type": "your_plugin_name", ... }
(Pythonload_dict
).https://mitsuba.readthedocs.io/en/stable/src/others/custom_plugin.html#Plugin-instantiation