Skip to content

Mesh with colored vertices component #7

Open
@bhowes-tt

Description

@bhowes-tt

Take a mesh with color data and output a json representation of the mesh and a list of all necessary materials for the three.js loader to consume.

Figure out how to assign vertex colors using the three.json 3 rules for face data. See here: https://github.com/mrdoob/three.js/wiki/JSON-Model-format-3 It looks like we can assign vertex colors, face colors, and materials (as well as quads) by setting a type. We have always just been setting 0 ... which is a triangle.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions