View Full Version : Dynamic update with Maxscript / Wire Parameter

04 April 2008, 04:00 PM
I am working on a morph interface, where i can control my morphs with some sliders etc...

I use the wireparameter to connect the sliders and the morphs together. But i want something more complex than a simple connection between Slider.value and Morph.value.

for example, i want that my Morph.value is an average between Slider01.value and Slider02.value.

So in the wireparameter : Morph Value <-- connected with <-- Slider01.Value
i have written this :
(Value + $Slider02.value ) / 2

The problem is, that when i drag Slider01 my morph is updated dynamicly. But when i drag Slider02, the morph does not update dynamicly... it will only update when i click on the update button.

It seems that only the parameter wich is primary connected will have a dynamix update and all the other parameters in my maxscript line will not. This is not very nice to see in real time what effect have my sliders on my Character Morphs ^^

Is there a solution to make my Morphs Update dynamicly, depending on multiple parameters ? like sliders, the weather today or my Grandmama's mood ? :P
Maybe the wireparameter is not a good solution in this case ?

Thanks for advance ;)

04 April 2008, 11:29 AM
Look in the Maxscript Help file under How To - Practical examples - there is a tut' which does Morphing with sliders.

May be worth looking through this to see how they achieved their results and taking it from there....

04 April 2008, 11:18 AM
if you use the 'controller' property on the slider to bind to the morph channel controller, you wont have to worry about implementing the time change callback used in the tutorial, and you can dynamically connect the value on the rollout creation. that way, it will update the slider as the value changes, and vice versa. much simpler!

CGTalk Moderation
04 April 2008, 11:18 AM
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.