Animate a tube following a curve

   2335   5   1
User Avatar
Member
375 posts
Joined: May 2014
Offline
Hello
How can I animate a tube growing and following a curve? I have tried Polyextrude but it does not behave the way I want.
Thanks
Gz
Houdini gamboler
User Avatar
Member
192 posts
Joined: Nov. 2008
Offline
plenty of ways to skin a cat, but an animated carve sop could be a good way to achieve this.


here's an example

Image Not Found
Edited by brianBurke - Sept. 17, 2018 12:00:08

Attachments:
bb_anim_tube_v001.hip (119.5 KB)
llama11.png (172.4 KB)

User Avatar
Member
375 posts
Joined: May 2014
Offline
Wow amazing! Thanks a lot for your example file and your time
In the carve node, if I delete channels and animate only “second V”, I get exactly what I wanted.
Some questions if you don't mind :
Whats the use of the Polyframe node, and the normal_and_up_vector VOP?
Good day
Gz
Houdini gamboler
User Avatar
Member
192 posts
Joined: Nov. 2008
Offline
cheers gz. the polyframe and the vop are creating a normal and up-vector for the copy-to-points sop to use to align the circles along the curve.
User Avatar
Member
375 posts
Joined: May 2014
Offline
Thanks Brian. I have some more questions if you don't mind.

1: How can I cap the ends of the tube? Since the points are not the same at both ends , as they are built during the tube's travel along the curve, how can I specify edges to cap holes?

Thanks
David
Houdini gamboler
User Avatar
Member
2038 posts
Joined: Sept. 2015
Offline
Polycap node at the end will do you.
  • Quick Links