Hi there,
I need to achieve a Metaball type connection effect but with any 2 random objects.
The connection effect needs to work no matter how far the distance between object A and B.
I have illustrated my problem below. Perhaps there is a more straight forward method for achieving this look and functionality? The import thing is that Object B can be moved independently and always have a smooth connection to object A, whilst retaining its core shape.
Really excited to see how this can be achieved elegantly
Many thanks,
Stevus.
Connecting multiple objects with a smooth 'Metaball' Effect
2920 4 1- stevus_uk
- Member
- 4 posts
- Joined: Feb. 2018
- Offline
- BabaJ
- Member
- 2123 posts
- Joined: Sept. 2015
- Offline
I like to use the vex lerp function for something like that.
Just need to make sure the source and destination specified has the same number of ‘values’…or you might get some odd results…of course that might be desirable.
http://www.sidefx.com/docs/houdini/vex/functions/lerp.html [www.sidefx.com]
http://www.sidefx.com/docs/houdini/vex/functions/slerp.html [www.sidefx.com]
Just need to make sure the source and destination specified has the same number of ‘values’…or you might get some odd results…of course that might be desirable.
http://www.sidefx.com/docs/houdini/vex/functions/lerp.html [www.sidefx.com]
http://www.sidefx.com/docs/houdini/vex/functions/slerp.html [www.sidefx.com]
- stevus_uk
- Member
- 4 posts
- Joined: Feb. 2018
- Offline
BabaJ
I like to use the vex lerp function for something like that.
Just need to make sure the source and destination specified has the same number of ‘values’…or you might get some odd results…of course that might be desirable.
http://www.sidefx.com/docs/houdini/vex/functions/lerp.html [www.sidefx.com]
http://www.sidefx.com/docs/houdini/vex/functions/slerp.html [www.sidefx.com]
Great, thanks. I'm still getting to grips with using VEX functions, I'm guessing the lerp/slerp functions return values that can then be used to add new primitives? Do you know of any resources/tutorials showing how to implement these functions into a workflow?
Cheers
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
i did something similar here:
http://forums.odforce.net/topic/32720-combining-two-primitives/ [forums.odforce.net]
you can dissect it if you like.
http://forums.odforce.net/topic/32720-combining-two-primitives/ [forums.odforce.net]
you can dissect it if you like.
- BabaJ
- Member
- 2123 posts
- Joined: Sept. 2015
- Offline
-
- Quick Links