Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[feature] Add option to assign material and materialId when usemtl exists, but no mtllib or mtl reader callback supplied #384

Copy link
Copy link
@syoyo

Description

@syoyo
Issue body actions

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, but no mtllib or mtl reader callback supplied

To Reproduce

See the PR #383 and discussion here(reproducible test file there)
#383 (comment)

Expected behavior

Add option to assign material and materialId when usemtl exists.

Environment

  • TinyObjLoader version: release

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.