stig-atle / io_scene_mitsuba2 Goto Github PK
View Code? Open in Web Editor NEWMitsuba2 exporter for blender
Mitsuba2 exporter for blender
Right now the exporter export one of the cameras in the scene.
Fix so that you also can export 'perspective' view.
If you are not viewing through a camera - export the current perspective view.
If you have a DOF target selected - then also use that even if in perspective mode.
Right now the scene is written as pure text.
Convert it all to use proper xml library instead.
The way we currently traverse the materials is not good.
It sometimes fails to find the correct nodes, so sometimes when this happens you
have to clear the material and create a new one.
Solve this by getting the 'surface' then get the node connected to that input, instead
of finding the material node 'directly' like now.
Fix batch export so that animations can be rendered.
Possible solution:
Name the xml file by frame name, then put geometry in corresponding folder based on frame number.
Currently it exports only the first scene defined in the blender file.
Fix so that it will export 'current' selected scene, and optionally all scenes in the file into their own subfolder.
That makes it much more flexible.
Mitsuba does not like duplicate material names. So currently if you have 1 material on 2 objects (same material) then it throws a error.
Fix this by defining all materials first, then reference them by name when the objects are defined.
If you define a texture that's already in the 'textures' subdirectory in a shader the copy routine fails.
This is because it's trying to overwrite itself while copying.
Currently the meshes are exported to external files as .obj.
Fix it so that it exports to 'native' format inside the xml file instead.
IO in the addon name stands for input/output, which is currently misleading.
The only thing the addon does is output a mitsuba scene.
Stop the export, and warn user if no light source is defined in the scene.
When you set the output path it some times fails if you have relative path.
Fix so that it uses what ever path is selcted - but then resolve the 'true' path - and export that.
Look at the texture export code, there is a function there that shows how to resolve this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.