CAR format

Here is a little info on the animation portion of .car files, should be valid for scaling, rotation, and translation. I haven’t looked at what happens when you edit in the VM, use modifiers, or animate shaders.

   inpr {

     nm "Sphere"

     AnTr 1

     Cloa 1

     Cast 1

     Catc 0

     Show 1

     Anim 1

     open 1

     amet {

     keyf {

       xdat {

       po 3.58156,-9.052078,3

       }

       isEx 0

       }

  •     }
  • Ok, the list on the left is a non-animated Sphere (this section is down towards the bottom of the file). Note where it says keyf, then xdat, then po # # #. This is the position of the Sphere. Since it isn’t animated, this is the ONLY keyframe. Note the isEx 0, which is the end of the keyframe section.

    Now take a look at the list on the right. keyf, xdat, po # # #. Here is the tricky part- that position is the position of the  Sphere where (when?) the scrubber is when the file was saved- NOT at time 0.

    Now we go to APos, XCOO, and a time. The time is 0- and then we have a qfix #. This says that at time 0, the X coordinate is #. This is followed by tweener info, and then more time # sections (keyframes) and the X coordinates at that time.

    I hacked the Y and Z sections out to make it fit on the page. There can also be rotation and scale segments that look similar (left as an exercise for the reader).

     

    Now, what is this good for?? Well, right now there isn’t an easy way to clean out keyframes back to frame 0. But a quick pass with a text editor and you can get there.

    1) Open your CS file.

    2) Move the scrubber to time 0.

    3) Close the file.

    4) MAKE A BACKUP!!! (miss a { or } and you corrupt the file)

    5) Open the file in a text editor.

    6) Find the keyframe data and hack it all out. (leave the isEx)

    7) Save and close, re-open in CS. Voila!!

     

         inpr {

         nm "Sphere"

         AnTr 1

         Cloa 1

         Cast 1

         Catc 0

         Show 1

         Anim 1

         open 1

         amet {

         keyf {

           xdat {

           po 10,20,3

           APos {

             XCOO {

             time 0

             qfix 3.58156

             twee {

               line {

               EZIO 0,1

               isEx 1

               }

               }

             time 4500

             qfix 5

             twee {

               bezi {

               EZIO 0,1

               TNIO 0.333333,0.666667

               isEx 1

               }

               }

             time 8625

             qfix 10

             twee {

               bezi {

               EZIO 0,1

               TNIO 0.333333,0.666667

               isEx 1

               }

               }

             time 10725

             qfix 10

             twee {

               MDli {

               MODE 1332769841

               TMOD 1330664500

               SQUZ 0

               LWLM "1800"

               UPLM "3600"

               FRPS "24"

               FRAM "143"

               MTIC "10725"

               isEx 1

               }

               }

             }

           }

           isEx 0

           }

    [Shoestring Graphics] [Shoestring Shaders] [Shoestring Toolbox] [Gallery] [Links] [Privacy & Contact] [Tutorials] [VM Lathe] [VM Extrude] [CAR format] [Eyeball] [MultiCh Mixer] [CBR Preview] [Heat Waves] [Other Stuff]