MCPcopy Create free account
hub / github.com/chrischoy/3D-R2N2 / create_materials

Function create_materials

lib/read_mesh.py:854–885  ·  view source on GitHub ↗

Parse MTL file and create mapping between its materials and OBJ materials. Eventual edge cases are handled here (missing materials, missing MTL file).

(materials, mtlfilename, basename)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

extract_material_colorsFunction · 0.85

Calls 3

generate_mtlFunction · 0.85
file_existsFunction · 0.85
parse_mtlFunction · 0.85

Tested by

no test coverage detected