Results 1 to 4 of 4

Thread: Record Pivot Rotation Question | Export to Game Engine

  1. #1
    Not to scale BlueApple's Avatar
    Join Date
    Nov 2005
    Location
    Los Estados Unidos
    Posts
    1,026

    Record Pivot Rotation Question | Export to Game Engine

    A friend of mine is trying to write an exporter to get the bones out of LightWave and is having trouble. Specifically, using Record Pivot Rotation zeroes out the bone's rotation and is making it so he can't determine the bone's orientation.

    Does LightWave store the original orientation of the bone prior to using Record Pivot Rotation? Is there an easy way to recover this information?

    Any help is appreciated.
    Adam Martin
    my portfolio
    Mac Pro 2x3Ghz Dual-Core Intel | 8 Gb RAM | OS 10.6.8 | ATI Radeon X1900 XT

  2. #2
    Not to scale BlueApple's Avatar
    Join Date
    Nov 2005
    Location
    Los Estados Unidos
    Posts
    1,026
    Apologies, but I had intended to place this in the General Support forum
    Adam Martin
    my portfolio
    Mac Pro 2x3Ghz Dual-Core Intel | 8 Gb RAM | OS 10.6.8 | ATI Radeon X1900 XT

  3. #3
    Code Muppet evenflcw's Avatar
    Join Date
    Feb 2003
    Location
    Stockholm, Sweden
    Posts
    2,642
    I'm not sure but it seems like it should be a simple fix. The pivot basically just defines a static offset. It can be read an thus subtracted from each keyframed value. Although I would think it might throw off some expressions and similar if they are used in such a way that they are dependent on where the channels zeroes out. BUt I figure everything is keyed/baked for export?

    Does LightWave store the original orientation of the bone prior to using Record Pivot Rotation? Is there an easy way to recover this information?
    Easiest way to see what happens is just to save two scenes, one RPR'ed and one not, and compare. From the looks of it, if you RPR, all keyframed motion values are offset by the recorded value (ie NOT "stored with original rotation before rpr"). The internals that you get when accessing the motion data through SDK/LS could be different from what's in the LWS, but that would be unlikely (and annoying). But do compare (once).

    PS. Personally I would have posted in the developer section. We get so few posts we shiver with excitement everytime there is a new one.
    Last edited by evenflcw; 07-20-2009 at 05:30 PM.

  4. #4
    Not to scale BlueApple's Avatar
    Join Date
    Nov 2005
    Location
    Los Estados Unidos
    Posts
    1,026
    Thanks for your reply. My friend and I will check this out in the morning.

    Quote Originally Posted by evenflcw View Post
    PS. Personally I would have posted in the developer section. We get so few posts we shiver with excitement everytime there is a new one.
    Future inquiries will be posted there, despite the threat of excitement induced mass shivering
    Adam Martin
    my portfolio
    Mac Pro 2x3Ghz Dual-Core Intel | 8 Gb RAM | OS 10.6.8 | ATI Radeon X1900 XT

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •