Bitmap
|

|
| |
Filaments organiques : texture animée
Cet exemple montre comment Créer une texture animée. Le motif ressemble à des cellules réliées par des filaments
Le projet aura une dimension de 320 x 240 pixels mais la methode reste valide pour d'autres tailles.
Etape 1
Nous aurons besoin d'une brosse répétitive sur fond transparent, de taille identique au projet (Fig.1). Son motif sera composé de ligne de 4 à 6 pixels d'épaisseur.
Créez et sauvegardez cette brosse dans un fichier ou un Bin.
|
|
Organic filaments : animated texture
This tutorial shows you how to create an animated texture that look like cell joined by filaments.
I will use a 320 x 240 pixel project. You can apply the same method for any other resolution.
Step 1
First we need a repeatable brush with lines or curves over a transparent background (Fig.1). It is important that we must have transparents areas, holes, in the brush. Draw the lines with a brush of 4 or 6 pixels in size. Create a brush with the same size than your project, it will avoid unwanted pattern repetition. Save the Brush or create a Bin entry.
|

Fig. 1 : Repeatable brush
| |
Etape 2
Créons maintenant un projet contenant 4 couches animées de 5 secondes.
Créer un nouveau projet. Dans le Layer Panel, cliquer sur New Layer Anim depuis le menu New. Utiliser l'outil Z pour étendre la ligne de temps à 5 secondes. Etirer la couche sur 5 secondes en utilisant Add Empty Frames dans le menu surgissant.
Dupliquer cette couche 3 fois. Nous avons maintenant nos 4 couches de 5 secondes.
Nous allons appliquer un mouvement de translation différent à la brosse sur chaque couche. On utilisera le Keyframer du FX Stack.
Selectionner l'image 1 de la première couche. Reprenez la brosse de l'étape 1. Ouvrir la fenêtre FX en mode Single FX , choisir l'effet Motion/Keyframer.
Dans l'onglet Render, selectionner Custom Brush comme Source et cocher l'option Fill (Fig.2).
|
|
Step 2
Now we will create a project with several layers, same length in time.
Here I use 5 seconds layers.
Create a new project. In the Layer Panel, use New Layer Anim from New menu. Use the Z button to scale the timeline, until you see the 5 second time mark. Pull the Right layer handle to reach the 5 sec time. In the pop-up menu, choose Add Empty Frames.
Duplicate this layer 3 times, you have now 4 anim layers with empty frames.
In each layer, we will animate the brush in a translation movement. Use the Keyframer in the FX Stack.
Grab the repeatable brush you made in step 1. Select Layer 1, first frame. Open the FX panel in Single FX mode, choose the Motion/Keyframer.
In the Render tab, select Custom Brush as Source and check the Fill option (Fig.2).
|

Fig. 2 : Keyframer - Render Tab
| |
Dans l'onglet Position, changer la position de pivot au hasard (disons x=22 y=137). Créer une position-clé à x=0 y=0. Selectionner la dernière image, Créer une position-clé à x=320 y=0. Selectionner toutes les images de la couche et cliquer sur Apply FX Stack.
Répétez l'opération pour toutes les couches en ayant soin de modifier les valeurs de pivot
Dans notre cas, j'ai pris les valeurs de position suivantes (Fig.3) :
- Couche 1 : droite à gauche, 320 pixels
image 1 x=0 y=0 ; Dernière image x=320 y=0
- Couche 2 : gauche à droite, 320 pixels
image 1 x=320 y=0 ; Dernière image x=0 y=0
- Couche 3 : haut en bas, 240 pixels
image 1 x=0 y=0 ; Dernière image x=0 y=240
- Couche 4 : bas en haut, 240 pixels
image 1 x=0 y=240 ; Dernière image x=0 y=0
Vous pouvez définir d'autres mouvements, bien évidemment.
Les changements de pivot servent à éviter que les brosses se chevauchent ou créent des symétries. On préserve ainsi l'effet aléatoire.
Jouer l'animation. Le mouvement doit être fluide et répétitif.
|
|
In the Position tab, set the pivot position to a random value (say x=22 y=137). Create a position key at x=0 y=0. Select the last frame, Create a position key at x=320 y=0. Select all the frames in the layer and Apply FX Stack.
Repeat the same operations for each layers. Don't forget to set other random values for the brush pivot.
In my example (Fig.3), I have used the following positions values :
- Layer 1 : move left to right, 320 pixels
frame 1 x=0 y=0 ; Last frame x=320 y=0
- Layer 2 : move right to left, 320 pixels
frame 1 x=320 y=0 ; Last frame x=0 y=0
- Layer 3 : move up to down, 240 pixels
frame 1 x=0 y=0 ; Last frame x=0 y=240
- Layer 4 : move down to up, 240 pixels
frame 1 x=0 y=240 ; Last frame x=0 y=0
You can chose other movements, of course.
The random values used for pivot are set to avoid symmetric or overlapping frames. You can also use one of this method :
- use a different brush for each layer
- flip the brush along x or y.
- cut several frames from the beginning of a layer and paste them to its end.
Play the animation, check if all is right.
|

Fig. 3 : Layer Panel and Movement diagram
Green : Frame ; Blue : Brush start position ; Purple : Brush end position
The shift between brush and frame position is due to pivot change.
| |
Etape 3
Faire une sauvegarde du projet. Nous allons maintenant créer la texture d'après ces lignes.
Dans le Layer Panel, utiliser Merge/Merge All pour fusionner toutes les couches Il ne reste plus qu'une couche contenant la totalité de l'animation.
La densité de lignes est élevée mais l'image doit tout de même encore comporter de nombreuses zones transparentes (Fig.4).
La première image et la dernière sont identiques. Pour un bouclage parfait de l'animation, effacer la dernière image.
|
|
Step 3
Now we will create the texture. I recommand that you save your project now.
In the Layer Panel, use Merge/Merge All. We have now a single Anim layer.
The density of line is higher but you must still have transparent ereas (Fig.4).
Note the first and last frames are the same. If you want to create a loop animation :
Delete the last frame of the layer.
|

Fig. 4 : Layer Panel after Merge All
| |
Selectionner toutes les images de la couche.
A partir de la fenêtre FX choisir le filtre Blur/Gaussian avec les valeurs x=10, y=10, Border=Tile, appliquer ce filtre en cliquant sur Apply FX Stack.
Choisir le filtre Stylize/Erode avec les valeurs par défaut x=5, y=5 , appliquer ce filtre en cliquant sur Apply FX Stack.
Jouez l'animation. La texture doit s'animer et les lignes se rejoindre souplement.
Il ne reste plus qu'à colorer l'animation avec le filtre Color Range par exemple.
|
|
Select all the frames in the layer. In the the FX panel in Single FX mode, choose the Blur/Gaussian filter. Use the values x=10, y=10, switch the Border option to Tile and Apply FX Stack.
Choose now the Stylize/Erode filter. Use the default values x=5, y=5 and Apply FX Stack.
Play the anim to see if all is ok.
The texture is almost finished.
You need to add some colors, use the Color Range Filter.
|

Fig. 5 : First line : Original, blur, erode Second line : 3 colored versions of the latest picture
| |
Variations
Vous pouvez créer des variations de cette texture
- en utilisant un brosse différente
- en modifiant l'épaisseur des lignes de la brosse
- en dessinant ces lignes en couleur
- en changeant les valeurs de paramètre des filtres Blur et Erode
- ...
|
|
Variations
To create variations of this texture, you can :
- use other brush shapes with different line density
- use different line size or a size variation in the brush
- use colors in the brush
- try other Blur and Erode values.
- ...
|
|