Skip to content

jmehami1/mitsuba

 
 

Repository files navigation

Mitsuba — Physically Based Renderer

General Info

Simulator successfully compiled and built on Ubuntu 18.04

RGB compilation capable of rendering EXR images of:

  • Colour

  • Geometric normals

  • 3D position relative to camera's coordinate frame

Instructions

Dependencies

# All regular dependencies
sudo apt-get install build-essential scons git mercurial libjpeg-dev libilmbase-dev libxerces-c-dev libboost-all-dev libopenexr-dev libglewmx-dev libxxf86vm-dev libpcrecpp0v5 libeigen3-dev libfftw3-dev qt5-default libqt5opengl5-dev libqt5xmlpatterns5-dev


# Missing libpng fix
sudo add-apt-repository ppa:linuxuprising/libpng12
sudo apt update
sudo apt install libpng12-0

sudo apt-get install libcollada-dom2.4-dp-dev

https://medium.com/@sree_here/10-steps-to-install-mitsuba-renderer-on-ubuntu-38a9318fbcdf

http://mitsuba-renderer.org/

Compiling

cd mitsuba
scons -j8

Bash Script Function

A convenient BASH script has been written to run Mitsuba simulations from terminal given a scene file. Source the file run-mitsuba.sh to .bashrc:

source **FULL PATH TO**/mitsuba/run-mitsuba.sh

In terminal, you can run simulations as follows:

mitsuba-rgb **MY_SCENE_FILE**.xml

About

Mitsuba is a research-oriented rendering system in the style of PBRT, from which it derives much inspiration. It is written in portable C++, implements unbiased as well as biased techniques, and contains heavy optimizations targeted towards current CPU architectures. Mitsuba is extremely modular: it consists of a small set of core libraries and over 100 different plugins that implement functionality ranging from materials and light sources to complete rendering algorithms.

In comparison to other open source renderers, Mitsuba places a strong emphasis on experimental rendering techniques, such as path-based formulations of Metropolis Light Transport and volumetric modeling approaches. Thus, it may be of genuine interest to those who would like to experiment with such techniques that haven't yet found their way into mainstream renderers, and it also provides a solid foundation for research in this domain.

The renderer currently runs on Linux, MacOS X and Microsoft Windows and makes use of SSE2 optimizations on x86 and x86_64 platforms. So far, its main use has been as a testbed for algorithm development in computer graphics, but there are many other interesting applications.

Mitsuba comes with a command-line interface as well as a graphical frontend to interactively explore scenes. While navigating, a rough preview is shown that becomes increasingly accurate as soon as all movements are stopped. Once a viewpoint has been chosen, a wide range of rendering techniques can be used to generate images, and their parameters can be tuned from within the program.

Documentation

For compilation, usage, and a full plugin reference, please see the official documentation.

Releases and scenes

Pre-built binaries, as well as example scenes, are available on the Mitsuba website.

About

Mitsuba renderer main repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.3%
  • C 6.7%
  • Python 0.9%
  • Objective-C++ 0.4%
  • GLSL 0.3%
  • XSLT 0.2%
  • Other 0.2%