Re: animation
Andreas Zehender <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kpovmodeler |
|---|---|
| Message-ID | <02071710440100.30813@wsl21> |
Hi! What I think would be the clearest solution is something similar to the media director animation system (the flash thing IIRC, my neighbour in my flat-sharing community, who is a media informatics student, had to use it). The animation is divided into several frames (I'm not sure if it is called frame, but that's not important at the moment). A frame means not a video frame but a part of the whole sequence. You can move forward and backward between the frames (it's a kind of state machine that modifies the animation behavior). Each object can have multiple scripts for each frame, that handle certain events: - onEnterFrame do some initialization, show/hide some objects, set the initial position - onLeaveFrame cleanup - onNextFrame modify the scene for the next _video_ frame, set the position, accelerate and change the speed, move an object forward, set it to a paths position etc. You can add local variables to the object, like position and speed etc if you need additional variables. You have access to created paths with position(s) direction(s) as described in a previous mail. There are some global variables like framesPerSecond, clock/time etc. All this will be displayed in a new kind of view where you can edit the script. I think everything should be made with scripting!!! Andreas -- -------------------------------------------------- Andreas Zehender, Dipl. Ing. (BA) Student, 10th semester computer science http://www.azweb.de [email protected] | [email protected] -------------------------------------------------- List archive and information: http://mail.kde.org/mailman/listinfo/kpovmodeler-devel