Sweep and taper

   5984   7   0
User Avatar
Member
466 posts
Joined: Aug. 2014
Offline
Hello.
How can I taper a cross-section as it nears the end of a curve on which I sweep it?
User Avatar
Member
1769 posts
Joined: Dec. 2006
Offline
here you go

Attachments:
sweepscale.hip (107.4 KB)

daniel bukovec | senior fx td | weta digital
qLib -- http://qlab.github.io/qLib/ [qlab.github.io]
User Avatar
Member
466 posts
Joined: Aug. 2014
Offline
Many thanks, Buki. A very helpful scene.


I wonder, what if I wanted to scale the cross-section non-uniformly?
User Avatar
Member
86 posts
Joined: Jan. 2009
Offline
Something like this?

Attachments:
TA_sweepscale_828.hip (123.4 KB)

User Avatar
Member
466 posts
Joined: Aug. 2014
Offline
badhairday
Something like this?
Thanks, but unfortunately not. Unless I missed something, in your example all X-sections seem to get scaled in a uniform manner.
I'm sorry, maybe I did not express myself clearly. What I meant is something like this (see picture).
This probably would require three separate ramps for X, Y and Z scale. How to connect them to Sweep node?

Attachments:
sweep_non_uniform.jpg (27.6 KB)

User Avatar
Member
86 posts
Joined: Jan. 2009
Offline
I think I get you now. Have a look at this:

Attachments:
TA_sweepscale_828_02.hip (142.2 KB)

User Avatar
Member
466 posts
Joined: Aug. 2014
Offline
Great example! Thank you.
May I ask why did you decide to use VOP SOP to create ramps and pscale attributes, instead of using standard SOP nodes? Does VOP SOP offer better performance, or is it just your personal preference?
User Avatar
Member
129 posts
Joined: Jan. 2013
Offline
http://www.orbolt.com/asset/XiaoAn::ExtrudeAlongCurve [orbolt.com]
Is this?
  • Quick Links