Basi per l'Animazione

From Synfig Studio :: Documentation
Jump to: navigation, search
Languages Language: 

English • Deutsch • español • suomi • français • italiano • Nederlands • português • română • русский • 中文(中国大陆)‎

Warning!

This page contains outdated information.

The release of Synfig Studio 0.64.0 introduced new terminology and this translated page needs to be updated according to original English text.

You can help updating this page - see instructions here. Thank you!

warning end


Navigation Navigation:  <<Manuale>>

Introduzione

Creare un'animazione in Synfig Studio è molto facile. Significa fondamentalmente modificare un disegno — è sufficiente creare la prima fase e ultima fase di una variazione, e Synfig si occuperà dei passi intermedi.

Diamo un'occhiata ad un semplice esempio. Consideriamo una luce in movimento come quella della barra anteriore di Supercar. Realismo a parte, realizziamo un cerchio con movimento da sinistra a destra e ritorno. In altre parole, dobbiamo eseguire tre 'passi' o 'fasi':

  1. Il cerchio è a sinistra.
  2. Il cerchio è a destra.
  3. Il cerchio è ritornato a sinistra.

Impostazione dell'area di lavoro

Partiamo. Avvia Synfig Studio. Un nuovo file verrà automaticamente generato. Clicca il menù 'simbolo' [►] (tra i righelli orizzontale e verticale, nell'angolo in alto a sinistra della tela), poi seleziona "Edita → Proprietà". Apparirà un dialogo per le proprietà della tela.

Definisci un nome e una descrizione per la tela, poi clicca "Applica" (non premere ancora "OK" — non abbiamo ancora terminato con il dialogo Proprietà). Vai sull'etichetta "Tempo" e ricordati di editare "Tempo Finale". Cambia "5s" in "2s" — così la tua animazione durerà 2 secondi.

Dialogo Proprietà Tela

Ora disegna un semplice rettangolo nero che ci servirà come sfondo. Non è necessario ricopra l'intera tela. Deseleziona anche la casella "Bassa Risoluzione" in cima alla finestra della tela per disabilitare la modalità a bassa risoluzione - che renderà l'immagine più nitida. Solitamente, con questa opzione abilitata aumenta la velocità di visualizzazione, ma non è quello di cui abbiamo bisogno adesso.

Synfig tut 2.png

Ora ci serve un cerchio. Varia il colore di riempimento a rosso, e disegna un cerchio. Non importa se non è perfetto: Lo puoi modificare. Attiva lo Strumento Trasforma, e seleziona il cerchio. Si presenterà in modalità di editazine facilmente riconoscibile dal punto verde nel mezzo ed il rettangolo bianco attorno. Puoi spostare il cerchio rosso trascinandolo dal punto verde nel mezzo.

Synfig tut 3.png

Questi sono i primi passi per disegnare un oggetto e spostarlo, ma non è ancora un'animazione, dirai. Infatti. Vediamo come si fa.

Rendiamo il movimento

In principio, è stato inserito un valore di 2 secondi nella finestra di dialogo Proprietà. Poiché la lunghezza della tua animazione è diversa da zero, la tua finestra tela (quella in cui si disegna) ha un cursore grigio di scorrimento del tempo in basso. È possibile fare clic su di esso, e un indicatore arancione apparirà segnando la posizione nel tempo. Prova a cliccare in diversi punti col cursore tempo e nota che il campo di immissione sulla sinistra del cursore cambia il valore del tempo in qualcosa come "12F", "1s 15F", ecc. È possibile impostare la tua posizione sulla barra temporale modificando i valori in quel campo. Ad esempio, se si immette "1s" e si preme ((Shortcut | Invio)), lindicatore arancione si muoverà nel bel mezzo della barra di scorrimento temporale, e digitando "2s", si sposterà alla fine della barra.

Nota

Nell'ultimo caso l'indicatore diviene invisibile, poichè "2s" è giusto al confine della barra di scorrimento temporale, ma fidati — è lì.
note end

Quando cambi posizione sulla barra, nulla cambia ancora sulla tela. Primo, si deve commutare su "Modalità Edita Animazione" Cliccando la spia verde giusto a destra della barra temporale. Nota che la tela viene bordata di rosso; questo ti ricorderà che i cabiamenti agli oggetti ora modificherà l'animazione.

Synfig tut 4.png

Precedentemente, sono state menzionate tre "fasi". Queste sono rappresentate dai cosiddetti "fotogrammi chiave". (Se hai familiarità con la codifica video: Non è la stessa cosa!) Un fotrogramma chiave è una immagine nel tempo dove succede qualcosa di significativo ai tuoi oggetti.

Vai al pannello Fotogrammi Chiave — giusto clicca sull'etichetta con una piccola chiave come icona nella finestra in basso — potrai modificare i fotogrammi chiave. Ora premi il piccolo pulsante con il "più" e dovresti vedere una nuova riga nella lista che visualizza "0f, 0f, (JMP)".

Forogramma

Now, go to the "1s" mark in the timeslider. The small orange indicator should move there. Then add another keyframe by clicking the small plus sign. Repeat the process with the time slider indicator set to "2s" (it's at the end of your animation). You should have three keyframes in the list, now.

Forogramma

s's e f's: Capiamo la linea temporale

A questo punto, forse hai capito cosa indicano quei misteriosi segni "1s 10f". Indicano un punto specifico sulla linea temporale, espresso come posizione in termini di secondi (s) e fotogrammi (f).

Ogni secondo, in modo predefinito, è suddiviso in 24 fotogrammi, similmente ad un metro che è suddiviso in 100 centimeteri. La scala dei fotogrammi parte da (0) e arriva a 24, dopo, un muovo secondo subentra ed il conteggio dei fotogrammi riparte da 0.

Per esempio, quando sono passati 5 secondi completi, usando questa notazione della linea temporale avremo "5s 3f".

The Keyframe List

The keyframe list is rather easy to understand. It displays "Time" which is basically the start time, "Length" which is self-explanatory, "Jump" which we'll cover next, and "Description" which is, again, self-explanatory.

Now, you might be wondering about the entries called "(JMP)". In fact, these are links just like web links: click them, and the indicator in your timeslider will jump to the correct time.

You can use this to edit your image for a given moment in time. For instance, you can now jump to the first second, and move the red circle to the right. There! You made your first movement, your first animation with Synfig!

Synfig tut 5.png

Wondering where the animation is? Just click to an arbitrary position on the timeslider: You will note that the red circle is in a new position, one that you didn't specify! So what happened? Synfig figured out what you would like to do, namely move the circle, and drew all the images between these states. Each image will later make a frame in your animation and the circle will appear to be moving.

Notice, that you don't need to go to the last keyframe at "2s" and move your circle back to the left. Keyframes make Synfig remember image state at particular time. That's why when we modified circle position at "1s", it stays on the left at "2s" (as well as at "0s"). If you switch back to Params Panel, and look at the Timetrack Panel you'll notice a three green dots appeared on the right of "Origin" parameter. Those are called Waypoints and they used to indicate changes of parameter over time.

TimetrackOriginWaypoints.png

Rendering your animation

Before you can see your animation, you need to render your work. There are two ways to do so: using the Synfig Studio (what you have been using so far) or the command-line program called "synfig".

Let's try the first way. Leave the animate editing mode by clicking on the red dot in the timeline editing widget, and save your file; for instance under the name "BasicKnightRider.sifz". Then go to menu in the Canvas Window ("caret" button in the upper left corner) and select "File → Render". Change the filename to "BasicKnightRider.gif" in the same location where you saved "BasicKnightRider.sifz" and choose "gif" target format instead of "Auto", then click Render. Depending on your processor speed it should take a few moments, but finally the image window status bar should say "File rendered successfully".

Calling "Render" from menu in Synfig Studio

Note

The "magick++" target (if it is available) produces much better gif files than the "gif" target because it can optimise the palette for the image.
note end

Open BasicKnightRider.gif in Firefox or another application that is able to show animated gif's. However, Firefox will replay the GIF all the time which makes your short animation a rather long one. If you're now seeing a red circle moving from the left to the right and back, congratulations! You just made your first animation!

Note

You can also preview your animation. Press the "caret" menu button in the upper left corner of the Canvas Window and choose "File → Preview".
note end

If you would rather use the command line instead of the menu to render your animation, then open a terminal (on Windows, go to "Start → Run", type "cmd" and press ↵ Enter), change to the directory you saved the file, and type something like this:

synfig -t gif BasicKnightRider.sif

A few messages appear that don't matter right now. Depending on your processor speed it should take a few moments, but finally a line like this will appear:

BasicKnightRider.sif ==> BasicKnightRider.gif: DONE

Then you are done and can view your animated gif using Firefox or another program as mentioned above.

Conclusion

Of course, the position of an object is not the only thing you can change with Synfig Studio. Other possibilities incude its size, its outline, its color, etc. Synfig comes with several example files that should let you dig deeper into the possibilities.


Languages Language: 

English • Deutsch • español • suomi • français • italiano • Nederlands • português • română • русский • 中文(中国大陆)‎