Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
for animated scene nodes how do i query for the currently displayed animation frame and subsequently how do i set the model "frozen" in a specific animation frame it is for a 2d animation tool i am making thanks Douwe |
||||
|
You cant do that as far as I know. Just create a new animation frame set in the animation editor name to something different and just run that animation to get to the position you want or just have the animation position only (ie single frame) and just blend to that position from any other animation - this is my favourite works best with largish movements like crouch etc. |
||||
|
Hi, shanks for answerring: my tool is for taking formalized 2d screenshots of a 3d model. this will make game assets much lighter when going from : animated 3d model --> 2d 8 directional animated character there is a js function timestamp() that i will try to use i hope to stop the animation at a desired animation frame, so I can take a optimized reproducible screenshot the cc manual is not very detailed here. i also tried with video recording, converted to images, got huge pile of partial damaged images. to much work |
||||
|
as @Robo has mentioned You can use it directly in the editor you can go to the animation editor and can create new animations with single frames and can use the PrintScreen button to capture screenshots and can then use any image editor to save the image. that will give you an individual image sequence for your animation. but it can be a lot of work if your animation has too many frames. by the way, there are properties like "StartFrame", "EndFrame", "CurrentFrameNr" in the android and windows source of the app If Nikoo will extend the javascript API by providing access to those properties. |
||||
|
I can think of a way to do what you want - but it's probably more wok than it's worth. Import your animation to blender. Add a piano-roll with individual keys (one for each frame) somewhere near the 3D model's axis. Import the animated 3D model (with piano-roll) into coppercube. Attach a different node to each animated joint of the piano roll. Now make a small 3D plane with "on proximity events". Move this plane across the piano-roll in time with the animation (start of animation is at position of piano-key one, end of animation is at last piano key.) The small 3D plane is now your "frame counter": on proximity 3Dplane/piano-key1, change display: animation frame 1. on proximity 3Dplane/piano-key2, change display: animation frame 2. etc. |
||||
|
Hmm Interesting and good answers will research them Thanks |
|