Animations?
4 posters
Animations?
Hi all,
What do you guys usually use for timers?
Are there any examples of the keyframe animation features in SIO2?
Best,
-joshua
What do you guys usually use for timers?
Are there any examples of the keyframe animation features in SIO2?
Best,
-joshua
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: Animations?
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
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- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: Animations?
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
Best,
Matt
Re: Animations?
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
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- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: Animations?
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
Best,
Matt
Re: Animations?
It's so good to have animations in next release!
And do you have any idea about when will the next version being released?
again!
mkevin- Posts : 3
Join date : 2008-10-18
Re: Animations?
Argh! Now that I have written my own model format/converter, interpolation, rendering,... ;-) Looking forward to seeing the new animation system.
Best,
Matt
Best,
Matt
Similar topics
» Animations
» Scene Graph
» animations...
» What's the best way of achieve animations?
» Slow Physics Animations
» Scene Graph
» animations...
» What's the best way of achieve animations?
» Slow Physics Animations
Permissions in this forum:
You cannot reply to topics in this forum