Scale animation and Key Optimizer

Colbey

01-02-2007 10:15:14

Hi, I've just been working with the CE version of the exporter and i'm trying to export an object with scale on, When i set the file with a key frame at 0, then a scaled up keyframe at 100 and export it i get funny results:

  1. <animation name="BOX_SCALE" loop="false" length="3.33333">
    <keyframe time="0">
    <position x="-146.899" y="0" z="42.4999" />
    <rotation w="-1" x="-0" y="-8.74228e-008" z="0" />
    <scale x="1" y="1" z="1" />
    </keyframe>
    <keyframe time="3.3">
    <position x="-146.899" y="0" z="42.4999" />
    <rotation w="-1" x="-0" y="-8.74228e-008" z="0" />
    <scale x="1" y="1" z="1" />
    </keyframe>
    <keyframe time="3.33333">
    <position x="-146.899" y="0" z="42.4999" />
    <rotation w="-1" x="-0" y="-8.74228e-008" z="0" />
    <scale x="3.38005" y="3.38005" z="3.38005" />
    </keyframe>
    </animation>[/list:u]

    all the other animations i have setup (for translations and rotations) have a keyframe every 2 frames and these are evenly spaced? it seems as if this is not picking up the scale animation correctly and just adding keyframes very close 2 the end giving the impression of the object 'popping' up to the larger size.

    The other issue i am having is with the key optimizer, when i try to change any of the values it pops up the maxscript error "-- Unknown property: "state" in undefined" and highlights the line " if adv_optimizer_mode.state == TRUE then (" within the maxscript....? any ideas why these would be happening?

Lioric

02-02-2007 15:44:14

Could you provide the scene or a test scene where this can be reproduced?

Several scale issues were fixed in the latest versions (and the anim optimizer settings too), and those fixes will be in the next CE update

Colbey

02-02-2007 15:54:50

yeah sure:

http://www.3dweedy.co.uk/forumstuff/Scale.zip

zip file containing the OSM etc.

when looking at it in the ofusion viewer it stays the same size from frames 0-99 then jumps to the final animation size on frame 100.

just to add i'm using CE version 1.6 to export from max 8.