I have been fiddling around with some of the 3D code and currently looking to implement some animations with 3D objects (such as flipping animation, folding animation, dividing into parts and folding animation etc.)
Before I being coding/crafting each of these animations individually using vector mathematics and stuff, I wanted to ask if there’s a generic animation helper I could use to provide effects to my objects. Can tween addons be helpful in this? What are they used for?
I dont really understand why wouldnt you use 3ds max or something similar to make the animation for your objects and then import it with ofxAssimpModelLoader.
1-generic animation helper I could use to provide effects to my objects.
What type of effect? that changes geometry? visual effects?
2-Can tween addons be helpful in this? What are they used for?
I don’t know the addon but by its name it is supposed to calculate in-be-tween values:
They are used to calculate a values in between a set of other values established before hand by you.
Again, it would be important to know what effect your are looking for since that addons seems to be used for number and not for interpolation animation frames.
Have fun animating!
I’m going to take this opportunity for a shameless plug: if you are looking for a tweening / keyframing library, I’ve got one which has been my companion for a couple of days now, and is fairly feature - complete:
There are a couple of other libraries out there, most notably ofxTimeline, which is more centered around the concept of gui-enabled timelines, and shines if you’re not after generative animations and want fine-grained control over your timelines.
Also, have a look at http://ofxaddons.com - in the animation section.