View Full Version : Deforming an object going through a hole(Automated?)
ai_jai 11-09-2004, 01:47 PM Hi all, here's the situation. I have an object that needs to go through a hole thats smaller than the object, so i need the object to deform as it goes through the hole without any bits of mesh overlapping.
white object needs to go through smaller gap in the yellow object;
http://www.andyhowat.com/sbd_thread_wire.gifhttp://www.andyhowat.com/sbd_thread_wire_shade_base.gif
...and withouth any overlapping mesh;
http://www.andyhowat.com/sbd_thread_wire_shade_intersecr.gif
With all Max's Reactor tools and so on, surely there must be something to automate an object deforming like this. Any suggestions?
|
|
Stroker
11-09-2004, 02:06 PM
I think Space Warp > FFD Cylinder is the ticket. Been awhile so I'm not entirely sure, but I'm sure you can find it.
Once you have the FFD cage 'pinched' through the hole, bind the object and move it through the cage.
ai_jai
11-09-2004, 02:25 PM
Just done a quick test, looks like it will do the job nicely, just need to do it on the actual scene, which is a touch more complicated than my example. Theres actually 9 objects that need deforming as they all go through the hole at the same time but I think this will do the trick. Cheers Stroker
ai_jai
11-10-2004, 09:11 AM
:shrug:
Hi Stroker, its not quite what I need, there's actually 15 objects that squeeze through the hole not 9, and its probably worth mentioning the hole is more of a diamond shape than a circular hole and at the moment i can only seem to get the FFD(Cyl) space warp deforming it in a perfect circle, which doesn't look very realistic.
Don't suppose you've got any more tricks up your sleeve I can try? or know a bit more about FFD(Cyl) and its capabilities, especially whether it can deform things using less regular shapes, like a diamond?
Haamu
11-10-2004, 10:45 AM
FFD lattices can deform your mesh any way you want, you just need to have enough segments and set them up correctly. I just did a quick test with a quite complex hole and pushed a sphere through it and it worked fine. Make your deforming meshes dense enough so they can actually deform, I had 135 sphere segments before it started to look good. Use meshsmooth, subdivide or some other similar modifier for that.
ai_jai
11-10-2004, 10:55 AM
Hi Capt_Suicide, yeh ive already setup a normal FFD Box around my objects 6x6x12 and my my objects are dense enough as they are for a good enough deformation,so I'll just animate the deformation myself, would have been nice to have a way of automating it for anytime i need to do it in the furture but i guess its true, you can't always get what you want, but you might get what you need. :thumbsup:
Cheers for the help guys.
if you draw the FFD cylinder with the maximum size it will have, add several heigh segments, and make a "gradient" from the maximum size (the real size of the object/the size you've drawn it) until the center of the hole deforming it in the way between the 2 sides, but without touching the original shape in the top/bottom sides.
ai_jai
11-10-2004, 03:04 PM
Browser timed out trying to post.
ai_jai
11-10-2004, 03:20 PM
Hi DDS,
It took me a while to understand exactly what you meant I should do in Max, but I got there in the end. I've setup the basic FFD(Cyl) and made the general shape to get the deformation on the right track. Looks like I will get the deformation itself automated after all!!:applause:
Thanks alot mate!
Stroker
11-10-2004, 04:33 PM
That's good. I was getting worried for a minute there.
Kudos all around.
ai_jai
11-12-2004, 04:44 PM
As ever....the plot thickens. All but one object is deforming as it should in the FFD Box...but one object has Path Deform Binding on it as well as the FFD binding as it has to follow a spline in the animation(the FFD Binding is on top of the Path Deform Binding). This seems to be confusing the object because when i bind this object to the FFD Box it jumps from its current position (correct position) to a postition where its no use.
This is turning into the thorn in my side guys help me pleeeaaase!!:bounce:
CGTalk Moderation
01-19-2006, 08:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.