| |
|
|
Genetica Tutorials
Home
>
Products
> Genetica
> Tutorials >
Zooming Textures
This tutorial introduces the mechanics
of zooming textures in order to change the size of their features as
well as make them repeat more or less often.
Step 1
In the Start tab, select the "Stone
Dark" preset category, then click the "Porous Rock" preset texture
(on a smaller screen you may need to scroll down to find the preset).
After a few moments the texture will load. As you can see, the nodes
forming this texture have been packaged into a group. To see those
nodes, click the Edit button appearing over the top right corner of
the Group node.
Now that we have entered the Group, the texture's construction is
revealed: a Substance Lab, which feeds into a Weather Lab, which in turn
feeds into a Sharpen node.
Let's see what the texture looks like when tiled. Set the render
resolution to 150 x 150, then click the Render Texture button.
(Render resolution can be set using the numeric fields towards the right
side of the main button bar. Step 2 of the
Genetica Basics tutorial has an illustration that points out where.)
Step 2
The above image shows the rendered
result from the previous step. One of the texture's features has been
circled in red to show how often it repeats. In a rendered scene where
the viewpoint is fairly close to the texture, these repetitions are
unlikely to be noticeable. However, as the viewpoint moves farther away
from the texture causing a greater number of repetitions to fit in the
scene, the repetitions will become increasingly noticeable as a
grid-like pattern forms. Fortunately, with Genetica's zoom functionality
this problem is easily solved by making a texture repeat less often.
Click the Texture tab to switch back to the main workspace.
Right-click the Sharpen node (the one at the very bottom), and in the
popup menu select Zoom Out Branch > 2X. Next, set the render
resolution to 300 x 300, then click the Render Texture button.
The left image (above) shows the
texture that was rendered in Step 1, while the right image shows what we
just rendered in the current step. As you can see the texture now covers
four times as much surface area without repeating. This means that in
your final scene the viewpoint can be twice the distance from a surface
using our new texture before repetitions become noticeable.
Step 3
The zoom functions affect an entire
branch, in other words, the current node plus all of its children. The
reason the entire texture was zoomed in the previous step was because we
right-clicked the very last node of the texture, which with its children
encompassed the entire texture.
Zoom functions can also be used on individual sub-branches in order to
change the relative sizes/frequencies of a texture's various elements.
Inspecting the texture more closely we can see that it has two main
elements, 1) tiny holes throughout its surface and 2) larger,
lighter-colored mounds that give the surface a bubbly appearance. In
this step we will increase the size of the holes without affecting the
size and placement of the mounds.
If you haven't already switched back to the main workspace, click the
Texture tab. Now right-click the Substance Lab (the one at the
very top), and select Zoom In Branch > 2X. (Note that this time we
clicked Zoom In Branch, not Zoom Out Branch like last
time.)
The above image shows the texture
before and after our most recent Zoom In operation. As you can see, the
holes have been zoomed in while the mounds have preserved their size.
Next: The Using Effect Maps
tutorial shows you how to generate various effect maps, such as bump and
specular maps, for use in your external 3D application.
|
|