FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Animations?

4 posters

Go down

Animations? Empty Animations?

Post  meteors 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
meteors
meteors

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

Back to top Go down

Animations? Empty Re: Animations?

Post  meteors 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
meteors
meteors

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

Back to top Go down

Animations? Empty Re: Animations?

Post  matt 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

http://elfrun.net

Back to top Go down

Animations? Empty Re: Animations?

Post  meteors 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
meteors
meteors

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

Back to top Go down

Animations? Empty Re: Animations?

Post  matt 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

http://elfrun.net

Back to top Go down

Animations? Empty Re: Animations?

Post  sio2interactive Wed Nov 19, 2008 12:13 am

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

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

http://sio2interactive.com

Back to top Go down

Animations? Empty Re: Animations?

Post  mkevin 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

Back to top Go down

Animations? Empty Re: Animations?

Post  matt 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

http://elfrun.net

Back to top Go down

Animations? Empty Re: Animations?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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