Skip to content

OBJ does not render with texture without explicit usemtl #1068

Closed
@YuxuanSnow

Description

@YuxuanSnow

Dear PyTorch3d developers,

i want to render an object which I downloaded from http://ycb-benchmarks.s3-website-us-east-1.amazonaws.com/. The .obj, .mtl, and .png texture image are available. However, when I tried to load the object using load_obj, the aux object only contains normals and verts_uvs, no information about texture in material_colors, texture_iamges, and texture_atlas.

I uploaded the textured object file into google drive: https://drive.google.com/file/d/1FU04gYsXy7_agL_1G9ZcjI8AQd1iY3Lx/view?usp=sharing. I wonder if you can try to load the aux and tell me how should I modify the .mtl file?

Thanks!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions