Professional Documents
Culture Documents
threshold
This tutorial presents a number of advanced techniques to create halftones and burn effects
using textures with thresholds, and using filters.
This tutorial is a basic sample of the different effects can Piranesi. When you understand the
styles you can use them to create your own effects. For example you might try to combine other
effects Piranesi with textures and thresholds.
For details on the default opening files, refer to the exercise: Setting Preferences and opening a
file from Tutorial 1: PAINTING WITH PIRANESI.
2. In the Style Selector palette, select the category "Tutorial 9: Procedural textures
and thresholding"
If you use the tutorial from the CD-Rom Piranesi Library Tutorial Library is located in \ Tutorial at the root of
the CD-Rom. If you installed during the installation of Piranesi, by default it is in C: \ Program Files \
Informatix \ Piranesi \ Tutorial. On the Mac, they are in Hard Disk \ Applications \ Piranesi 5 \ Tutorial.
For details, refer to the exercise: Added a Tutorial style library 1: PAINTING WITH PIRANESI.
3. Load style "01 Clear to white," then fill the white paint scene, as in the previous
tutorials.
4. Load style "02 Plane texture."
Flat textures styles are "procedural", similar to the noise texture (Noise) you met in the
exercise: More textures and mixing types (Blend) Tutorial 3: Photorealism. The texture is
calculated from the settings that you place in the texture parameters (Texture settings) of the
Colour and Texture palette. If the
to the right of the preview the texture.
Colour and Texture palette is not displayed, click
The result is shown in the preview box:
Note that the three-dimensional textures are flat, and the preview shows a cross section. This
means that the style you see when you apply the effect depends on the plane of the surface you
are painting.
The flat alpha textures are textures. Therefore when applying a flat texture, light and dark areas
of style define how the paint is applied; the sector is more dark, the more paint.
5. Click anywhere in the scene.
Objects that are not horizontal in perspective, have stripes 'projected' on them, as well the
different planes of the scene are distinguishable.
Watching the style definition in the Settings palette. The texture is in the XY plane with the
standard 0.0 / 0.0 / 1.0 (see the first three Plane coordinates in the input box), and its origin and
zero (see the fourth coordinate). It therefore changes in the direction of Z.
6. Scale change to 50 and click on the icon keys Reapply
+R or +R to re apply the effect.
The preview settings Texture settings now showing vertical stripes. The texture goes parallel to
the X and Z axes with normal (0.0 / 1.0 / 0.0), and it changes in the direction of the Y axis
+Z.
Although we used the command reapply several times, only a cancellation is necessary to undo
the effect.
10. Now, load the style "03 flat Wavy texture", and click Reapply
+R to re apply the effect.
or
You can use the Apply command even when you canceled an action. (You can not reapply
canceled if you used (Undo) more than once consecutively.)
This time the stripes are wavy.
In this style, the frequency and amplitude were settled in texture parameters settings. The
frequency (Frequency) controls the number of undulations, and the amplitude (Amplitude) defines
the size of the corrugations. If either of these settings is to zero, the lines will then be flat.
The land is now spotted. This is because in terms of this style was placed in the X / Y. The earth
is horizontal (parallel to the X / Y plane) and an amplitude of 1.0 which means that the
corrugations of the style produce a grainy texture on all horizontal surfaces.
Thereafter, we will add a threshold to the flat texture, to refine the effect.
Seuil
This exercise will demonstrate how using a threshold for defining scene areas where paint will be
applied and where it will not be applied, depending on the base color of the scene. The sectors can
be defined using the brightness and darkness of the Restore RGB RGB channel or current channel.
In this case, we will use the Restore RGB channel. The threshold is useful for creating effects with
engraving etching and halftones.
1. Load style "04 Plane texture with threshold".
This style is similar to the style "03 flat Wavy texture", except that the Enable threshold option
(allows threshold) is checked in the texture parameters (Texture settings).
2. Click to reapply
or
When using a threshold all sectors, darker than the setting, painted, and all the lighter areas that
the adjustments do not paint that applies. For sectors that fall between the settings of light and
shadow, the amount of paint depends on the lightness of the color pixels (and the texture itself).
In this style, the option Use Restore RGB is selected in the texture parameters (Texture settings).
That is why the RGB color restoration channel is used. The clear threshold (Light) is placed at
1.00 and dark threshold (Dark) is set to 0.0. Thus, the white pixels in the RGB restoration, such
as clouds, have no paint applied, and darker things are painted.
You can create an effect 'negative' image by reversing the light and dark values. You may also try
to change the soft value (Soft), which defines the transition between light and dark areas; a low
value gives a sharp transition, and higher value provides a more gradual transition.
3. Cancel the effect to return to the scene 'white'.
If necessary, re apply the style "01 Clear to white."
4. Load style "05 Noise texture" and click in the scene.
This style is a noise texture. Noise textures are procedural textures, but the effect is the same in
all directions. We encountered a noise texture in the exercise: More textures and mixing types
(Blend) Tutorial 3.
As you can see, this produced a totally random effect and the image has almost disappeared. We
need to apply a threshold for defining scene sectors we want to paint and those we do not want
painted.
5. In the texture parameters (Texture settings) of the Colour and Texture Palette,
select the Enable threshold box (enable level).
Let the settings and options Light Dark respectively to 1.0 and 0.0, and adjusting the soft option to
0.0.
Re apply the effect.
Note how these settings give effect 'melange'.
or
+R.
Increasing Soft setting produces a more gradual transition between light and dark areas of the
effect.
We can control the amplitude of the texture by changing the scale of the noise texture (Noise).
Currently, the scale is set to 25.0.
7. Change the scale in the texture parameters (Texture settings) for 0.5, and re apply
the effect.
Try changing the threshold settings for softness (Soft), for clarity (Light), and to darken (Dark)
effect. You may also scale the X and / or Y.
10. When you have finished testing the settings, save your work and close the file.
You can use the screening filters (Halftone) to create a number of texture effects. In this exercise, we
will create the impression of a sketch in pencil.
1. Open the "Gatehouse.epx" file.
2. Charge the style 07 Pencil .
This style uses the Filter tool with a paint bucket (Fill) non-continuous. We used in the exercise:
More textures and mixing types (Blend) Tutorial 3.
Look at the parameters of the Filter tool in the Tool Options palette. This time the Mode Halftone
(screened filter) is selected, with a pattern (Pattern) pencil (Pencil). You can use raster filters to
create effects with continuous tone, as in the printing process.
3. Click in the scene.
The scene is shown as if it had been drawn (sketched) in pencil.
Zoom into the scene to watch the details. All pen strokes have the same angle, which has been
indicated in the filter settings. The dark areas are painted solid black, and light areas were left
blank.
If you used the Zoom tool, remember to re-select the Filter tool, or charge the style in the Selector
Style palette.
4. Change bias (Bias) in the Tool Options Palette 0.3, then click
or +R to reapply.
Reapply
The bias (Bias) controls the contrast between light and dark areas. With a low polarization, the
scene is much darker because the filter painted more than light areas. Re apply the effect with a
bias 0.9. This time the scene is much clearer.
5. When you finish handle, place a bias (Bias) intermediary, such as 0.65.
6. In the settings of the Filter (Filter settings) tool palette Advanced Settings, change
the angle to 0 and check the options: Align with normals (to align
normal) and Crosshatch (plaid), and click Apply to apply.
or +R to reapply
Since Align with normals checked, pencil races change with the direction of each shot. The dark
areas are squared.
Now we will attack some of the pencil lines to produce a softer effect.
7. Load style "08 Pencil smudge".
The Smudge option (smudge / blur) is placed at 30% in the parameters of the tool Filter (Filter
settings) Advanced Settings palette.
Note that channels Use Restore (restoration of channels) is selected in the Tool Options palette;
it is because we want the filter works with the original colors of the scene, rather than the pencil
marks.
The color lock is on. Open the palette lock settings by clicking
Locks of the pallet (locks). You will see that HSL is selected with a lightness (lightness) of 5,
and Use Restore channels is checked. This means that only pixels restoration channels having a
brightness within 5% of that of the selected pixel will be painted.
8. Zoom into the shadows of the ramp, and paint over the shadows.
Make sure you start painting on a shadow.
You can also change the races of the pencil so that they are more distant or more 'wavy',
changing the scale settings (Scale) and frequency. Test with different painting parts of the scene
using various settings. You can change the locks. But in this case, make sure the Use Restore
RGB option is checked in the settings of the tool Filter (Filter settings) of the Tool Options palette,
otherwise the filter will work with the painted scene and you will not see any change.
Use the Undo icon
or
9. When you are satisfied with your work in pencil, apply the style "Edge 09", and
click in the scene.
This style uses the line filter (Edge) to add contours to objects in the scene.
10
If this is not the case, Piranesi display a message saying it can not find the file (Could not find file
pencilwork.png), click Browse the Grain palette and choose your PNG file.
14. Click in the scene.
The amount of color (Amount) is set to 0%, so the style restores basic color using the pencil
marks that we created earlier to create the effect of a colored pencil work.
11