PDA

View Full Version : Resetting parameter value with a single click.


czarekkwasny
04-07-2008, 05:49 PM
Dear XSI Users,

I'm a novice in regards of XSI, but love the application very much. I'm coming from 3ds max. There's a beautiful option there to set the value to 0 with the right click on the spinner. It makes especially morph animation very convenient and fast. :) It's like you test the parameter, hit a desired value, just to set it to zero after next few frames. Is there any way to obtain a similar functionality in XSI? I was wondering if right click on XSI's sliders could do similar... I doubt this could be done with script, but maybe there's some chance? I've heard of synoptic panel. Maybe it's possible to script one with such functionality. Please tell your opinions. That would be fantastic to hear.

Cheers!

thiago
04-07-2008, 07:30 PM
Totally possible with script of course.
The thing is, in 3dsmax it sets to zero isn't it?

But 0, sometimes isn't the "reset" value. For example scale = 0 isn't like a reseted scale.
A reseted scale would be sclx=1,scly=1,sclz=1.
Or a cube length would be "8" at creation time, and not zero.

So a "reset" is available in XSI PPGs, it's this little button (look attached image).
The only problem is that it will "reset" to the value that the PPG was when you opened it.
So if you change something and close, next time the "reset" will be the current value and not the value at creation time.

So for transformations, etc..
select what you want to reset and in the transform panel > reset (scaling,rotation,translation) or reset all transforms.

if your value of reset is different from "0", you can set your "neutral pose" (on the same panel).
So lets say your bone rotation "reset pose" is 90 degrees in X, and when you reset you want it to go to 90 degres... So you set a neutral pose at 90 degrees, and your local transformation will be "0" when reseted (even if the global is 90 degrees, the local will be 0).

Remember all this is under "kinematics" of each object. Theres a neutral pose there.

For reset of parameters... I'll see if I can make a script to read the SPDL defaults and put it back on the parameter.

czarekkwasny
04-08-2008, 03:49 AM
Wow!

Thank you for this comprehensive explaination! :) I'm impressed! It's exactly resetting parameters I'm looking for. The best example would be Shape Manager with all these sliders set to zero by default. If you'd be able to do the script, that would be fantastic! :) I think this functionality would be useful in many scenarios like resetting the weight of a bone or while animating parameters of an object. I wonder which option would work better: setting slider to 0 or to a default value. While resetting scale to 1 is totally correct, being able to put it to zero with a single click would allow to make tagged points plenar in certain axis very fast. So some interesting functionality also here. If you could give a try to both of them, that would be great. :)

Thank you for the answer!