In a separate, older repository, we have some utilities for getting ground truth data from Mitsuba, like distance to camera and reflectance at each image pixel. Here's the old code.
We should make a similar utility available for any RenderToolbox4 scene. This should use the RenderToolbox4 Assimp strategy and the mMitsuba scene model to reconfigure an existing scene with the appropriate integrator and film for getting ground truth images.
It may also use a separate renderer implementation which supports RGB builds of Mitsuba.
The output of this utility should be image matrices in memory in Matlab.
In a separate, older repository, we have some utilities for getting ground truth data from Mitsuba, like distance to camera and reflectance at each image pixel. Here's the old code.
We should make a similar utility available for any RenderToolbox4 scene. This should use the RenderToolbox4 Assimp strategy and the mMitsuba scene model to reconfigure an existing scene with the appropriate integrator and film for getting ground truth images.
It may also use a separate renderer implementation which supports RGB builds of Mitsuba.
The output of this utility should be image matrices in memory in Matlab.