[Bf-committers] FBX camera

Campbell Barton ideasman42 at gmail.com
Wed Nov 16 18:49:18 CET 2011


On Thu, Nov 17, 2011 at 4:47 AM, Campbell Barton <ideasman42 at gmail.com> wrote:
> On Thu, Nov 17, 2011 at 4:28 AM, Ejner Fergo <ejnersan at gmail.com> wrote:
>> Hi Campbell,
>>
>> Thank you for committing the patch!
>>
>> I've been looking more into the (local) rotation problem in Nuke &
>> Houdini. Turns out a small change is needed on line 404, but the
>> change is also needed for lamps, so posted the changes here:
>> http://www.pasteall.org/26478
>>
>> Basically Vector((0.0, 1.0, 0.0)) needs to be Vector((0.0, 0.0, 0.0)).
>
> This looks wrong, the vector is being used as an axis for another
> rotation matrix, passing a zero length axis to Matrix.Rotation
> probably just makes the matrix a unit matrix.

correction, Matrix.Rotation(rot, 3, Vector((0,0,0))) definitely gives
an identity matrix.


More information about the Bf-committers mailing list