Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mesh vertex colors
#2
Hi
This feature is not implemented. If you need to implement it, here is how I see it can be done:
  1. Add a VertexColors to CGVMesh:
    I imagine something like this:         public Color[] VertexColors;
  2. Modify CGVMesh.ToMesh so tha it sets the vertex colors to the mesh
  3. If you combine/merge meshes, you will need to handle VertexColors in the CGVMesh.MergeVMesh(es) methods.
  4. In BuildVolumeMesh.Refresh, implement your logic that will define the colors for each vertice and assign CGVMesh.VertexColors
Did this help?
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Messages In This Thread
Mesh vertex colors - by Mattii - 05-31-2023, 10:46 AM
RE: Mesh vertex colors - by _Aka_ - 06-01-2023, 11:14 AM
RE: Mesh vertex colors - by _Aka_ - 06-01-2023, 11:19 AM
RE: Mesh vertex colors - by Mattii - 06-01-2023, 04:33 PM
RE: Mesh vertex colors - by _Aka_ - 06-01-2023, 07:33 PM
RE: Mesh vertex colors - by Mattii - 06-02-2023, 01:30 PM
RE: Mesh vertex colors - by _Aka_ - 06-02-2023, 04:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to generate UVs along deformed and copied mesh? kubak 1 320 03-18-2026, 08:34 PM
Last Post: _Aka_
  Replace deform mesh on volume spots Kokoriko49 1 2,327 06-09-2025, 06:49 PM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 3,640 02-14-2025, 07:11 AM
Last Post: vatan
  Create Mesh Node, Make Static Options rickgplus 1 1,834 01-23-2025, 10:12 AM
Last Post: _Aka_

Forum Jump: