<li class="Bulleted"><a href="17-Hose7.html#999415">Creating a 2-Rank Nozzle on a Grid</a></li><br/>
<li class="Bulleted"><a href="17-Hose7.html#999419">Determining the Grid Cell Size</a></li><br/>
<li class="Bulleted"><a href="17-Hose7.html#1005508">Building the Nozzle</a></li><br/>
<li class="Bulleted"><a href="17-Hose7.html#999498">Loading a Nozzle</a></li><br/>
<li class="Bulleted"><a href="17-Hose7.html#1004575">Creating a 3-Rank Nozzle</a></li><br/>
</td>
</tr>
</table>
<blockquote>
<h2 id="1001725" class="Heading1">
<a name="1001725"> </a>Creating Nozzles for the Image Hose
</h2>
<h3 id="1001739" class="Heading2">
<a name="1001739"> </a>The Nozzle Ranking System
</h3>
<p id="1001726" class="Body">
<a name="1001726"> </a>A 1-Rank indexing system is simply a numbered sequence. You can locate any element in the sequence by giving its number. For example, "Item 3."
</p>
<p id="1001730" class="Body">
<a name="1001730"> </a>In Corel Painter, you locate and deliver images by varying input-for example, by pressing harder with the stylus or changing the direction of the stroke. For information on the input factors you can use to control indexing, refer to <a href="17-Hose5.html#999137">"Scale"</a>.
</p>
<p id="1001734" class="Body">
<a name="1001734"> </a>A 2-Rank indexing system uses two perpendicular indexes. The first rank extends horizontally and the second extends vertically. Again, you'll vary input to locate an item for either rank. You can think of indexing in the two ranks as "selecting a column" and "selecting a row." The Image Hose delivers the image from the nozzle where the selected column and row intersect. For this to work properly, you must use different input factors for selecting in eachárank.
</p>
<p id="1001735" class="Body">
<a name="1001735"> </a>A 3-Rank indexing system extends the 2-Rank model. The third rank is created by repeating the 2-Rank "set." Within the selected set, the 1-Rank and 2-Rank indexing (described above) is used. In order for this to work properly, you must use different input factors for selecting in each rank.
</p>
<p id="1001736" class="Body">
<a name="1001736"> </a>A 3-Rank indexing system can be used with calendar dates. Any day, in the past or future, can be located, given the month, day, and year. For example, "February 25, 1962 (2/25/1962)."
</p>
<h3 id="1001719" class="Heading2">
<a name="1001719"> </a>Designing Nozzles: 1, 2, or 3 Ranks
</h3>
<p id="999287" class="Body">
<a name="999287"> </a>A nozzle file contains a series of images arranged in a regular grid. Usually, the images are progressive in terms of size, shape, angle, or color. Progression is not necessary, but it increases the sophistication of the Image Hose. For example, a nozzle file with images progressing in size can be set up so that greater stylus pressure paints incrementally larger images.
<a name="1001420"> </a><i>A 1-Rank Nozzle progresses in one dimension. In this example, changing angle is the first rank.
</i></p>
<p id="999296" class="Body">
<a name="999296"> </a>What if you want a two-dimensional progression, such as having image elements increasing in size and changing angle? To do this, you'll need to set up your images as a 2-Rank nozzle file. Painting with a 2-Rank nozzle, you can control where your image comes from in terms of <span style="color: #000000; font-style: normal; font-weight: bold; text-decoration: none; text-transform: none; vertical-align: baseline">both</span><span style="color: #000000; font-style: italic; font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline"> </span>progressions. In this case, you use a different input factor to control the location of the image elements in each rank.
</p>
<p id="1005134" class="Body">
<a name="1005134"> </a>In the following image, Rank 1 is a progression in angle, and Rank 2 is a progression in size. It would make sense to use direction to control Rank 1 and pressure to control Rank 2.
<a name="1001434"> </a><i>A 2-Rank Nozzle progresses in two dimensions. In this example, changing angle is the first rank and changing size is the second rank.
</i></p>
<p id="1001697" class="Body">
<a name="1001697"> </a>You can extend the nozzle to a third progression, creating a 3-Rank nozzle. Again, you use a separate input factor to control the location in each rank.
</p>
<p id="1001706" class="Body">
<a name="1001706"> </a>In the following image, Rank 3 is a progression in color. You might control this final rank with randomness, velocity, or source-depending on your plans for the image.
</p>
<p id="1005161" class="Body">
<a name="1005161"> </a>If you use one input factor to control two ranks, some image elements become unavailable.
<a name="1001449"> </a><i>Color is the third rank in this 3-Rank Nozzle.
</i></p>
<p id="1005145" class="Body">
<a name="1005145"> </a>For information on setting the input factor for each rank, refer to <a href="17-Hose5.html#999137">"Scale"</a>.
</p>
<p id="999323" class="Body">
<a name="999323"> </a>Consider the way you will control each rank before building a nozzle. The way you lay out the images can limit the ways you can control the indexing.
</p>
<p id="999324" class="Body">
<a name="999324"> </a>Before you begin building a nozzle, you must decide what rank level you need. And, you must determine how many elements you want in each progression.
</p>
<h3 id="999340" class="Heading2">
<a name="999340"> </a>Preparing Images
</h3>
<p id="999341" class="Body">
<a name="999341"> </a>Regardless of the rank level of the nozzle you are making or the method you use to build it, the following tips will help you develop the individual images.
</p>
<p id="999342" class="Body">
<a name="999342"> </a>Each element in an Image Hose nozzle must be selected. The selection allows you to paint with images of irregular shape. Only what is inside the selection will flow from the ImageáHose.
</p>
<p id="999343" class="Body">
<a name="999343"> </a>You might want to work by creating a silhouette of the image shape as a selection, then fill in the color information later. With soft edges to the selection, you can create images that are anti-aliased automatically. This improves the continuity across an area of hosed images.
</p>
<p id="999345" class="Body">
<a name="999345"> </a>You can create Image Hose nozzles from layers. As you create image elements, turn them into layers. If the layer looks good when dropped on different backgrounds, the image will look good as a nozzle element. Building a nozzle from layers offers advantages in convenience, as well.
</p>
<p id="999346" class="Body">
<a name="999346"> </a>Another technique is to float the image on a black background and add a drop shadow. This will enhance the appearance of three dimensions, as image elements build up in layers. When all elements have the shadow in the same position, it appears the light source is the same across the painted area.
</p>
<p id="1010252" class="Body">
<a name="1010252"> </a>For more information on working with layers, refer to <a href="14-Layers4.html#1014770">"Working with Layers"</a>.
</p>
<h3 id="1010254" class="Heading2">
<a name="1010254"> </a>Creating a 1-Rank Nozzle from a Group of Layers
</h3>
<h5 id="999349" class="ToDoHead">
<a name="999349"> </a>To create a 1-Rank nozzle from layers
</h5>
<ol type="1">
<li class="SmartList1" value="1"><a name="999350"> </a>Create image elements as layers for the nozzle. </li>
<p id="999351" class="ToDoBody">
<a name="999351"> </a>The alignment of layers in the document doesn't affect the nozzle building process.
</p>
<li class="SmartList1" value="2"><a name="999356"> </a>Choose <span style="color: #000000; font-style: normal; font-weight: bold; text-decoration: none; text-transform: none; vertical-align: baseline">Window menu > Show Layers</span> to show the Layers palette. </li>
<p id="999357" class="ToDoBody">
<a name="999357"> </a>If the Layers palette is not expanded, click the palette arrow.
</p>
<p id="1010038" class="ToDoBody">
<a name="1010038"> </a>The top layer on the list will be the first element in the nozzle sequence. Moving down the list advances through the element progression.
</p>
<li class="SmartList1" value="3"><a name="999358"> </a>Rearrange the layer hierarchy to create the progression you want in the nozzle.</li>
<li class="SmartList1" value="4"><a name="999367"> </a>If any item on the Layers palette is a group, click the Layer Commands button <img src="images/17-Hose22.jpg" height="16" width="16" border="0" hspace="0" vspace="0" />
and choose Collapse to convert it to a standard layer.</li>
<li class="SmartList1" value="5"><a name="999368"> </a>Hold down the Shift key and select each item in the list. </li>
<li class="SmartList1" value="6"><a name="999369"> </a>Click the Layer Commands button and choose Group. </li>
<p id="1005253" class="ToDoBody">
<a name="1005253"> </a>All the items are now part of the same group.
</p>
<li class="SmartList1" value="7"><a name="999370"> </a>In the toolbox, click the Nozzle selector.</li>
<li class="SmartList1" value="8"><a name="1006412"> </a>Click the selector menu arrow and choose Make Nozzle From Group.</li>
<p id="1005265" class="ToDoBody">
<a name="1005265"> </a>Corel Painter creates a new, untitled image. This is your nozzle file.
<a name="1005212"> </a><i>Creating a nozzle from layers.
</i></p>
<h3 id="1004551" class="Heading2">
<a name="1004551"> </a>Loading Nozzle Files
</h3>
<p id="1004409" class="Body">
<a name="1004409"> </a>If you've created a separate nozzle file that isn't part of a library, you can loadáit into the Image Hose library for future use.
</p>
<h5 id="1004411" class="ToDoHead">
<a name="1004411"> </a>To load a nozzle file
</h5>
<ol type="1">
<li class="SmartList1" value="1"><a name="1004412"> </a>In the toolbox, click the Nozzle selector.</li>
<li class="SmartList1" value="2"><a name="1006427"> </a>Click the selector menu arrow, and choose Load Nozzle.</li>
<li class="SmartList1" value="3"><a name="1005290"> </a>Choose a nozzle from the Select Image dialog box, and click Open.</li>
<p id="1004413" class="ToDoBody">
<a name="1004413"> </a>Note: The first time you load a nozzle, Corel Painter may ask for some information on the image's construction. <a href="17-Hose7.html#1001725">"Creating Nozzles for the Image Hose"</a> covers this.
</p>
</ol>
<h5 id="1004404" class="ToDoHead">
<a name="1004404"> </a>To add a nozzle to the current library
</h5>
<ol type="1">
<li class="SmartList1" value="1"><a name="1004294"> </a>In the toolbox, click the Nozzle selector.</li>
<li class="SmartList1" value="2"><a name="1006431"> </a>Click the selector menu arrow, and choose Add Nozzle to Library.</li>
<li class="SmartList1" value="3"><a name="999382"> </a>In the Save dialog box, name the nozzle.</li>
<p id="999383" class="ToDoBody">
<a name="999383"> </a>You can now choose an indexing rule and paint with your 1-Rank nozzle.
<li class="SmartList1"><a name="1008584"> </a>If you want to create your own nozzle libraries, refer to <a href="17-Hose8.html#999623">"Nozzle Libraries"</a>.</li>
<a name="1001484"> </a><i>Painting with a nozzle created from layers.
</i></p>
<p id="999393" class="Body">
<a name="999393"> </a>A 1-Rank Nozzle doesn't mean the images must be in one line. Corel Painter will wrap images onto several lines to create a document of reasonable shape. Corel Painter follows a mathematical rule in reconstructing the rank of images. This rule is contained in the Nozzle Definition. You'll learn more about this in <a href="17-Hose7.html#1005508">"Building the Nozzle"</a>.
<a name="1001510"> </a><i>Nozzles are most useful when they deliver similar images with some irregularity, for example, butterflies on flowers.
</i></p>
<h3 id="999415" class="Heading2">
<a name="999415"> </a>Creating a 2-Rank Nozzle on a Grid
</h3>
<p id="999416" class="Body">
<a name="999416"> </a>Nozzles of two and three ranks cannot be created from a layer group. You must build these nozzles manually.
</p>
<p id="999417" class="Body">
<a name="999417"> </a>The indexing system requires the nozzle images to fit in a regular grid. You can create a nozzle file by setting up a grid and placing an image element at the center of each cell.
</p>
<h3 id="999419" class="Heading2">
<a name="999419"> </a>Determining the Grid Cell Size
</h3>
<p id="999421" class="Body">
<a name="999421"> </a>The cell size is based on the smallest rectangle that will hold the largest image element (including its selection).
</p>
<p id="1005317" class="Body">
<a name="1005317"> </a>To make sure your images fit in the grid, copy your largest image element to a layer. Refer to <a href="14-Layers5.html#1014768">"Creating Layers"</a> for more information.
</p>
<h5 id="999422" class="ToDoHead">
<a name="999422"> </a>To determine the grid cell size
</h5>
<ol type="1">
<li class="SmartList1" value="1"><a name="999429"> </a>In the toolbox, click the Layer Adjuster tool <img src="images/17-Hose23.jpg" height="16" width="16" border="0" hspace="0" vspace="0" />
, and choose a layer.</li>
<p id="1005345" class="ToDoBody">
<a name="1005345"> </a>Corel Painter displays the pixel width and height of the layer's content. You might want to use slightly larger values as the grid size.
</p>
<li class="SmartList1" value="2"><a name="999435"> </a>Determine the number of elements you want in each rank.</li>
<li class="SmartList1" value="3"><a name="999438"> </a>Multiply the number of items in Rank-1 by the cell width.</li>
<p id="1005363" class="ToDoBody">
<a name="1005363"> </a>This value is the cell width.
</p>
<li class="SmartList1" value="4"><a name="999440"> </a>Multiply the number of items in Rank-2 by the cell height. </li>
<p id="1005367" class="ToDoBody">
<a name="1005367"> </a>This value is the cell height.
</p>
</ol>
<h5 id="1005383" class="ToDoHead">
<a name="1005383"> </a>To create the grid
</h5>
<ol type="1">
<li class="SmartList1" value="1"><a name="999442"> </a>Choose <span style="color: #000000; font-style: normal; font-weight: bold; text-decoration: none; text-transform: none; vertical-align: baseline">File menu > New</span>, and enter the appropriate width and height dimensions in the Width and Height boxes.</li>
<li class="SmartList1" value="3"><a name="1005410"> </a>In the Grid Options dialog box, set the Horizontal and Vertical Spacing to the values of the cell width and height, and click OK.</li>
<li class="SmartList1" value="4"><a name="1005411"> </a>Show the grid by clicking the Toggle Grid button above the vertical scroll bar on the image window. </li>
<p id="1005472" class="ToDoBody">
<a name="1005472"> </a>The grid should describe the number of elements you want in each rank-Rank 1 horizontally, and Rank 2 vertically.
<a name="1005499"> </a><i>Click the Grid button to display a grid in the image window.
</i></p>
<h3 id="1005508" class="Heading2">
<a name="1005508"> </a>Building the Nozzle
</h3>
<p id="999469" class="Body">
<a name="999469"> </a>Once you have set up the nozzle images in the grid, you can build your nozzle.
</p>
<h5 id="999470" class="ToDoHead">
<a name="999470"> </a>To build a nozzle
</h5>
<ol type="1">
<li class="SmartList1" value="1"><a name="999471"> </a>Place one image element in the center of each grid cell.</li>
<p id="1005518" class="ToDoBody">
<a name="1005518"> </a>The easiest way to do this is with layers. Follow an appropriate progression based on your intentions for controlling this nozzle. Each image element must be included in the selection. If you bring image elements into the grid as layers, they will bring their layer mask with them.
<li class="SmartList1" value="5"><a name="1005570"> </a>Choose <span style="color: #000000; font-style: normal; font-weight: bold; text-decoration: none; text-transform: none; vertical-align: baseline">File menu > Save As</span>, and save the file in RIFF format.</li>
<a name="1005619"> </a>After you build a nozzle, you can load it into the Image Hose.
</p>
<p id="1005670" class="Body">
<a name="1005670"> </a>The first time you load the nozzle file, the Nozzle Definition dialog box appears, where you must enter information about the math use to create the file-the size of each cell and how many image elements there are. Corel Painter needs this information to index images correctly.
</p>
<h5 id="1005678" class="ToDoHead">
<a name="1005678"> </a>To load a nozzle
</h5>
<ol type="1">
<li class="SmartList1" value="1"><a name="1005604"> </a>In the toolbox, click the Nozzle selector.</li>
<li class="SmartList1" value="2"><a name="1006444"> </a>Click the selector menu arrow, and choose Load Nozzle.</li>
<li class="SmartList1" value="3"><a name="999500"> </a>In the Select Image dialog box, choose the nozzle and click Open.</li>
<li class="SmartList1" value="4"><a name="1005667"> </a>In the Item Width and Height boxes in the Nozzle Definition dialog box, enter the values you set in the nozzle file.</li>
<p id="1005683" class="ToDoBody">
<a name="1005683"> </a>These values describe the cell grid size.
</p>
<li class="SmartList1" value="5"><a name="999524"> </a>In the Rank columns, enter the number of image elements in each progression.</li>
<p id="999525" class="ToDoBody">
<a name="999525"> </a>If the values you enter do not describe the file, Corel Painter won't accept them. In other words, the "number of items" multiplied by the "item size" <span style="color: #000000; font-style: italic; font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">must</span> equal the dimensions of the nozzle file.
</p>
<p id="999529" class="ToDoBody">
<a name="999529"> </a>Remember, you still need to modify the settings on the Stroke Designer tab in the Brush Creator to describe the control factors for each rank.
<li class="SmartList1"><a name="1008606"> </a>For more information on setting up the nozzle progression, refer to <a href="17-Hose5.html#999073">"Controlling the Image Hose"</a>.</li>
</ul>
<h3 id="1004575" class="Heading2">
<a name="1004575"> </a>Creating a 3-Rank Nozzle
</h3>
<p id="999532" class="Body">
<a name="999532"> </a>You can create a 3-Rank Nozzle using the grid method.
<li class="SmartList1" value="1"><a name="999544"> </a>Build or open a 2-Rank file.</li>
<li class="SmartList1" value="2"><a name="999547"> </a>Determine the number of elements you want in the third rank.</li>
<li class="SmartList1" value="3"><a name="999549"> </a>Choose <span style="color: #000000; font-style: normal; font-weight: bold; text-decoration: none; text-transform: none; vertical-align: baseline">Window menu > Show Info</span> to show the Info palette, and check the height of the current nozzle file.</li>
<li class="SmartList1" value="4"><a name="999550"> </a>Multiply the number of items in the third rank by the height of the file.</li>
<p id="1005731" class="ToDoBody">
<a name="1005731"> </a>The result you get will be the height of your 3-Rank Nozzle file.
<li class="SmartList1" value="8"><a name="1005790"> </a>Add the correct number of pixels to set the canvas to the height of your 3-Rank nozzle.</li>
<p id="999559" class="ToDoBody">
<a name="999559"> </a>Now you can develop imagery for each item (set) in the third rank.
</p>
<li class="SmartList1" value="9"><a name="999560"> </a>Choose <span style="color: #000000; font-style: normal; font-weight: bold; text-decoration: none; text-transform: none; vertical-align: baseline">Edit menu > Paste</span>, and position the pasted layer in the area you added. </li>
<p id="1005807" class="ToDoBody">
<a name="1005807"> </a>The images should be centered in the grid cells.
<li class="SmartList1"><a name="1008614"> </a>If this is a new file and you did not define it as a 1- or 2-Rank nozzle earlier, refer to <a href="17-Hose7.html#999415">"Creating a 2-Rank Nozzle on a Grid"</a>.</li>
<li class="SmartList1"><a name="1005855"> </a>If you previously defined this file as a nozzle, you must edit the definition to describe the three ranks you created.</li>