Skip to content

[Question] Multicolour meshes? #63

@sigmasoldi3r

Description

@sigmasoldi3r

Is there a way to specify the colour of a triangle? I've seen that you should implement Into<Model>, but I didn't see the colour parameter in the Triangle nor the Vertex struct, and I was wondering if it was possible or planned.

For example, in multicolour models you can find sections like this:

<!-- ... -->
     <triangle v1="124" v2="30" v3="125"/>
     <triangle v1="125" v2="30" v3="0"/>
     <triangle v1="125" v2="0" v3="54"/>
<!-- ... -->
     <triangle v1="129" v2="127" v3="130" paint_color="8"/>
     <triangle v1="129" v2="130" v3="131" paint_color="8"/>
     <triangle v1="131" v2="130" v3="132" paint_color="8"/>
<!-- ... -->

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