habitat-sim
habitat-sim copied to clipboard
--Set default fallback material handling
Motivation and Context
This PR provides some extensions to the fall back material handling.
- Make the fallback material magenta color
- Add a boolean to drawables to denote they are being shaded via the fallback color. This will signify that either the materials were not loaded or they do not exist for the source asset
- Add a reporting tool to provide information to the user about all assets/objects that ended up being configured to consume the fallback material instead of an appropriate asset-related material.
Still a WIP
How Has This Been Tested
Types of changes
- [ ] Docs change / refactoring / dependency upgrade
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have read the CONTRIBUTING document.
- [ ] I have completed my CLA (see CONTRIBUTING)
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.