Difference between revisions of "Doc:Getting Started/fr"

From Synfig Studio :: Documentation
Jump to: navigation, search
m
(Introduction)
Line 30: Line 30:
 
* {{l|Navigator|Navigateur}} — il vous présente une miniature du canevas actuellement sélectionné. Vous pouvez également y zoomer et déplacer la zone de focus avec ce panneau.
 
* {{l|Navigator|Navigateur}} — il vous présente une miniature du canevas actuellement sélectionné. Vous pouvez également y zoomer et déplacer la zone de focus avec ce panneau.
 
* {{l|History Panel|Panneau d'Historique}} — il vous présente la pile d'historique de la compisition courante. Vous pouvez également éditer les actions de cet historique.
 
* {{l|History Panel|Panneau d'Historique}} — il vous présente la pile d'historique de la compisition courante. Vous pouvez également éditer les actions de cet historique.
 +
 +
== First steps ==
 +
 +
Let's create something so that we can play with it and tweak it.
 +
 +
Synfig Studio, like most every other competent graphics program, breaks down individual elements of a {{l|canvas|canvas}} into {{l|layer|layers}}. However, it differs from other programs in two major ways:
 +
 +
[[Image:LayersPanel.png|right|frame|Layers Panel]]
 +
 +
# An individual layer in Synfig usually represents a single "Primitive". I.e. a single region, an outline of a region, an imported image, etc... This allows you to have a great deal of flexibility and control. It is not uncommon for a composition to have hundreds of layers (organized into a hierarchy for artist's sanity of course).
 +
# A layer can not only composite information on top of the image below it, but also distorts and/or modify it in some other way. In this sense, Synfig's Layers act much like filters do in Adobe Photoshop or the GIMP. For example, we have a {{l|Blur Layer}}, {{l|Radial Blur Layer}}, {{l|Spherize Layer}}, {{l|Color Correct Layer}}, {{l|Bevel Layer}}, etc...
 +
 +
Each layer has a set of parameters which determine how it behaves. When you click on a layer (either in the canvas window, or in the {{l|Layers Panel}}), you will see its parameters in the {{l|Params Panel}}.
 +
 +
Synfig Studio has an autorecover feature. If it crashes, even if the current file has not been saved, it will not lose more than 5 minutes of work. At restart it will automatically prompt the user to recover the unsaved changes. Unfortunately history isn't recovered yet.
 +
 +
{{DevNotesBegin}}
 +
One thing you may notice is that Synfig Studio is SLOW, making it practically unusable on hardware that is over 3 years old. The biggest reason for this is that all of the color calculations are done in floating point — because Synfig Studio was built from the ground up with High-Dynamic-Range Imaging in mind. HOWEVER, this will not be the case forever.
 +
 +
We have some fairly major re-implementations and optimizations that we plan to implement that should quite dramatically improve the performance of Synfig on all platforms. The goal is not a 200% speed increase, it is at least a 2000% speed increase. Currently there is a work in progress in development branch implementing those optimization via OpenGL. They already show very promising results, but is not ready for usage yet.
 +
{{DevNotesEnd}}
 +
 +
Now go over to the toolbox and click on the {{l|Circle Tool}} (if you don't know which one it is, just mouse over them until you find the one with the tooltip that says "Circle Tool").
 +
 +
When you click on the circle tool, you should notice that the {{l|Tool Options Panel}} changed. But we'll get to that later.
 +
 +
{{Note|Note|Some users might experience the following problem: when you click-drag on the canvas using the Circle Tool, either nothing seems to happen or you end up making insanely huge circles. This is a known problem. To fix this: go to {{c|File|Input Devices}} and disable all the devices you can find there. If you have a extended input device that you'll use its pen pressure then enable it to screen. All the other devices (like Macintosh mouse button emulation and USB Optical mouse) must be disabled. After this change Synfig will work as expected.}}
 +
With the Circle Tool selected, you can now create circles in the {{l|Canvas Window}}. This works as you might expect — click on the canvas, drag to change length of the radius, and release the mouse button when you are done. Go ahead and create two circles (or more, if you fancy). If you accidentally release the mouse button before dragging, you end up creating a circle with 0 radius and it is effectively invisible! No need to worry, you can easily fix this. In the Params Panel, you can change the parameters of the selected object. If you just made a 0 radius circle, it should be the current selected object. You can change its radius to some value other than 0, say 10, and manipulate it to your liking with the canvas ducks later.
 +
 +
Now go back to the toolbox and click on the {{l|Normal Tool}} (the blue circle with the arrow on it). After you do this, click on one of your circles. You will then see a {{l|bounding box}} (which is kind of useless at this point in time, but I digress), a green dot at the center, and a cyan dot on the radius. Those dots are called ''{{l|duck|ducks}}''. If you want to modify the circle, grab a duck and drag it around. Easy!
 +
 +
You can select a {{l|layer}} by clicking on it. If you want to select more than one layer, hold down {{Shortcut|ctrl}} key while you are clicking — this works in both the Canvas Window and the {{l|Layers Panel}}. Try it!
 +
 +
You can also select multiple ducks. You can do this in several ways. First, you can hold down {{Shortcut|ctrl}} and individually click the ducks that you want selected, but this can be tedious. However, there is a much faster method — just create a {{l|Selection|selection box}} by clicking the mouse and dragging it over the area of ducks that you want selected.
 +
 +
Go ahead, select two circles and select all of their ducks. With several ducks selected, moving one duck will move all of the ducks. This behavior is dependent on the Normal Tool. Thus, a more descriptive name for this tool might have been the "move" or "translate" tool.
 +
 +
The {{l|Rotate Tool|rotate}} and {{l|Scale Tool|scale}} tools work much like the Normal Tool, except in the case where you have multiple ducks selected. It is much easier to just try it than read about it. Select a few circles, select all of their ducks, and try using the rotate and scale tools.
 +
 +
Note that, duck manipulation tools have options associated with them. If a particular tool isn't doing what you want, take a look in the {{l|Tool Options Panel}} to see if it is set up the way you want.
 +
 +
== Linking ==
 +
 +
Now let's try {{l|linking|linking}}. Let's say we always want these two circles to be the same size. Select two circles, and then select both of their radius ducks (the cyan dots).
 +
 +
To select multiple ducks, either drag a rectangle around them, or select the first one, then hold the {{Shortcut|ctrl}} key while selecting the rest.  Once you have the two radius ducks selected, right click on either duck and a menu will pop up. Click on {{Literal|Link}}. Boom. The parameters are linked together. You can prove it to yourself by selecting just one of the circles and changing its radius — the other one will change as well. Neat stuff, eh?
 +
 +
Linking is a fundamental concept in Synfig. You can create links not only between ducks, but also between parameters as well by selecting multiple layers, right clicking on the parameter in the param tab, and selecting {{Literal|Link}}.
 +
 +
{{Note|Digression|This is how {{l|Outline Layer|outlines}} are attached to their {{l|Region Layer|regions}} — but I'm getting ahead of myself. At the moment, the fundamental power and flexibility of linking in Synfig Core is beyond what Synfig Studio currently allows for. This will change in the future. Anyway, back on track...}}
 +
 +
== Color selection ==
 +
 +
Let's say you want one of the circles to be a different color. If you look in the toolbox below the tools, you'll see the outline/fill color selector, the outline width selector, and some other stuff like the default blend method and gradient. The outline/fill color widget works exactly as you might expect — you can click on the fill color, and a modest color chooser will appear. Now to can change the color pretty easily.
 +
 +
But sometimes you just want to click on a color and go. This is where the palette editor tab comes in. Its functionality isn't quite 100% yet (ie: saving and loading custom palettes hasn't been implemented yet), but the default palette is pretty decent. Click on the Palette Editor panel tab and have a look — it's the one with the palette-ish looking icon. Clicking on colors with the left mouse button will immediately change the default outline color and clicking with the middle mouse button will change fill color.
 +
 +
That's all great, but we still haven't changed the color of the circle. There are three ways to do this. The first is to select the circle layer you want to modify, go to the Params panel and double-click on the {{Literal|Color}} parameter.  A color selector dialog will then show up, and you can just tweak away. But let's say you already selected your color as the default fill or outline color. Then you can right-click on the Color parameter in the Params panel and select {{Literal|Apply Fill Color}} or {{Literal|Apply Outline Color}} at you preference. Finally, you can just click on the {{Literal|Fill Tool}} from the toolbox, and then click on the circle in the canvas window. Boom. Circle changes color. This works with more than just circles, but we'll get to that in a sec.
 +
 +
Try playing around with the circles for a bit. Muck around with the parameters, and see what happens. To get you started, play around with feather a bit.
 +
 +
== Digging deeper ==
 +
 +
Of course, so far you just found out how to use the basic features of Synfig Studio but not how you animate a drawing. This is covered in the {{l|Doc:Animation_Basics|next chapter}}.

Revision as of 11:12, 6 May 2010

Languages Language: 

English • čeština • Deutsch • español • suomi • français • italiano • 日本語 • Nederlands • polski • português • română • русский • 中文(中国大陆)‎ • 中文(台灣)‎


Introduction

Lorsque vous démarrez Synfig Studio, les fenêtres suivantes apparaissent:

Default interface layout of Synfig Studio

Les composants principaux sont:

  • Toolbox — La boîte à outils est la fenêtre principale de Synfig Studio. Fermer cette fenêtre signifie quitter l'application. Elle présente le menu système, boutons, outils et autres trucs nécessaires à la création et à l'édition de votre travail graphique.
  • Canevas — Le canevas (ou toile) où vos illustrations et animations vont apparaître.
  • Panels — Les panneaux contiennent des outils et des informations sur certains éléments de votre projet. Quelques panneaux vous permettront même de modifier ces éléments.

Note

Si votre interface de Synfig Studio se présentée différemment, l'arrangement montré dans la copie d'écran est heureusement assez facile à retrouver. Dans le menu "Fichier" de la boîte à outils, sélectionnez "Panneaux → Rétablir la disposition d'origine des fenêtres".
note end


La fenêtre au centre est appelée Fenêtre de Canevas. Chaque fois que vous démarrez Synfig Studio, une nouvelle fenêtre de canevas est ouverte. Cette fenêtre représente le Canevas principal, ça ne vous en dit pas plus pour l'instant mais c'est normal — J'essaye juste de vous présenter les choses. Dans le coin en haut à gauche de la Fenêtre de Canevas, vous devriez voir un bouton and un chevron (>). Si vous cliquez sur ce bouton, le menu de la fenêtre de canevas va apparaître. (De la même façon, ce menu apparaîtra également par un clic droit sur la zone de canevas là où il n'y a pas de calque sous la position de la souris.) A présent, vous savez où se trouve le menu dans la Fenêtre de Canevas. Parfait.

Les deux autres fenêtres (une en bas et une à droite) sont personnalisables dock dialogs. Chaque dock dialog contient un jeu de panneaux, disposés horizontalement or verticalement. Quelques panneaux partagent le même espace dans le dock dialog et vous pouvez passer de l'un à l'autre en cliquant sur leurs onglets. Vous pouvez modifier le contenus des dock dialogs comme vous le voulez simplement en glissant l'onglet du panneau là où vous le voulez. Vous pouvez même créer un nouveau dock dialog en glissant un onglet en dehors de son dock dialog d'origine.

Si jamais vous fermiez accidentellement un panneau (en le glissant en dehors de sa dock dialog et en fermant la nouvelle qui vient d'être créée), pas de panique. Simplement allez dans la boite à outils, choisissez dans le menu "Fichier → Panneaux" et cliquez simplement sur le nom du panneau dont vous avez besoin.

Il y a plein de panneaux dans Synfig Studio. Si vous n'avez pas d'idée de ce qu'un panneau fait, placer simplement votre pointeur de souris pardessus l'icône de son onglet et une bulle d'information (tooltip) apparaîtra pour préciser le nom du panneau.

Voici quelques uns des plus importants:

  • Panneau de Calques — ce panneau vous montre la hiérarchie des calques pour le canvenas actuellement sélectionné. Il vous permet également de manipuler ces calques.
  • Panneau de Paramètres — ce panneau vous montre les paramètres du calque actuellement sélectionné, (OU, si plusieurs calques sont sélectionnés, uniquement les paramètres qu'ils ont en commun).
  • Panneau d'Options des Outils — ce panneau vous présente les options spécifiques à l'outil sélectionné.
  • Navigateur — il vous présente une miniature du canevas actuellement sélectionné. Vous pouvez également y zoomer et déplacer la zone de focus avec ce panneau.
  • Panneau d'Historique — il vous présente la pile d'historique de la compisition courante. Vous pouvez également éditer les actions de cet historique.

First steps

Let's create something so that we can play with it and tweak it.

Synfig Studio, like most every other competent graphics program, breaks down individual elements of a canvas into layers. However, it differs from other programs in two major ways:

Layers Panel
  1. An individual layer in Synfig usually represents a single "Primitive". I.e. a single region, an outline of a region, an imported image, etc... This allows you to have a great deal of flexibility and control. It is not uncommon for a composition to have hundreds of layers (organized into a hierarchy for artist's sanity of course).
  2. A layer can not only composite information on top of the image below it, but also distorts and/or modify it in some other way. In this sense, Synfig's Layers act much like filters do in Adobe Photoshop or the GIMP. For example, we have a Calque Flou, Radial Blur Layer, Spherize Layer, Color Correct Layer, Bevel Layer, etc...

Each layer has a set of parameters which determine how it behaves. When you click on a layer (either in the canvas window, or in the Panneau Calques), you will see its parameters in the Params Panel/fr.

Synfig Studio has an autorecover feature. If it crashes, even if the current file has not been saved, it will not lose more than 5 minutes of work. At restart it will automatically prompt the user to recover the unsaved changes. Unfortunately history isn't recovered yet.

Development Notes:

One thing you may notice is that Synfig Studio is SLOW, making it practically unusable on hardware that is over 3 years old. The biggest reason for this is that all of the color calculations are done in floating point — because Synfig Studio was built from the ground up with High-Dynamic-Range Imaging in mind. HOWEVER, this will not be the case forever.

We have some fairly major re-implementations and optimizations that we plan to implement that should quite dramatically improve the performance of Synfig on all platforms. The goal is not a 200% speed increase, it is at least a 2000% speed increase. Currently there is a work in progress in development branch implementing those optimization via OpenGL. They already show very promising results, but is not ready for usage yet.

Now go over to the toolbox and click on the Outil Cercle (if you don't know which one it is, just mouse over them until you find the one with the tooltip that says "Circle Tool").

When you click on the circle tool, you should notice that the Panneau Options des Outils changed. But we'll get to that later.

Note

Some users might experience the following problem: when you click-drag on the canvas using the Circle Tool, either nothing seems to happen or you end up making insanely huge circles. This is a known problem. To fix this: go to "File → Input Devices" and disable all the devices you can find there. If you have a extended input device that you'll use its pen pressure then enable it to screen. All the other devices (like Macintosh mouse button emulation and USB Optical mouse) must be disabled. After this change Synfig will work as expected.
note end

With the Circle Tool selected, you can now create circles in the Canvas Window. This works as you might expect — click on the canvas, drag to change length of the radius, and release the mouse button when you are done. Go ahead and create two circles (or more, if you fancy). If you accidentally release the mouse button before dragging, you end up creating a circle with 0 radius and it is effectively invisible! No need to worry, you can easily fix this. In the Params Panel, you can change the parameters of the selected object. If you just made a 0 radius circle, it should be the current selected object. You can change its radius to some value other than 0, say 10, and manipulate it to your liking with the canvas ducks later.

Now go back to the toolbox and click on the Normal Tool (the blue circle with the arrow on it). After you do this, click on one of your circles. You will then see a Boîte Englobante (which is kind of useless at this point in time, but I digress), a green dot at the center, and a cyan dot on the radius. Those dots are called ducks. If you want to modify the circle, grab a duck and drag it around. Easy!

You can select a Layer by clicking on it. If you want to select more than one layer, hold down Ctrl key while you are clicking — this works in both the Canvas Window and the Panneau Calques. Try it!

You can also select multiple ducks. You can do this in several ways. First, you can hold down Ctrl and individually click the ducks that you want selected, but this can be tedious. However, there is a much faster method — just create a selection box by clicking the mouse and dragging it over the area of ducks that you want selected.

Go ahead, select two circles and select all of their ducks. With several ducks selected, moving one duck will move all of the ducks. This behavior is dependent on the Normal Tool. Thus, a more descriptive name for this tool might have been the "move" or "translate" tool.

The rotate and scale tools work much like the Normal Tool, except in the case where you have multiple ducks selected. It is much easier to just try it than read about it. Select a few circles, select all of their ducks, and try using the rotate and scale tools.

Note that, duck manipulation tools have options associated with them. If a particular tool isn't doing what you want, take a look in the Panneau Options des Outils to see if it is set up the way you want.

Linking

Now let's try linking. Let's say we always want these two circles to be the same size. Select two circles, and then select both of their radius ducks (the cyan dots).

To select multiple ducks, either drag a rectangle around them, or select the first one, then hold the Ctrl key while selecting the rest. Once you have the two radius ducks selected, right click on either duck and a menu will pop up. Click on "Link". Boom. The parameters are linked together. You can prove it to yourself by selecting just one of the circles and changing its radius — the other one will change as well. Neat stuff, eh?

Linking is a fundamental concept in Synfig. You can create links not only between ducks, but also between parameters as well by selecting multiple layers, right clicking on the parameter in the param tab, and selecting "Link".

Digression

This is how outlines are attached to their regions — but I'm getting ahead of myself. At the moment, the fundamental power and flexibility of linking in Synfig Core is beyond what Synfig Studio currently allows for. This will change in the future. Anyway, back on track...
note end


Color selection

Let's say you want one of the circles to be a different color. If you look in the toolbox below the tools, you'll see the outline/fill color selector, the outline width selector, and some other stuff like the default blend method and gradient. The outline/fill color widget works exactly as you might expect — you can click on the fill color, and a modest color chooser will appear. Now to can change the color pretty easily.

But sometimes you just want to click on a color and go. This is where the palette editor tab comes in. Its functionality isn't quite 100% yet (ie: saving and loading custom palettes hasn't been implemented yet), but the default palette is pretty decent. Click on the Palette Editor panel tab and have a look — it's the one with the palette-ish looking icon. Clicking on colors with the left mouse button will immediately change the default outline color and clicking with the middle mouse button will change fill color.

That's all great, but we still haven't changed the color of the circle. There are three ways to do this. The first is to select the circle layer you want to modify, go to the Params panel and double-click on the "Color" parameter. A color selector dialog will then show up, and you can just tweak away. But let's say you already selected your color as the default fill or outline color. Then you can right-click on the Color parameter in the Params panel and select "Apply Fill Color" or "Apply Outline Color" at you preference. Finally, you can just click on the "Fill Tool" from the toolbox, and then click on the circle in the canvas window. Boom. Circle changes color. This works with more than just circles, but we'll get to that in a sec.

Try playing around with the circles for a bit. Muck around with the parameters, and see what happens. To get you started, play around with feather a bit.

Digging deeper

Of course, so far you just found out how to use the basic features of Synfig Studio but not how you animate a drawing. This is covered in the next chapter.


Languages Language: 

English • čeština • Deutsch • español • suomi • français • italiano • 日本語 • Nederlands • polski • português • română • русский • 中文(中国大陆)‎ • 中文(台灣)‎