Skip to content

Material ID required for the various faces #20

Description

@Esharc

When parsing the .obj file the used material for the current face being parsed needs to be stored.

I need the index for the material being used for the face that is currently being parse, but I see that only the last used material is being stored in the Group of the data store.

In the copy of your library that I am using I added a MaterialIndex to the FaceVertex struct in the Face.cs file, and then in the FaceParser.cs file I added functionality to determine the index of the current material being used for the face.

This is an old project, so I assume most people that use this only have one colour in their .obj file. I have four.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions