Notifications
Clear all

[Closed] Assigning progressive morphs via script

hey guys,

is there any way to assign progressive morph targets using maxscript?

maybe a mxs extension for this?

20 Replies

You just want to sequence a series of morph targets? There’s a fairly extensive access to the morpher modifier, so it should be possible…

EDIT: Are looking for the actual script to do it, or just if there is syntax to achieve it? If the former, I may be able to help out, but not until next week!

i’m looking for a way to implement this in a script i’m writing.

from looking at the mxs reference it looks like it isn’t possible though…

i did some research and found out that up until max 5 there was no mxs access to the morpher at all… only an extension written by di-o-matic… turns out this is what they integrated… into the core app, but i think it’s lacking access to progressive morphs

WM3_MC_BuildFromNode is the only function to assign a node to a channel, and it only takes one object

WM3_MC_GetTarget returns the object that’s assigned to a given morph channel… if you have progressive morphs on that channel it will only return the first target

btw i’m writing a script that relies on a common naming scheme for morph targets to setup the morpher automatically

for example the two morph targets ‘characterName_Eye-R-Close-[50]_Morph’ and ‘characterName_Eye-R-Close-[100]_Morph’ would both get assigned to the same channel using progressive morph

I’m starting to see your problem (just ran a test of my own!). I’ll get back to you!

Hmmm… i’m starting to think you’re right. I think and extension is the only way to wing this one.

On a side node, thanks for bringing this up! I hadn’t played with the maxscript for morphs much… it may prove very usueful in future! Sorry I couldn’t be any more help.

Thanks for looking into it erilaz

i have looked around some more and haven’t found an extension that does this. would be great if someone could write an extension for this… or better yet if they would ‘really’ implement morpher script access in R8

I had searched a lot for this some time back, but there doesn’t seem to be any way to go progresssive via script…
another restriction i found in progressive morphs is that u can load only 26 (or was that 27 ?)
morph targets…

shibu

thanks for the info aaaaCHoooo

another restriction i found in progressive morphs is that u can load only 26 (or was that 27 ?)

is that per channel?

u r welcome, Aearon
yes, per channel… and I checked it again, its 26 per channel.
A word of caution : Though it takes in 26 progressives, DONOT use all 26 , max crashes when you animate this morph channel. Use 25 instead to keep him happy.

Please post here if someone finds it otherwise… thanks
Shibu

well i guess 25 per channel is not much of a limitation for character animation, but i can imagine other uses for the morpher where it might turn into one

one more reason for the whole morpher to be revamped

Page 1 / 2