RE: [Plib-users] loading animation from ASE files
Brought to you by:
sjbaker
From: SkyFlash <sky...@ch...> - 2003-05-13 09:39:20
|
> So... is this type of animation node not recognized by SSG, > or did I just not see the expected data in the print() > output? and, if it really did get loaded, how do I find it? > If this animation data is not appropriate, how do I export > the right kind of data? Ok, here is a pic of the settings we use to export: http://www.ralf-mengwasser.de/files/aseexport.jpg Well, I am not an expert by any means, but that definitely looks different than the animations in my ASE files. Is that transform animation keys? I don't think that works, I am exporting it too, but our usual animations or all mesh based, so "animated mesh" is really what you want I think. > I assume, I'll have to attach the object below an > ssgTimedSelector in order to control it. Though, I'd rather > have it work more like the way the Tween controller operates > and control any transformations smoothly between the > animation keys. :) Is that possible, or will I have to go > digging in the library to make changes? No thats not possible, but yes Id like that too. :P Thats like the most pressing feature missing, there may be a trick or a workaround though... I wouldnt use ssgTimedSelector though. I used that as well at first because I thought its an easy way to control the animations, but in fact, its not. Its not even working right. The ssgTimedSelector only works if you have it contain subnodes that contain the whole objects animation frames. Now, try creating a basic robot by placing a box as head, a box as body and two boxes as legs and then animate it and try to load it into PLIB. Look at the structure it has. It SHOULD have one parent ssgTimedSelector node and then the anim frames below that. Well, it won't, due to the ASE loader. In fact, it will be probably loaded exactly like you don't want it. But be your own judge. :P Use the ssgSelector and write your own animation package using it, its much better and faster. Be aware it will contain recursive code, look at the examples. |