Skip to content

Prefix MTL textures with the MTL directory path#5928

Merged
kimkulling merged 5 commits intoassimp:masterfrom
david-campos:davidcr96/prefix-mtl-textures
Jan 15, 2025
Merged

Prefix MTL textures with the MTL directory path#5928
kimkulling merged 5 commits intoassimp:masterfrom
david-campos:davidcr96/prefix-mtl-textures

Conversation

@david-campos
Copy link
Copy Markdown
Contributor

@david-campos david-campos commented Dec 18, 2024

Path to textures defined in MTL files are relative to the MTL file rather than to the OBJ, so we need to prefix them with the MTL file directory path.

Fixes #2355

Path to textures defined in MTL files are relative to the MTL
file rather than to the OBJ, so we need to prefix them with the
MTL file directory path.
@david-campos david-campos marked this pull request as ready for review December 19, 2024 00:21
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Member

@kimkulling kimkulling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine for me.

@kimkulling kimkulling merged commit 1e44036 into assimp:master Jan 15, 2025
@kimkulling
Copy link
Copy Markdown
Member

Merged, thanks a lot for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

{OBJ} mtllib with a path == can't find texture file

2 participants