A question of setDrivenKeyframe!

176 views
Skip to first unread message

seeks

unread,
Dec 19, 2013, 12:32:04 PM12/19/13
to python_in...@googlegroups.com
Hi guys:
When I was on the scale of an object when multiple setdrivenkey, values automatically into a 2, but I don't have to set this value, I don't know where is the problem, you think this is Maya bug? I'm afraid I didn't expressed very clearly, I attach a picture and a maya2013 file.. Now I just found animCurveUU appears superimposed, didn't know if other animcurve would like this.
Thanks for help!
setdriverkeyframe.png
setDriverkeyframe.ma

Eduardo Grana

unread,
Dec 19, 2013, 12:43:40 PM12/19/13
to python_in...@googlegroups.com
Hello Seeks,

May be this is beacause of the blendweighted node, since it
performs a weighted sum of its inputs to compute the output.
output = input(0) * weight(0) + input(1) * weight(1) + ...   

This works fine with atributes like translate and rotate, but not so well with scale.
Maybe you can adjust the weight attribute of the indices connected to scale attributes
to 1/ <number of inputs to the scale>, in order to get 1 as the overal sum.

Hope this helps! 
Cheers,
Eduardo


--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1e663088-3b27-45c6-9e8b-a07b2a379ff6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Eduardo Graña
www.eduardograna.com.ar

seeks

unread,
Dec 19, 2013, 1:00:45 PM12/19/13
to python_in...@googlegroups.com
It seems I can only remove scale animCurveUU, after removing the problem is not too large. Haha, I'm writing a script about facial SDK, so use it. Thanks again!

seeks

unread,
Dec 19, 2013, 1:11:49 PM12/19/13
to python_in...@googlegroups.com
When I tested, I found another animCurve will have the same problem, I guess I have to deal with that, if you have any good suggestions, please let me know, thanks!
Reply all
Reply to author
Forward
0 new messages