Giter Site home page Giter Site logo

io_scene_mitsuba2's People

Contributors

stig-atle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

io_scene_mitsuba2's Issues

Export perspective \ camera view

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.

Fix the material node traversal

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

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.

Fix so that you can export any 'scene' in blender file.

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.

Duplicate materials causes mitsuba to not render.

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.

Export meshes as 'native' format.

Currently the meshes are exported to external files as .obj.
Fix it so that it exports to 'native' format inside the xml file instead.

Import a mitsuba scene

IO in the addon name stands for input/output, which is currently misleading.
The only thing the addon does is output a mitsuba scene.

Fix output path when relative path is selected.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.