Skip to content
Snippets Groups Projects
Commit 018b10e2 authored by Ben Heasly's avatar Ben Heasly
Browse files

strict texture file matching for rtbOpacityAndBumpTest

parent 431f1bdd
No related branches found
No related tags found
No related merge requests found
...@@ -17,13 +17,14 @@ resources = rtbWorkingFolder( ... ...@@ -17,13 +17,14 @@ resources = rtbWorkingFolder( ...
%% Load the test scene. %% Load the test scene.
parentSceneFile = fullfile(rtbRoot(), 'ExampleScenes', 'IsetbioExamples', ... parentSceneFile = fullfile(rtbRoot(), 'ExampleScenes', ...
'OpacityAndBumpTest', 'Data', 'crytekSmall.obj'); 'OpacityAndBumpTest', 'Data', 'crytekSmall.obj');
scene = mexximpCleanImport(parentSceneFile,... scene = mexximpCleanImport(parentSceneFile,...
'flipUVs',true,... 'flipUVs',true,...
'toReplace',{'jpg','png'},... 'toReplace',{'jpg','png'},...
'targetFormat','exr', ... 'targetFormat','exr', ...
'workingFolder', resources); 'workingFolder', resources, ...
'strictMatching', true);
%% Add camera and lights %% Add camera and lights
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment