[Bf-python] setRoll

Gilbert, Joseph jgilbert at tigr.org
Fri Oct 22 19:32:04 CEST 2004


setRoll() affects a bone in it's rest pose. I'm not sure about editmode
rolls on bones. 

-----Original Message-----
From: bf-python-bounces at projects.blender.org
[mailto:bf-python-bounces at projects.blender.org] On Behalf Of Martin
Poirier
Sent: Friday, October 22, 2004 1:09 PM
To: Blender Foundation Python list
Subject: RE: [Bf-python] setRoll

Wait. Are we talking about edit mode or pose mode roll
here? Cause edit mode rolls doesn't seem to be
additive (as far as the Properties panel says). And as
far as I know, pose mode doesn't use the roll except
to define the base pose.

--- "Gilbert, Joseph" <jgilbert at tigr.org> wrote:

> setRoll is broken and needs to be fixed. All rolls
> are localspace to the
> parent bone. However this is a problem. If a bone
> has a roll of 20 and
> it's child has a roll of 20 the actual roll of the
> parent is 20 and the
> actual roll of the child is 40.  If you ask what the
> roll is of the
> child it will return 20.  I was working on this a
> while back but it is
> difficult to solve internally owing to the way that
> bone's are setup.
> They are stored as a axis/angle and then are
> transformed to a matrix for
> writing to the screen. What is needed is some code
> to deconstruct the
> parent/child matrix of a bone to recreate the
> worldspace axis/angle.
> With this code you should be able to deal with
> worldspace/localspace
> rolls however, this is not completed yet.
> 
> -----Original Message-----
> From: bf-python-bounces at projects.blender.org
> [mailto:bf-python-bounces at projects.blender.org] On
> Behalf Of Martin
> Poirier
> Sent: Friday, October 22, 2004 6:44 AM
> To: Blender Foundation Python list
> Subject: Re: [Bf-python] setRoll
> 
> How would you define worldspace roll?
> 
> Roll is along the local Y axis of the bones, so it
> seems always local to me...
> 
> Martin
> 
> --- Tom Musgrove <tommusgrove__ at hotmail.com> wrote:
> 
> > It might be nice to change
> > 
> > setRoll(roll)
> > 
> > to
> > 
> > setRoll(roll, space ='localspace')
> > 
> > 
> > and have the option of using worldspace as well,
> > 
> > Tom M.
> > LetterRip
> > 
> >
>
_________________________________________________________________
> > Express yourself instantly with MSN Messenger!
> > Download today - it's FREE! 
> >
>
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> > 
> > _______________________________________________
> > Bf-python mailing list
> > Bf-python at projects.blender.org
> >
>
http://projects.blender.org/mailman/listinfo/bf-python
> > 
> 
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We
> finish.
> http://promotions.yahoo.com/new_mail 
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
>
http://projects.blender.org/mailman/listinfo/bf-python
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
>
http://projects.blender.org/mailman/listinfo/bf-python
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
_______________________________________________
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