issue111:inkscape
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
issue111:inkscape [2016/08/24 13:04] – auntiee | issue111:inkscape [2016/08/24 14:00] (Version actuelle) – auntiee | ||
---|---|---|---|
Ligne 48: | Ligne 48: | ||
To extract a single channel from the output, zero everything in your Color Matrix, and then populate just one of the first four columns, depending on what you want to get out. For example, setting a value of 1.00 in every field in the third column would take the 0-255 values in your Blue channel and map them to RGBA in the output. A Blue value of 63 on the input would produce (63, 63, 63, 63) – a translucent gray color – as an output. You might want to take the Alpha channel out of the equation by setting a value of 1.00 in the bottom right corner (the Fixed Value column for the Alpha output). In this example, I've used the Green channel to set only the Alpha of the output, and stretched the values a bit by using 3.00 rather than 1.00. This gives an image that runs from opaque black to transparent black, so, by Compositing it (to clip it to shape) and then Merging it with the cyan Source Graphic, it's easy to create an “electric” or “plasma” effect.** | To extract a single channel from the output, zero everything in your Color Matrix, and then populate just one of the first four columns, depending on what you want to get out. For example, setting a value of 1.00 in every field in the third column would take the 0-255 values in your Blue channel and map them to RGBA in the output. A Blue value of 63 on the input would produce (63, 63, 63, 63) – a translucent gray color – as an output. You might want to take the Alpha channel out of the equation by setting a value of 1.00 in the bottom right corner (the Fixed Value column for the Alpha output). In this example, I've used the Green channel to set only the Alpha of the output, and stretched the values a bit by using 3.00 rather than 1.00. This gives an image that runs from opaque black to transparent black, so, by Compositing it (to clip it to shape) and then Merging it with the cyan Source Graphic, it's easy to create an “electric” or “plasma” effect.** | ||
- | Vous pouvez utiliser une Matrice des couleurs pour en extraire un seul canal, ou pour étirer la sortie pour la rendre plus animée. Dans cet exemple, j'ai appliqué cette dernière, ainsi que supprimé tout le canal Alpha en le remplaçant par une valeur fixe de 1 (complètement opaque). La couleur cyan du texte original ne transparaît pas du tout dans ce cas (ce qui est cyan dans le résultat vient uniquement du filtre Turbulence), | + | Vous pouvez utiliser une Matrice des couleurs pour en extraire un seul canal, ou pour étirer la sortie pour la rendre plus animée. Dans cet exemple, j'ai appliqué cette dernière, ainsi que supprimé tout le canal Alpha en le remplaçant par une valeur fixe de 1 (complètement opaque). La couleur cyan du texte original ne transparaît pas du tout dans ce cas (ce qui est cyan dans le résultat vient uniquement du filtre Turbulence), |
- | Pour extraire un seul canal de la sortie, mettez tout à zéro dans votre Matrice des couleurs, et, ensuite, valorisez une seule des quatre premières colonnes, suivant ce que vous voulez obtenir en sortie. Par exemple, en mettant la valeur 1.00 dans chaque champ de la troisième colonne, les 0-225 valeurs de votre canal Bleu seront utilisées pour remplir les RGBA de la sortie. Vous pourriez vouloir sortir le canal Alpha de l' | + | Pour extraire un seul canal de la sortie, mettez tout à zéro dans votre Matrice des couleurs et, ensuite, valorisez une seule des quatre premières colonnes, suivant ce que vous voulez obtenir en sortie. Par exemple, en mettant la valeur 1.00 dans chaque champ de la troisième colonne, les 0-225 valeurs de votre canal Bleu seront utilisées pour remplir les RGBA de la sortie. Vous pourriez vouloir sortir le canal Alpha de l' |
**You could also bring a Flood primitive into a chain like that to ensure that your result has the right color in the filter, regardless of the color of the object it's applied to. | **You could also bring a Flood primitive into a chain like that to ensure that your result has the right color in the filter, regardless of the color of the object it's applied to. | ||
Ligne 58: | Ligne 58: | ||
Vous pouvez aussi ajouter une primitive Remplissage dans une chaîne comme celle-là pour vous assurer que votre résultat aura la bonne couleur dans le filtre, sans tenir compte de la couleur appliquée à l' | Vous pouvez aussi ajouter une primitive Remplissage dans une chaîne comme celle-là pour vous assurer que votre résultat aura la bonne couleur dans le filtre, sans tenir compte de la couleur appliquée à l' | ||
- | N' | + | N' |
**By now you should be starting to appreciate the power and flexibility of filters. By combining a few primitives in various ways, you can quickly create complex results. Throw in a little pseudo-random chaos and you're well on your way to everything from clouds to marble, whilst Flood primitives can ensure that the important colors in your filter are independent of the objects they' | **By now you should be starting to appreciate the power and flexibility of filters. By combining a few primitives in various ways, you can quickly create complex results. Throw in a little pseudo-random chaos and you're well on your way to everything from clouds to marble, whilst Flood primitives can ensure that the important colors in your filter are independent of the objects they' | ||
Ligne 64: | Ligne 64: | ||
One common theme between Flood and Turbulence is that they fill the filter region entirely, usually requiring a Composite operation to trim them to shape. Next month, we'll look at the last of these “fill” primitives – uncovering limitations in Inkscape along the way – then progress on to other ways to change their shape.** | One common theme between Flood and Turbulence is that they fill the filter region entirely, usually requiring a Composite operation to trim them to shape. Next month, we'll look at the last of these “fill” primitives – uncovering limitations in Inkscape along the way – then progress on to other ways to change their shape.** | ||
- | Arrivés là, vous devriez | + | Arrivés là, vous devrez |
Un thème commun entre Remplissage et Turbulence est qu' | Un thème commun entre Remplissage et Turbulence est qu' |
issue111/inkscape.txt · Dernière modification : 2016/08/24 14:00 de auntiee