Skip to content

Color the faces directly #20

Description

@robinenrico

Thanks again for this really fast ray tracing package.

I was wondering if there is a way to color the faces directly instead of coloring via the vertices.
In other words, we can update the color of the mesh by running:
rt.update_mesh(c=np.array(n, 3))

However, this requires an array of colors for the vertices, is there a similar approach where c is a color for each face id?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions