Title: [feature] Add option to assign material and materialId when `usemtl` exists, but no `mtllib` or mtl reader callback supplied · Issue #384 · tinyobjloader/tinyobjloader · GitHub
Open Graph Title: [feature] Add option to assign material and materialId when `usemtl` exists, but no `mtllib` or mtl reader callback supplied · Issue #384 · tinyobjloader/tinyobjloader
X Title: [feature] Add option to assign material and materialId when `usemtl` exists, but no `mtllib` or mtl reader callback supplied · Issue #384 · tinyobjloader/tinyobjloader
Description: Describe the issue tinyobjloader does not assign material(and materialId) when no mtllib or mtl reader callback supplied. But Blender does: #383 (comment) It'd be better to add option to assign material and materialId when usemtl exists,...
Open Graph Description: Describe the issue tinyobjloader does not assign material(and materialId) when no mtllib or mtl reader callback supplied. But Blender does: #383 (comment) It'd be better to add option to assign mat...
X Description: Describe the issue tinyobjloader does not assign material(and materialId) when no mtllib or mtl reader callback supplied. But Blender does: #383 (comment) It'd be better to add option to assign...
Opengraph URL: https://github.com/tinyobjloader/tinyobjloader/issues/384
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[feature] Add option to assign material and materialId when `usemtl` exists, but no `mtllib` or mtl reader callback supplied","articleBody":"**Describe the issue**\r\n\r\ntinyobjloader does not assign material(and materialId) when no `mtllib` or mtl reader callback supplied.\r\nBut Blender does: https://github.com/tinyobjloader/tinyobjloader/pull/383#issuecomment-2307624738\r\n\r\nIt'd be better to add option to assign material and materialId when `usemtl` exists, but no `mtllib` or mtl reader callback supplied\r\n\r\n**To Reproduce**\r\n\r\nSee the PR https://github.com/tinyobjloader/tinyobjloader/pull/383 and discussion here(reproducible test file there)\r\nhttps://github.com/tinyobjloader/tinyobjloader/pull/383#issuecomment-2307624738\r\n\r\n**Expected behavior**\r\n\r\nAdd option to assign material and materialId when `usemtl` exists.\r\n\r\n**Environment**\r\n - TinyObjLoader version: release\r\n","author":{"url":"https://github.com/syoyo","@type":"Person","name":"syoyo"},"datePublished":"2024-08-25T16:28:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/384/tinyobjloader/issues/384"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e5a5e7cf-8bae-aaf8-66bb-8e60ef7d1456 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 901C:2F3C91:8D4B02:B8D73F:697165AE |
| html-safe-nonce | 2983f31b6d49ee919a6fa144890719bcc8a3d04590735480d97b96e31935f2a1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDFDOjJGM0M5MTo4RDRCMDI6QjhENzNGOjY5NzE2NUFFIiwidmlzaXRvcl9pZCI6IjU0NjA0MjA4ODEyOTA0NTQ0NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ba0b83c311b11fc0ee9e8c424051ca916e10f9198b1f6b0c76df811b8e7a5877 |
| hovercard-subject-tag | issue:2485362591 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/tinyobjloader/tinyobjloader/384/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c5fe7426e0b4af7838f938fc0928a7695687ec514067e141d8b879a2e194f7b/tinyobjloader/tinyobjloader/issues/384 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c5fe7426e0b4af7838f938fc0928a7695687ec514067e141d8b879a2e194f7b/tinyobjloader/tinyobjloader/issues/384 |
| og:image:alt | Describe the issue tinyobjloader does not assign material(and materialId) when no mtllib or mtl reader callback supplied. But Blender does: #383 (comment) It'd be better to add option to assign mat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | syoyo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 873364ab8c3892d45b3a7f6c012702ee84934662b47c9312d99f8b31dd9c2668 |
| turbo-cache-control | no-preview |
| go-import | github.com/tinyobjloader/tinyobjloader git https://github.com/tinyobjloader/tinyobjloader.git |
| octolytics-dimension-user_id | 61176939 |
| octolytics-dimension-user_login | tinyobjloader |
| octolytics-dimension-repository_id | 5421296 |
| octolytics-dimension-repository_nwo | tinyobjloader/tinyobjloader |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5421296 |
| octolytics-dimension-repository_network_root_nwo | tinyobjloader/tinyobjloader |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fa6ed180534301da051f8e5cb00f3a1dfab789ec |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width