Synfig Project Forum

Forums for Synfig Project
It is currently Thu May 23, 2013 6:02 am

All times are UTC - 4 hours [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Time display
PostPosted: Fri Oct 02, 2009 9:10 am 
Offline

Joined: Tue Sep 29, 2009 11:57 am
Posts: 11
Hi again!

When synching speech audio with Synfig I find it difficult to predict where to animate because the audio software is using time only and Synfig is using a combination of time and frames. It's also a bit confusing when you want to know the total number of frames at a time.

Is there a way to make Synfig display time like "1m 4.08s 1537f " where it displays the exact time and frame number from start? I have to do too much adding and subtracting in my head right now. :(

Thanks!


Top
 Profile  
 
 Post subject: Re: Time display
PostPosted: Fri Oct 02, 2009 9:46 am 
Offline

Joined: Wed Jun 18, 2008 4:48 am
Posts: 43
Not really sure how it would affect animation or if it would help at all but you could set the framerate to 10 or 100 to give accuracy of milliseconds so as to set up keyframes and then change framerate back to what you had

_________________
I currently Synfig and then I Ren'py,I wish I could Construct but its not Linuxed yet,I Blend some and for my next project I'll Intensty the Syntensty


Top
 Profile  
 
 Post subject: Re: Time display
PostPosted: Fri Oct 02, 2009 9:48 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4130
Location: Spain
It is possible to show only frames or only time or time plus frames in the range of one second. At the moment it is not possible to show time and total frames at the same widget. Probably a scond widget will be easier for implement.
Maybe it can be added in the future. I cannot promise.
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: Time display
PostPosted: Fri Oct 02, 2009 10:51 am 
Offline

Joined: Tue Sep 29, 2009 11:57 am
Posts: 11
Hehe! Here's a test, I just wanted to prove a point to myself, all material is made by me using only free software. Yay! :)

http://www.youtube.com/watch?v=GdvKMnFZb80


Top
 Profile  
 
 Post subject: Re: Time display
PostPosted: Fri Oct 02, 2009 12:11 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4130
Location: Spain
Aha! cool!. First step is the most difficult!.

I have a workaround for the special feature request you have pointed out. You can display the current frame in the canvas using a convert type for a text parameter.

Load the file attached and see how it works:


Attachments:
File comment: Source file.
frames.sifz [785 Bytes]
Downloaded 57 times
File comment: Screenshot showing the convert type and the frame counter in the canvas
Captura de pantalla.png
Captura de pantalla.png [ 68.22 KiB | Viewed 1065 times ]

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D
Top
 Profile  
 
 Post subject: Re: Time display
PostPosted: Fri Oct 02, 2009 5:37 pm 
Offline

Joined: Tue Sep 29, 2009 11:57 am
Posts: 11
Hey, nice!

But where does the frames value node come from? Is it possible to see from where a value node was exported?

Also, I can't get a higher resolution on the time than whole seconds, that's where the problem is, many times I need to animate 0.3s, so I have to convert frames into fractions of a second.


Top
 Profile  
 
 Post subject: Re: Time display
PostPosted: Fri Oct 02, 2009 6:47 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 21, 2009 2:36 pm
Posts: 608
Location: Sweden.
kriller wrote:
...Also, I can't get a higher resolution on the time than whole seconds, that's where the problem is, many times I need to animate 0.3s, so I have to convert frames into fractions of a second.


In animation you think and work with frames. It's the natural way of counting since you got the frames displayed, scrub forward a little bit and you got 4 frames, easy too see and easy to measure. When working with frames fractions of seconds like 0.3 doesn't say anything. it's abstract.

That said I'm sure you can add some equation to genetes on-screen counter to do what you want, I'm just not good enough with math to show you how. (btw, great tip genete!, very useful w. frame-counter in animatics and such).

_________________
www.rylanderanimation.se
Synfig scripts, etc.


Top
 Profile  
 
 Post subject: Re: Time display
PostPosted: Fri Oct 02, 2009 7:24 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4130
Location: Spain
Quote:
But where does the frames value node come from? Is it possible to see from where a value node was exported?


See this image:
Attachment:
Pantallazo-Params.png
Pantallazo-Params.png [ 48.97 KiB | Viewed 1039 times ]

You can see the text parameter expanded:
The text parameter is a convert type from a Joined list where the first argument is a string from a real number. That real number comes from a linear convert type where the linear rate is 24 (units per second) and the offset is zero.
Perhaps reading the http://www.synfig.com/wiki/Convert page can help you about valuenodes and the convert types.

So the engine is in the linear convert type.
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: Time display
PostPosted: Fri Oct 02, 2009 8:18 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 7:23 pm
Posts: 970
Location: West Coast USA
I seem to remember that there is a environment variable to display the frame number in a text layer without having to do the convert. It's in the Prologue source code if you want to take a look at that. I'll try and remember to look it up for you tonight.

Chris


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 4 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group