 |
Jumpin' through animation states
Started by xorry at 07-08-2008 11:34. Topic has 3 replies.
|
|
07-08-2008, 11:34
|
xorry
Joined on 03-20-2007
Posts 27
|
Jumpin' through animation states
|
|
|
|
|
Hello there,
I'm working on a presentation projekt, which consists of classical 2D-slides, some 3D-Animations and camera fly-troughs. I've decided not to use a presenter node, because i think it's difficult to fully integrate slide-nodes into main world camera (or may be i don't know something). Instead I've animated everething as one long animation with soft and hard states. I've connected "next" and "prew" events of the main animation to the keys, which enables to move through the states smothly. But for emergency cases i need to jump through the states back and forth, in order e.g. to find a certain slide in the presentation. Animation control enables you to jump to Present, End or Custom State, but one can't cycle through all of them them.
Thanx in advance
|
|
|
|
|
Report
|
|
|
|
07-08-2008, 15:19
|
The Krix

Joined on 08-22-2007
Dubai
Posts 134
|
Re: Jumpin' through animation states
|
|
|
|
|
You can use the Slide Manager to solve your scenario. In the Slide Manager world container you have to place Pivot nodes which serve as placeholders for the actual slides. Point the world camera at these pivots and then select both that world animation state and the corresponding pivot point in the slide properties. THen you will be able to fly through your world and slides will be displayed at the correct position.
Now in your case you can still use your scene. You need to add additional keyframe animation control methods so you can jump around in your logic. Open the Custom Model dialog editor for your main keyframe animation node (lower left in the Property Editor). Add as many methods as you need to control the "jumping" through your animation. Once you close the Custom Model DIalog you will have new control methods. These you have to add to the animation logic. There are two commands in the logic - Play Animation and Jump. The small symbols at the beginning and at the end of each connection between States in the Logic correspond to Play Animation commands. The two default ones are Next and Prev. The Jump method is always on top of States. The default methods Begin, Present and End are there from the start and can be used by defining a State as the Begin State for example. If you want your own Jump control method than simply drag and drop one of the new methods you created ONTO a State in the State logic. A dot will be added on the State in the same color as the one of the method in the Property Editor. By triggering this method the logic will now jump to that state. You can use as many as you want.
Krix
|
|
|
|
|
Report
|
|
|
|
07-09-2008, 10:58
|
xorry
Joined on 03-20-2007
Posts 27
|
Re: Jumpin' through animation states
|
|
|
|
|
Thank you, i thought about custom methods, but the problem is that how i cycle through them? I know, you can assign an event (e.g. key-down) to a custom method, but it will triger only this custom method. In case, when i want to cycle through custom methods with cursor keys it won't work.
And one question about Slide-Manager: is it possible to control/animate world node camera from within the slide nodes?
|
|
|
|
|
Report
|
|
|
|
07-09-2008, 11:50
|
xorry
Joined on 03-20-2007
Posts 27
|
Re: Jumpin' through animation states
|
|
|
|
|
:D:D Man, I've got it. You can cycle through custom methods with cursor keys! I've created an extra animation node and drag n' dropped all the custom methods of the main animation into it. Then i placed the key-frames with hard states for each custom method along the time line and added keyboard binding to the "next" and "prev" events of this animation. It works like a charm. I would say, that Ventuz and its node based system could be really flexible.
|
|
|
|
|
Report
|
|
|
|
|
 |