RenderToolbox / RenderToolbox4

Matlab toolbox for managing 3D scenes and physically-based rendering.
MIT License
48 stars 7 forks source link

Flythrough example fails #38

Closed hblasins closed 7 years ago

hblasins commented 7 years ago

Running the Flythrough example fails with the following error

Reference to non-existent field 'loadDefaultMappings'.

Error in RtbAssimpStrategy/loadMappings (line 163)
            defaultConverterMappings = obj.converter.loadDefaultMappings(obj.mappingsArgs{:});

Error in rtbMakeSceneFiles (line 84)
mappings = strategy.loadMappings(mappingsFile);

Error in rtbMakeFlythrough (line 108)
nativeSceneFiles = rtbMakeSceneFiles(scene, ...
hblasins commented 7 years ago

Directory structure changes in new commits are not always reflected in the RenderToolbox4 path that is had been added to MATLAB path. In other words new directories within the RenderToolbox4 directory tree are not automatically added to the path.

To fix the issue click on Add folder and subfolders to path.