Skip to content

Importing a Mitsuba Scene

Dorian Ros edited this page Aug 25, 2022 · 2 revisions

A Mitsuba XML scene can be imported in Blender under File -> Import -> Mitsuba (.xml).

Import parameters

  • Override Current Scene: Delete everything in the current scene and replace it by the content of the Mitsuba scene. Otherwise, create a new scene named 'Mitsuba'.

ℹ️ In case of errors, log messages are printed to the console window. To enable it under Windows, click on Window -> Toggle System Console. Under MacOS and Linux, simply run blender from the command-line.

What's supported ?

Importing the following Mitsuba plugins is supported:

  • Shapes:
    • ply
    • obj
    • sphere
    • disk
    • rectangle
    • cube
  • BSDFs:
    • principled
    • diffuse
    • twosided
    • dielectric
    • roughdielectric
    • thindielectric
    • blendbsdf
    • conductor
    • roughconductor
    • mask
    • plastic
    • roughplastic
    • bumpmap
    • normalmap
    • null
  • Emitters:
    • point
    • directional
    • area
    • envmap
    • constant
  • Sensors:
    • perspective
  • Films:
    • hdrfilm
  • Samplers:
    • independent
    • stratified
    • multijitter
  • Reconstruction Filters:
    • box
    • tent
    • gaussian
  • Integrators:
    • path
    • moment
  • Textures:
    • bitmap ⚠️ UV transformations are not currently supported.

ℹ️ As Blender and Mitsuba have different representations and algorithms for many concepts, it is not guaranteed that an imported scene matches exactly after exportation. The primary goal of this feature is to replicate Mitsuba's look in Blender as closely as possible.