06-06-2022, 06:06 AM
(06-04-2022, 04:11 AM)tairoark Wrote: Second question:
I would like to use CP metadata in the Spline Path Input to control many things (change material used, etc...) but I'm not sure how?
Do I need to have many different Spline Path Input, each with their one start and end CP range to render sub-lengths of the same reference spline path? Is this very efficient?
There are two solutions I see:
The heavy one, which I do not recommend, which is having an input path module that reads the meta data, and stores the relevant data in the path data (class name: CGPath) that is transmitted to the next module, and then having a custom shape extrusion module that will read that data and creates different volumes with different materials accordingly.
The light one, that I do recommend, which is to have a script that reads the meta data of the spline, and setup for each let's call it material section, to setup a shape extrusion graph, as you said using the start/end CP, or the Range parameter in the Shape Extrusion module, to make a separate shape extrusion for each material
I hope this helped
Please let me know if you need further explanation.
If and when you feel like it, please leave a review for the asset, that helps a lot.
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.