This repository provide python packages for Mitsuba2 renderer(v2.1.0) to be used with our Optical Tactile Simulation tool for simulating vision-based tactile sensors. This repository is meant for quick reproducing results in our repository present here. Please refer to official Mitsuba2 documentation for more details.
Use the OS specific instructions to setup mitsuba2 in your terminal. This step needs to be done when you start a new terminal window. The system configurations are mentioned for debugging purposes. However, only the python version is the crutial requirement for proper function of mitsuba
Tested and Build with following system configurations
- Ubuntu 20.04
- Clang 10.0.1-++20200708122807+ef32c611aa2-1
exp120200707223407.61 - Cmake 3.19.4
- ninja 1.10.0
- Python 3.7.7
Currently following packages need to be installed on the system for the package
sudo apt install clang-10 libc++-10-dev libc++abi-10-dev libjpeg8-dev
Use following command to activate mitsuba2 python packages on linux
source setpath_linux.sh
Tested and Build with following system configurations
- MacOs Catalina 11.4
- Xcode 12.4
- Clang 11.0.0
- Cmake 3.19.7
- ninja 1.10.0
- Python 3.7.7 Use the following command to activate mitsuba2 python package on mac
source setpath_mac.sh
Currently building with system python or installing python through Windows app store is not supported. Therefore to use windows build, the user need to install Anaconda python 3.8.6 Tested and Build with following system configurations
- Windows SDK 10.0.18362.0
- MS Visual Studio 2019 16.8.5
- Anaconda python 3.8.6
- cmake 3.19.2 Use the following command to activate mitsuba2 python package on windows
setpath_win
To test if the mitsuba2 is properly functioning use the following command
python3 test_mitsuba.py