Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mesh vertex colors
#3
You could use metadata to define where each color should be, but for simplicity sake I prefer defining the vertex colors at the level of the BuildVolumeMesh module. In that module (in the Refresh method), you have access to the input Volume (instance of class CGVolume, assigned to the local variable "vol"). Thanks to it you get the relative distance of each vertex. You can use that to define vertex color by distance for example.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
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
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 21 04-17-2024, 10:57 AM
Last Post: _Aka_
  Adjust radius of generated mesh via script? Shackman 1 4 03-26-2024, 01:12 PM
Last Post: _Aka_
  Not seeing mesh extended after following YT PaulM 1 3 02-02-2024, 12:01 PM
Last Post: _Aka_
  Trigger Zones along Spline Mesh dlees9191 1 5 01-05-2024, 10:18 AM
Last Post: _Aka_

Forum Jump: