Mitsuba Scene Description (MSD) -- a pythonic Mitsuba scene builder #1708
pixelsandpointers
started this conversation in
Show and tell
Replies: 0 comments
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.
-
Dear all,
I have been trying to find a way to create a Pythonic API around Mitsuba's plugin system, which allows it to be programmed in Python without using the dictionary format. See #1388.
I wanted to contribute to Mitsuba for a while now, and perhaps this is something that may help others. I don't want to wait any longer and gather some initial feedback on what I came up with:
Mitsuba Scene Description
The Mitsuba Scene Description or short MSD scrapes the plugin pages of the official documentation and generates a plugin API based on the content. It has no runtime dependencies, other than Mitsuba (for transformations).
An example:
This is the initial release, and I am very happy to receive feedback and advice on how to polish this further, so we can have a scene builder pattern based on Python. Right now, it is a bit rough around the edges, some generations might be duplicated, and I plan to do some post-processing with the tree-sitter API to remove duplicates altogether.
Let me know what you think and file issues. :)
Ben
Beta Was this translation helpful? Give feedback.
All reactions