'It looks like the OpenEXR library is not installed. Please visit http://www.openexr.com/. You might also try "sudo apt-get install openexr" or similar.');
%% OpenEXR is required.
if0~=openExr.status
status=openExr.status;
result=openExr.result;
advice=openExr.advice;
return;
end
%% Check for Docker, the preferred way to obtain renderers.
docker=checkSystem('Docker',...
'docker ps',...
'It looks like Docker is not installed. Please visit https://github.com/RenderToolbox/RenderToolbox4/wiki/Docker.');
%% Docker can cover both renderers.
if0==docker.status
status=0;
result='Local dependencies were found.';
advice='';
return;
end
%% Check for a local installation of the Mitsuba renderer.
mitsuba=checkSystem('Mitsuba',...
'which mitsuba',...
...
...
@@ -45,24 +63,6 @@ pbrt = checkSystem('PBRT', ...
'It looks like PBRT is not installed. Please visit https://github.com/ydnality/pbrt-v2-spectral. Or, consider installing Docker so that RenderToolbox can get PBRT for you.');