PDA

View Full Version : kill me now... lattice + softbody prob


noisewar
08-09-2002, 06:02 PM
I tried this a while back but nobody knew the solution... but now I've run into it again so I guess I'll give it another shot.

I am simulating a flag with a flat piece of polygon geometry (not a plane). I have to use a deformer lattice because of its complexity, so I've gone ahead and done that.

After making the lattice a softbody and giving it springs, I need to paint the GoalPP (the particles to which the springs are attached to) so that different parts flex differently. The object is set to a Goal =1 so that it maintains it's original shape.

So here comes the Catch-22! Because the lattice is an invisible object, I can't get the soft body paint to show what it's painting, and thus I'm stuck with the object stiff as a board! I need a way to paint different goal values onto it so it can wave but the durn thing won't show in the soft body paint tool. Any ideas?

Basically, I followed this tutorial, but applied it onto the object's deformer lattice:

http://www.aliaswavefront.com/en/Community/Learn/how_tos/dynamics/flag/index.html

Any help would be dearly appreciated!

bigfatMELon
08-10-2002, 01:48 AM
You aren't going to be able to paint weights on a lattice so far as I'm aware. You can still use the component editor to set softbody weight values, however.

If you know mel, you could paint weights onto a polygonal cube with the same divisional make up as the lattice and then programmatically transfer them to the lattice.

-jl

noisewar
08-10-2002, 02:31 AM
DOH =(

I was afraid I was going to have to do it that way...

Arg so close but so far away. Thanks anyways!

Malik
08-10-2002, 03:28 AM
You can also use the weightTool2.mel script from Hghend3d.com at http://highend3d.com/maya/mel/?group=melscripts&section=animation - its not quite a weight painter, but it sure beats heavy MEL scripting.

CGTalk Moderation
01-13-2006, 01: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.