Re: [Plib-users] loading animation from ASE files
Brought to you by:
sjbaker
From: Chris P. <ch...@ze...> - 2003-05-12 19:57:01
|
Thanks for responding so quickly. I neglected to say that I was seeing info in the ASE file that appeared to be about the animation sequence. Here's what it looks like. Near the top of the file, I see this info: *SCENE { *SCENE_FILENAME "Iris17.max" *SCENE_FIRSTFRAME 0 *SCENE_LASTFRAME 120 *SCENE_FRAMESPEED 30 *SCENE_TICKSPERFRAME 160 *SCENE_BACKGROUND_STATIC 0.00000000 0.00000000 0.00000000 *SCENE_AMBIENT_STATIC 0.00000000 0.00000000 0.00000000 } and for each object, I see this kind of info: *TM_ANIMATION { *NODE_NAME "Box07" *CONTROL_ROT_TCB { *CONTROL_TCB_ROT_KEY 0 0.00000000 0.00000000 -1.00000000 2.09439516 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 *CONTROL_TCB_ROT_KEY 19200 -0.08040479 -0.13120875 -0.98808873 1.00492001 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 } } 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? 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? Thanks again! -Chris SkyFlash wrote > You got to use the ASE exporter within 3d studio and export the > animation too, > then you can load it into PLIB. > > SkyFlash > > > > I've been studying PLIB/SSG for about a week now and > > intend on using it for a game I'm working on. I was > > able to get some models from 3DStudio to load in the > > ascii export format (.ASE) and display a scene created > > from some models. > > > > That part is all good. I'd like to use animations > > created from 3DStudio and the file loader description > > page said that animation is supported in the ASE format, > > but when I used the print() method (detail of 4), I was > > not able to find any animation info (several objects > > rotating in different directions in my test file). > > > > Can anyone give me any pointers on how to access > > animation data from an ASE file? Is that data ignored > > or does it have to be formatted some special way from > > within 3DStudio before it is exported? > > > > Many thanks for any help! > > > > -Chris |