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: github.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:98a37245-8277-3894-fb9b-55be2b956e98 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 81C4:121AD4:350F775:4620C9B:6964B17D |
| html-safe-nonce | 7cbe1510778a990cd3236f89e68bb73dc2936862dd9ee65c5088325aa689a694 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUM0OjEyMUFENDozNTBGNzc1OjQ2MjBDOUI6Njk2NEIxN0QiLCJ2aXNpdG9yX2lkIjoiNDM2MDI4ODY1MjIxNDE4NjM2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eedb28074045e00dac9463e43f5bee026c188a7a278991ec9e2db3681cfb74be |
| 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 | 15579c46431b7fd25941c3b09010f74fd1890c7a35226839bbbf40ce70fb3057 |
| 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 | 499abb347cb197601d399c346cfeb4b3fa135d5c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width