PDA

View Full Version : FFD to Polygon - Morphing FFD with Morph Tags


rui_mac
08-29-2010, 10:16 PM
I love the workflow of the morph tag but it is annoying that it doesn't work with FFDs.
So, I created a little script to deal with that. The script is called FFD to Polygon and what it does is to create a polygonal object with the same structure as the FFD. It also adds a COFFEE script to the FFD object that transfers all the point coordinates of the polygonal stand-in to the vertexes of the FFD.
So, you just have to animate/morph the polygonal object and the FFD will deform accordingly.
Just make sure you name your FFD objects coherently because the polygonal stand-in will get its name from the FFD name. It will try to add numbers to the name to make sure there are no duplicates but the best way to assure that is to make sure that each FFD you create has a solid, individual name.
If you later change the name of the polygonal stand-in, you need to adjust the COFFEE code of the COFFEE tag that was added to the FFD object.
Oh, I usually make the polygonal stand-in object invisible in the editor and in the render. Well, at least in the render ;-)
I hope you find this script useful.

Rui Batista

nimpsy
08-30-2010, 03:57 AM
Thanks! I'm sure this will come in handy.

rui_mac
08-30-2010, 03:36 PM
As an example of that is possible with this, I created a couple of files.
I hope they are useful to check out the potential of this script.

Rui Batista

cubeman
08-30-2010, 03:56 PM
Very useful script. Than you, Rui.

Cheers, Cube

synesthetic
08-30-2010, 04:46 PM
hi,

i like the compactness of this workaround and the possibilities i can't even think of yet.
the idea of involving clothdynamics is very nice. ^^

nimpsy
08-30-2010, 09:02 PM
I thought I would share what I whipped up last night using RUI's script.
http://vimeo.com/14556297

rui_mac
08-30-2010, 09:09 PM
It looks great :)
I'm so glad that my script is getting used for such nice stuff :)

Rui Batista

CGTalk Moderation
08-30-2010, 09:09 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.