Yu Guo, Miloš Hašan, Shuang Zhao. In ACM Transactions on Graphics (SIGGRAPH Asia 2018). [Project page]
This is a branch of the Mitsuba (0.6.0) renderer (official repo: https://github.com/mitsuba-renderer/mitsuba)
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install git scons libboost-all-dev libpng-dev libjpeg-dev libopenexr-dev libxerces-c-dev libeigen3-dev libfftw3-dev libglewmx-dev freeglut3-dev
$ git clone https://github.com/tflsguoyu/layeredbsdf.git
$ cd layeredbsdf/
$ mv config_linux.py config.py
$ scons -j x
(x = # of cpu cores)$ source setpath.sh
Now you can render scenes$ mitsuba xxx.xml
- install visual studio 2017
- clone this git to local folder
- go to folder ..\layeredbsdf\
- rename config_windows.py to config.py
- download dependencies
<scene version="0.6.0">
(Here using 0.6.0, but not 0.5.0)<integrator type="path_layered">
(path_layered
preferred, but can still usepath
,volpath
orvolpath_simple
instead)<bsdf type="multilayered"> ... </bsdf>
(BSDF type ismultilayered
, both ouruni-dir
andbi-dir
methods are implemented here)
- Default precision in
config.py
issingle
. If you find too many warnings or even it is crashed when rendering scenes, you should trydouble
precision instead. (Already provided inconfig.py
) conductor
anddielectric
are not supported now, useroughconductor (a=0.001)
androughdielectric (a=0.001)
instead.- Welcome to report bugs and leave comments (Yu Guo: [email protected])