Open nickponline opened 1 year ago
I think I have the same question. In a .obj file with several materials, how do I know which faces belong to which material? I'd like to have a material-specific list scene.materials['materialname'].faces
to match scene.materials['materialname'].vertices
.
There is some discussion in #87, #88.
@einarf How do you find the vertices and UV associated with a face. I can access the faces (
scene.mesh_list[0].faces
) and the vertices and UV of each material:But no matter what I try I cannot take a face (v1, v2, v3) and find the vertices and UV associated with it? Am I missing something obvious?