Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mesh vertex colors
#5
In that case, here are the broad lines of what you need to do:
  1. Create your meta data class. See CurvyMetadataBase and all the classes beneath it. An example of custom meta data is in E01_HeightMetadata.cs
  2. Update the code InputSplinePath or InputSplineShape so that they read the meta data.
  3. Write its content in a field you will create inside CGShape. Notice the chain of inheritence CGShape -> CGPath -> CGVolume
  4. Process that data in BuildShapeExtrusion. This means reading the data from the classes's input InPath/InCross and writing it into its output OutVolume
  5. In BuildVolumeMesh, read the input volume and do most of what I explained in my previous post

I hope this helped
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: