Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shape extrusion scaling
#4
(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.
Reply


Messages In This Thread
Shape extrusion scaling - by tairoark - 06-04-2022, 04:11 AM
RE: Shape extrusion scaling - by _Aka_ - 06-05-2022, 05:09 PM
RE: Shape extrusion scaling - by _Aka_ - 06-06-2022, 05:59 AM
RE: Shape extrusion scaling - by _Aka_ - 06-06-2022, 06:06 AM
RE: Shape extrusion scaling - by tairoark - 06-06-2022, 07:10 PM
RE: Shape extrusion scaling - by _Aka_ - 06-07-2022, 05:35 AM

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_
  Fading in/out extrusion mesh of a spline? _RicO 3 5 07-25-2023, 09:40 PM
Last Post: _Aka_
  Animating a shape on along a spline will not playback in scene or game views sam_bond 3 9 05-03-2023, 11:41 AM
Last Post: _Aka_
  Inaccuracies with offseted Shape Extrusions MichaelMenzi 6 15 12-14-2022, 10:22 AM
Last Post: _Aka_

Forum Jump: