Skip to content

Handle mesh with multiple <triangles> that having material #69

Description

@EtaLoop

In this collada 1.4.1 file, there are multiple <triangles> described. Please correct me if I'm wrong, but the parser does not seem to handle it.
Multiple <triangles> involve vertex positions, normals but also multiple materials.

EDIT : I assume, using multiple <triangles> aims at having different materials/color for a mesh. So, maybe we could use some kind of vertex_color which would be a list of color for each vertex? It would permit to describe both materials.

https://github.com/Gepetto/example-robot-data/blob/master/robots/ur_description/meshes/ur3/visual/base.dae

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions