[Bf-python] action / NLA api

Gilbert, Joseph jgilbert at tigr.ORG
Thu Nov 10 18:29:35 CET 2005


In a sense actions (which are the basis of the nla module) is really a
set of IPO curves describing a translation of the rest pose over time (1
IPO curve per bone).
It sounds like he want to add some sort of interpolation based on one or
more of the IPO curves in an action to match the starting pose
transformation of another animation curve.
It depends on how he will implement this. If it is a natural option or
something that needs to be set. If it is a 'settable' then it would seem
that it would become a property of Action such as
myAction.interpolateToNextAction(Action, boneName).

-----Original Message-----
From: bf-python-bounces at projects.blender.org
[mailto:bf-python-bounces at projects.blender.org] On Behalf Of Toni
Alatalo
Sent: Thursday, November 10, 2005 9:49 AM
To: Blender Foundation Python list
Subject: [Bf-python] action / NLA api

hi,

wanted to bring up the action / NLA api design again. previously, we've
had 
access to actions via the Armature.NLA submodule. as was discussed here 
earlier, this may be to change if/when actions become a more general
concept 
(with the upcoming introduction of IPO bags?)

back to the current usage of armatures/bones and actions, i was reminded
by 
this when Roland Hess ('harkyman') told yesterday about his idea for a
new 
NLA functionality to match pose positions between different actions
based on 
a selected bone. his example: "lets say you have two actions in NLA, one
for 
someone doing a backflip, and one for someone walking. The backflip
action 
ends five blender units behind the starting point. With a MatchMove
feature, 
you just point the next strip (the walk), to the backflip, and indicate
that 
you want to match it based on, say, the left foot. then, it translates
the 
poses of the walk Action so it lines up naturally with the finish of the

backflip action."

now, how would doing that be supported nicely by the API?

backflip.match(walk, l_foot) ? not really i guess, 'cause this is not
about 
the actions themselves but about how they are used with the strips in
NLA.

strip1 = Strip(character, backflip)
strip1.sta = 0
strip1.end = 50

strip2 = Strip(character, walk)
strip2.sta = 50

strip2.match(strip1, l_foot) 

?

.. might be more like it

~Toni
_______________________________________________
Bf-python mailing list
Bf-python at projects.blender.org
http://projects.blender.org/mailman/listinfo/bf-python



More information about the Bf-python mailing list