Animations?

View previous topic View next topic Go down

Animations?

Post  meteors on Tue Nov 18, 2008 7:14 am

Hi all,

What do you guys usually use for timers?

Are there any examples of the keyframe animation features in SIO2?


Best,
-joshua
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: Animations?

Post  meteors on Tue Nov 18, 2008 7:16 am

Regarding the keyframe animation, I just found this post:

http://forum.sio2interactive.com/about-the-sdk-f1/keyframe-animation-t60.htm?highlight=animation

So the question remains about what kind of timer would be good for *simple* animations.


Best,
-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: Animations?

Post  matt on Tue Nov 18, 2008 12:38 pm

What exactly do you mean with "timer"? sio2 offers some methods and attributes for time measurements. Personally, I use the SIO2window.d_time attribute (float, seconds) and in some cases sio2GetElapsedTime() (unsigned int, milliseconds since 1/1/1970 or so).

Best,
Matt

matt

Posts : 155
Join date : 2008-09-30

View user profile http://elfrun.net

Back to top Go down

Re: Animations?

Post  meteors on Tue Nov 18, 2008 12:41 pm

Hey Matt,

How about some type of timer class which does a callback?

I'm spoiled from working with Qt's excellent QTimer classes.


Best,
-joshua
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: Animations?

Post  matt on Tue Nov 18, 2008 1:09 pm

You won't find a class since SIO2 is pure C (except external libs like Bullet). Still, writing an own one isn't a big deal, I guess, and adding a C-like structure with a C function pointer for exactly this purpose would be a nice addition to SIO2 indeed.

Best,
Matt

matt

Posts : 155
Join date : 2008-09-30

View user profile http://elfrun.net

Back to top Go down

Re: Animations?

Post  sio2interactive on Wed Nov 19, 2008 12:13 am

Definitely... you get it in the next release Wink
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Animations?

Post  mkevin on Thu Nov 20, 2008 3:43 am

cheers

It's so good to have animations in next release!

And do you have any idea about when will the next version being released?



cheers again!

mkevin

Posts : 3
Join date : 2008-10-18

View user profile

Back to top Go down

Re: Animations?

Post  matt on Thu Nov 20, 2008 3:47 am

Argh! Now that I have written my own model format/converter, interpolation, rendering,... ;-) Looking forward to seeing the new animation system.

Best,
Matt

matt

Posts : 155
Join date : 2008-09-30

View user profile http://elfrun.net

Back to top Go down

Re: Animations?

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum