PDA

View Full Version : turn sequence to morph targets


kubabuk
04-15-2008, 11:07 AM
Can you help me with turning a sequence of geometry to a morph object targets. What I am up for is to pick the first element (geo1) turn it to a morph object and append all of the consecutive objects (geo2, geo3 ...) as a targets. At the momment can't find a way to access morph object class. Is it supported in max script?

Thanks for any suggestions.
kuba

S-S
04-15-2008, 12:03 PM
Hi there. Morpher is a modifier. So:

tempMod = $.modifiers[1] (assuming you have morpher on top of modifier stack)
tempMod[1] -- morpher channel 1
tempMod[1][1].value -- first morph targets value


With

<boolean>WM3_MC_BuildFromNode <Morpher_Class>Morpher <integer>channel_index <geometry_class>target_object

..you can add a node as morph target


How to create targets you need is another matter, not related to morpher. You could use snapshot and take snapshots from different time...

Hope this helps!

Bobo
04-15-2008, 03:36 PM
Can you help me with turning a sequence of geometry to a morph object targets. What I am up for is to pick the first element (geo1) turn it to a morph object and append all of the consecutive objects (geo2, geo3 ...) as a targets. At the momment can't find a way to access morph object class. Is it supported in max script?

Thanks for any suggestions.
kuba

There are two types of Morphs in Max and both are supported by MAXScript (and documented, too). Since the Morpher modifier is limited in the number of channels you can load, you can either use multiple modifiers with consecutively keyframed targets, or look at the Barycentric Morph Controller and its Keys (which I typically use when I have to combine OBJ files imported from Maya for example). The BMC was the original Morph implementation in Max before Autodesk hired Harry Denholm and acquired the Morpher modifier in Max 3 which was a limited version of Ishani Graphics Mix plugin for Max 2. The BMC is trickier to control, but you can have as many targets as you want.

kubabuk
04-16-2008, 04:02 PM
Thanks Bobo for clearing out the difference, I knew morph modifier has some limitations but didn't know exactly what was it. Barycentric morph controler is exactly what I was looking for.

Cheers for help guys!

kuba

CGTalk Moderation
04-16-2008, 04:02 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.