-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The OBJ loader fails to load textures that are stored in relative paths to the obj file. If such a path occurs, it simply adds the model's path to the path.
For example:
- Model path: "assets:\some_folder\model.obj"
- Texture described in mtl file: "..\texture_folder\texture.png"
- Resulting texture path: "assets:\some_folder..\texture_folder\texture.png"
Include a MRE
Load any model where the mtl uses a relative texture path with ../
Expected behavior
The relative filepath should be resolved appropriately by checking for .. before combining the paths
Desktop (please complete the following information):
- OS: Windows 10
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working