AnimationSerializer
Simple serializer for animations
Welcome to the new Ogre Wiki!
If you haven't done so already, be sure to visit the Wiki Portal to read about how the wiki works. Especially the Ogre Wiki Overview page.
If you haven't done so already, be sure to visit the Wiki Portal to read about how the wiki works. Especially the Ogre Wiki Overview page.
Introduction
This is a simple serializer to save and load an animation (animationtrack) to and from disk in binary format.
It was created for use with the Camcorder camera motion recorder, but could be used for any animationtrack keyframe based animation.
Code
Usage
Saving an animation
AnimationSerializer animSerializer; animSerializer.exportAnimation(animation, "theAnimation.anim");
Loading an animation
AnimationSerializer animSerializer; Animation* anim = animSerializer.importAnimation("theAnimation.anim");
See Also
|
Contributors to this page: jacmoe
.
Page last modified on Saturday 31 of July, 2010 12:52:17 UTC by jacmoe
.
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.
Sidebar
Last changes
- Hydrax
- QtOgre
- SoC2012 Complete the DirectX 11 render system
- SoC2012 Volume Rendering with LOD aimed at terrain
- SoC2012 Improve and Demo the Terrain System
- Mogre and WPF
- SoC2012 Implementation of Off-Screen Particles
- Advanced Ogre Framework
- Ogre overlays using Qt
- Architecture and Design in Games
Search box
Online users
55
online users

