Itoo Software Forum

Author Topic: Using Bezier curve to control scale  (Read 1326 times)

Ingo

  • Newbie
  • *
  • Posts: 7
Using Bezier curve to control scale
« on: May 10, 2016, 06:07:06 PM »
Hi there,

ist there a way to control the scale of the segments with a Bezier curve (like in the attached screenshot)?

Best regards
Ingo


Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Using Bezier curve to control scale
« Reply #1 on: May 11, 2016, 12:06:42 PM »
Hi,

That's something feasible using a similar work-flow as commented in this "Auto scale bridge pillars to an uneven ground plane." post.

You can read corresponding Z coordinates of such spline by the "XSplineCoords.z" Expression in the Arithmetic Operator (optionally multiply it, if needed) and drive with this value the Scale (Transform - X/Y/Z Fixed Scale). Attaching sample scene.

Hope you'll find it useful.

Best regards,

Ingo

  • Newbie
  • *
  • Posts: 7
Re: Using Bezier curve to control scale
« Reply #2 on: May 11, 2016, 03:02:51 PM »
Hi Michal,

thanks a lot for your answer. Is it also possible to let the Segments follow a spline A as usual and use a spline B for the scale?

Best regards
Ingo

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Using Bezier curve to control scale
« Reply #3 on: May 11, 2016, 04:31:44 PM »
Hi Ingo,

Unfortunately, I can't see a way how to actually implement two splines into such style, but the one that'll drive the scale can be used to define the shape too (it'll be projected and work as usually). Attaching screenshots.

Best regards,