Granite solid texture

Special Note

See Common Solid Texture Parameters for descriptions of the Recursion Depth, Solid Noise, and 3D Placement parameters.

The Granite solid texture is essentially the same as the Leather texture, with the additional feature that three cell colors can be specified as opposed to single cell color in a Leather texture. The Granite texture is a simulation of three different substances suspended in a medium.

Tip: Granite is a very expensive procedure. Try to convert it to a file texture whenever possible.

Granite Texture Parameters

Color1/Color2/Color3

Color1, Color2 and Color3 represent three cell or substance colors. The slider controls only affect the value of the current colors, based on the standard HSV scale. By clicking directly on either color swatch, the standard color editor is displayed where you can change the actual RGB color values.

Filler_color

Equivalent to the Crease_color in the Leather texture. The slider control only affects the value of the Filler color, based on the standard HSV scale. By clicking directly on the color swatch, the standard color editor is displayed where you can change the actual RGB color values.

Cell_size

The value in this slider affects the general size of the texture and is equivalent to scaling the texture DAG node.

Density

The value in this slider affects the average number of spheres per node of the 3D lattice used in the procedure. The spheres are fully packed at a density value of 1.0.

Mix_ratio

Allows for the three different substances to be mixed in different proportions. At a value of 0.0, Color1 is the highest in terms of proportion to the other two colors. At a value of 0.5, Color2 is the highest and at a value of 1.0, Color3 is the highest.

Spottyness

The value in this slider affects the randomization of the general intensity of the Cell_color. At a value of 1.0, the intensity is fully random (if the threshold parameter is set to 0.00).

Randomness

The spheres or cells are oriented in a regular 3D lattice by default. The position of the spheres is perturbed by the Randomness value. At a value of 1.0, the sphere location is totally random and at a value of 0.00, the location of the spheres is totally regular.

Threshold

The value in this slider affects the amount that the two colors used in the procedure mix into each other. At a threshold of 1.0, no mixing occurs and the spheres appear as solid color dots.

Creases

If set to ON, the spheres don't mix with each other. This creates boundaries like those found in a collection of living cells. The resulting texture has edges that resemble creases in leather. If set to OFF, the spheres diffuse uniformly into each other and no straight line segments appear on the resulting texture.

Leather solid texture

The Leather solid texture is ideal for creating a range of effects such as concrete, Styrofoam and alligator skin, as well as leather.

For many applications, a simple image file of leather will suffice for a good leather simulation. However, it is sometimes nearly impossible to map a file texture to a surface without distortions and discontinuity (mapping a simple two-dimensional file texture to an automotive dashboard, for example). Chord Length texture mapping may work or Worldspace texture mapping may provide a solution to this problem, but it requires more effort and does not work for all possible topologies.

The procedural Leather texture overcomes these problems by using a 3D noise of spheres to simulate a leather surface. This texture is unlike leather in that real leather is a surface, and not a substance. However, this texture can nicely simulate many types of animal skin, particularly when used as a bump map.

If the surface is deformed during an animation (morphing), then the effect will not be natural, as the surface will move through the solid texture. To correct this use Convert Solid Tex in the Multi-lister.

The texture is made up of a collection of spheres suspended in a medium.

Leather Texture Parameters

Cell_color

Affects the color of the spheres used in the procedure. The slider control only affects the value of the current color based on the standard HSV scale. By clicking directly on the color swatch, the standard color editor is displayed where you can change the actual RGB color values.

Crease_color

Affects the color of the medium in which the spheres are suspended. The slider control only affects the value of the current color based on the standard HSV scale. By clicking directly on the color swatch, the standard color editor is displayed where you can change the actual RGB color values.

Cell_size

Affects the general size of the texture and is equivalent to scaling the texture DAG node.

Density

Affects the average number of spheres per node of the 3D lattice used in the procedure. The spheres are fully packed at a density value of 1.0.

Spottyness

Affects the randomization of the general intensity of the Cell_color. At a value of 1.0, the intensity is fully random (if the threshold parameter is set to 0.00).

Randomness

The spheres or cells are oriented in a regular 3D lattice by default. The position of the spheres is perturbed by the Randomness value. At a value of 1.0, the sphere location is totally random and at a value of 0.00, the location of the spheres is totally regular.

Threshold

Affects the amount that the two colors used in the procedure mix into each other. At a threshold of 1.0, no mixing occurs and the spheres appear as solid color dots.

Creases

If set to ON, the spheres don't mix with each other. This creates boundaries like those found in a collection of living cells. The resulting texture has edges that resemble creases in leather. If set to OFF, the spheres diffuse uniformly into each other and no straight line segments appear on the resulting texture.

Projection solid texture

This feature is available in Alias PowerAnimator, Studio, and AutoStudio, and is a purchasable ConceptModeling option

The Projection procedure can be thought of as the solid equivalent of a two-dimensional texture. Projection provides a method for converting 2D textures into 3D solid textures.

Note: If you are projecting a file texture, make sure that you have set the Filter in the File texture to either None or Blend. The use of higher order (Quadratic, Quartic, and Gaussian) filters will not give you the expected projection.

A solid file texture can be extremely beneficial as it is not affected by the parameterization of a surface. Therefore, a solid file texture is not prone to the same distortion that can occur when mapping a surface texture to a surface with uneven parameterization.

Projection Texture Parameters

The Projection texture procedure requires the input of a source texture (use a File surface texture if you want to use a Pix image). If the input source texture is a file, it can be projected in five different ways using the Projection option parameter.

Note: Environment and Solid textures are not recommended as source textures for the Projection procedure. Although the system will allow you to use an Environment or Solid texture, the results are unpredictable.

Projection Types

Click to the right of the Projection heading to display the following menu.

CAMERA

This menu item only works if you have an image plane in a window (File Import age image plane). Projects an image plane onto the object in the same way as seen through the camera (or whichever window you are using). When you select this menu item, the following is displayed:

Click the window toggle (which is the window the image plane is in-in this case the Front window), select the Source Texture by clicking the Map... button to open the Texture Procedures window, then click the Create button.

See the Concept Modelling Workflow in Learning Alias-Level One, Lesson 33, Concept Design, for more information.

CONCENTRIC

Projects a vertical slice of the texture from the inside to the outside edge of a voxel. The vertical slice used is randomly chosen for each voxel. This is useful with Ramp especially if the Texture Placement Object is scaled small.

TRIPLANAR

Projects the texture by extruding it along the axis defined by the maximum current direction of the surface normal.

Tip: Using a TRIPLANAR Projection Type on a sphere and then rendering the sphere may help give you a more intuitive understanding of this type of projection.

CUBIC

Creates six copies of the texture and then projects them outwards from (0,0,0) in a pyramidal fashion. Imagine a cube with the source texture on each face, and extruded through space by scaling to infinity. This mapping technique is useful in that it entails no pinch points. Therefore, you can cubically map repeating textures such as Checker or Cloth onto a sphere, so that no seams or pinch regions are visible.

BALL

Projects the texture in a manner similar to a candy wrapper being pulled around a lollipop. There is one pinch point to the mapping at the -z-pole, as opposed to the two pinch points at the +y and -y poles in SPHERICAL and CYLINDRICAL mapping.

CYLINDRICAL

Wraps the texture 360º around the Y-axis in a tube fashion. The texture is located between 1 and -1 as it wraps along the Y-axis.

SPHERICAL

Wraps the texture 360º around the Y-axis in a spherical fashion centered on 0,0,0.

PLANAR

Projects the texture by extruding it along the local Z-axis of the current texture transformation.

Mapping Techniques

All of these mapping techniques can be further modulated by rotating and non-p scaling the texture placement icon. The Solid Noise parameters will work in conjunction with any projection method.

When the noise amplitude is set to 0, the image file specified is simply projected through space. When the noise amplitude is not equal to 0, the projection is perturbed with fractal noise (this takes much more time to render).

The Projection texture works in a similar fashion to sMarble and sWood: it moves an image through space, creating a solid block with the image on it. Therefore, if you want to create solid marble and solid wood textures from scanned-in images or painted image files, you can create them using Projection.

Noise Parameters

Xamplitude/Yamplitude

These slider values affect the amount of fractal noise. If the value is 0, some textures will render up to four times faster.

Ratio

The value in this slider is used to determine the ratio for the fractal noise.

Solid Noise Parameters

There is an extra parameter in the Projection Solid Noise parameter window called Stagger. For a description of Xripples, Yripples, and Zripples, see Common Solid Texture Parameters.

Stagger

When ON, each repeated section of the texture is offset by .5 from the previous section, for example, a 3D brick wall pattern.

Polyset Surface (U,V) Definition

Project to UV - Apply Mapping

This function is used to re-parameterize one or more polysets to match the appearance of a projection map. Typically this would be used for polysets that you wish to animate that use a solid texture, or for polysets that originated in another application and were imported with inadequate texture coordinate information (for example, DXF files).

How to Use

  1. Pick the polyset(s) to be re-parameterized.
  2. Create a new shader and click the Map button beside the color parameter in the shader's editor.
  3. Select the Projection texture from the Texture selection window. Note: The specific parameter that you choose to use the projection map for is unimportant
  4. Select a suitable Projection type in the Projection Texture Parameters window, and make any texture positioning changes that are required (see the description of the 3D Texture Placement Icon in the Introduction to Solid Textures). When all positioning is complete, click the Apply Mapping button in the Polyset Surface(U,V) Definition window.
  5. Create a new shader (or use an existing one) that uses surfaces textures only, (no environments or solids) and assign it to the polyset. This surface will now look identical to a projected shader, but will behave like a surface shader.

Tip: If the texture positioning is not satisfactory when rendered, the polyset can be re-parameterized by altering the values of the projection texture, and or the 3D placement, and clicking the Apply Mapping button again.

Note: This function is similar to Multi-Lister Edit Convert solid tex, which can only be used on spline based surfaces.

Using a Solid File Procedure other than Projection

If you want to use one of the solid file procedures, such as sMarble, Leather or Granite, for example, as opposed to an image file image:

  • Double-click on the shader icon to display the shader's editor.
  • Click the Map button applicable to the type of texture map you want to assign to display the Texture Procedures window.
  • Select the Solid texture of your choice.
  • Using a Projection procedure to use non-solid procedural maps and files

    If you want to use an image file or other non-solid texture in solid procedure application:

  • Double-click on the shader icon to display the shader's editor.
  • Click the Map button applicable to the type of texture map you want to assign, to display the Texture selection window.
  • Select the Projection procedure from the list of solid texture choices.
  • Click the arrow to the right of the Source Texture parameter heading to display the file parameter window.
  • In the File Textures Parameter window, click the Browse button to display the File Requestor from which you can select the appropriate image file to be used as the solid texture. If you know the filename, you can type the filename and path directly into the Image parameter field and press Enter. Effectively, any of the standard surface textures are converted into solid textures when using this technique.
  • Hints & Tips

    For textures that use fractal noise-Fractal, sFractal, sCloud, sMarble and Project -if both the min and max iteration values are very high (greater than 100), a render can take a very long time. You cannot enter values over 100 interactively. Generally, if you want a finer-grained texture, you may prefer to lower the blur rather than increasing the iteration count.

    All surface placement parameters can be used when using a file texture in a Solid texture procedure. For more information on using these parameters, see Common Surface Texture Parameters.

    sCloud solid texture

    The sCloud procedure is commonly used to create effects such as smoke and steam in addition to clouds.

    The transparency level of the cloud area itself can be interactively adjusted. The area surrounding the cloud is always transparent, regardless of the type of mapping used.

    sCloud requires that the geometry being textured is a sphere. The spheres can be transformed in any way (for example, non-proportionally scaled), but the actual base component must be a sphere. Any other geometry will give unreliable and/or unpredictable results, although you are not prevented from doing so.

    sCloud Texture Parameters

    Color1/Color2

    When used as a color map, fractal noise is used to blend between the two colors specified by the Color1 and Color2 parameters. The thresholded fractal is multiplied by the blended color. For example, if applied as an incandescence map to a transparent ellipsoid, the result is the effect of a puff of flaming gas. The ellipsoids should be sausage-shaped rather than disk-like. If the texture is applied to non-ellipsoidal shapes, the results will be of unreliable quality.

    Contrast

    Controls the contrast between Color1 and Color2. If Contrast is set to 0, the two colors are averaged across the entire shader. If Contrast is set to a value of -1.0, the colors are reversed.

    Edge Rolloff Parameters

    These parameters are used to determine how the texture's color changes as the surface turns away from the viewer.

    Soft_edges

    If Soft_edges is set to OFF, then there is no edge rolloff effect and the mapping is similar to sFractal, but uses the two color settings. However, clouds are more transparent at the edges than they are in the center, and therefore, the rolloff effect is very useful for simulating natural looking clouds and defaults to ON.

    Transp_range

    The range over which the blended color goes from being visible to invisible depends on the current value of the Transp_range parameter. The larger the value, the more gentle the transition.

    Center_thresh/Edge_thresh

    Determine how diffuse or concentrated the edge rolloff is. A low center threshold with a high edge threshold creates a dense cotton-ball effect. A high center threshold and low edge threshold creates a wispy broken-up cloud effect. Many spheres and ellipsoids can be combined to create complex cloud arrangements.

    Noise Parameters

    Amplitude

    The value in this slider affects the amount of fractal noise. If the value is 0, some textures will render up to four times faster.

    Ratio

    The value in this slider is used to determine the ratio for the fractal noise.

    Using the Cloud Solid Texture

    When using sCloud for non-color mapping, it becomes a solid fractal texture that has an added threshold depending on surface orientation.

    As a surface curves into outline, the threshold is increased and added to the fractal, the result is clipped to 1.0. If this technique is used to transparency map ellipsoids (non-proportionally-scaled spherical patches), the results look like puffs or clouds. If the texture is applied to non-ellipsoidal shapes, the results will be of unreliable quality.

    A series of nested ellipsoids can be used to simulate fiery smoke. Each ellipsoid is given a transparency map defined by sCloud. This procedure creates a fractal with a slope-dependent offset added to it. This leads to an opaque center and a ragged transparent edge. Each ellipsoid looks like a puff of smoke. The fire effect is achieved by making the ellipsoids have different optical properties. The outer ellipsoid is made gray and dim. The inner ellipsoids are made successively brighter and more orange.

    The static appearance is convincing. When the solid textures are animated, the results are good. Each surface description is given a different solid texture transformation, which allows the smoke effects to move at different rates.

    Creating Cloud Effects

    1. Create a white LAMBERT shader (for smoke, use a medium gray shader).
    2. Access the Raytracing parameter window for the LAMBERT shader and set the Refractive Index parameter to a value of 1.00.
    3. Apply sCloud as a Transparency map to the shader (click the Transparency Map... button). Note: Transparency is a 3-channel (RGB) mapping. As a result, sCloud requires the following modifications to work properly as a transparency map.
    4. Select Invert ON (in the Effects window) for the sCloud Transparency map.
    5. Open the Color Editor and set Color1 and Color2 to white. At this point, the shader will look like a very wispy cloud.
    6. To make the cloud more dense, lower the value of Transp_range by adjusting the slider control.

    Creating Flame Effects

    This is as an alternative to using lights with Fog, 2D Noise or Particles. See Using the Multi-lister for more information.

  • Create a black LIGHTSOURCE shader.
  • Access the Raytracing parameter window for the LIGHTSOURCE shader and set the Refractive Index parameter to a value of 1.00.
  • Adjust the Transparency level to its maximum by moving the slider control to the far right. Being totally transparent, the shader should now appear to be invisible.
  • Apply sCloud as an Incandescence map to the shader (click the Incandescence Map... button).
  • Open the Color Editor and set Color1 to pure Green and Color2 to pure Red.
  • Set Transp_range to a value of 0.3 and Center_thresh to a value of -0.5.
  • In the Noise parameter window, set an Amplitude to a value of 2.00
  • Open the Color Balance parameter window and click on the arrow in the color field to the right of the Rgbmult parameter heading to display the Rgbmult Color Editor.
  • Set the value (V) field in the Color Editor to 2.0 by typing the value into the field and pressing Enter.
  • At this point, the shader should look like an orange and red fireball. Assign the shader to a sphere or ellipsoid.

    The transformation icon can also be non-p scaled to create a more vertical looking flame or scaled up to create a smoother match-like flame. Rising smoke can be easily simulated by adding a tall ellipsoid over top of the flame with a black smoke mapping applied to it. (Use the cloud example presented earlier on a black shader.) The smoke transformation icon can then be animated slowly upward as well.

    Note: Applying a non-zero shader Glow can enhance the results.

    To create an explosion effect, animate the sphere being scaled up. To create a roaring fire, animate the transformation icon for the texture moving it upward at a constant rate.

    Creating Glow Effects

    This is as an alternative to using lights with Glow.

  • Create an Incandescence sCloud map, following the instructions for Creating Flame Effects (vary the colors to suit your needs).
  • Set the Noise Amplitude parameter to a value of 0.00 and assign the shader to a sphere.
  • Put the object that you want to glow inside the sphere.
  • Hints & Tips

    sFractal solid texture

    sFractal creates a volume of 3 dimensional fractal noise.

    sFractal Texture Parameters

    Threshold

    The fractal has a Threshold value added to it and the result is clipped to 1.0

    Amplitude

    Used to scale the fractal noise value before it is clipped to 1.0.

    Ratio

    Determines the ratio for the fractal noise function.

    sMarble solid texture

    The sample marble model that is displayed in the Multi-lister by default is made up of horizontal layers of one material called the Vein, sandwiched between layers of Filler material. The vein is assumed to contain a strong pigmenting agent that crosses the boundary and diffuses into the filler material.

    sMarble Texture Parameters

    Filler_color

    Affects the color of the Filler material. The slider control only affects the value of the filler color, based on the standard HSV scale. Click the arrow in the color field to display the Color Editor, from which you can change the RGB color values.

    Vein_color

    Affects the color of the Vein material. The slider control only affects the value of the vein color, based on the standard HSV scale. Click the arrow in the color field to display the Color Editor, from which you can change the RGB color values.

    Vein_width

    The value in this slider affects the thickness or width of the veins.

    Diffusion

    The value in this slider affects the amount of Vein color that blends into the Filler color. When this parameter is set as low as 0.00, the texture will consist of two solid colors. At a value of 1.00, the two colors blend together smoothly, assuming Contrast is set to 0.00.

    Contrast

    The value in this slider affects the level of contrast between the Vein and Filler colors.

    The sMarble procedure takes this image in the front plane and projects it along the depth. In this way, a solid texture is created. If several surfaces are rendered using this effect, they will look as though they were carved from a single block. However, the veins in real marble are not perfect projections along the z-axis. Turbulence in the molten rock before it solidifies, causes the different layers of rock to swirl into each other. This effect may be reproduced using the Noise parameters.

    Noise Parameters

    Amplitude

    The value in this slider affects the amount of fractal noise. If the value is 0, some textures will render up to four times faster.

    Ratio

    The value in this slider is used to determine the ratio for the fractal noise.

    Snow solid texture

    Snow Texture Parameters

    Tip: With the default settings, Snow_color appears on top of the object and the Surface_color appears at the bottom.

    Snow_color

    Affects the color of the snow. The slider control only affects the value of the snow color based on the HSV (Hue, Saturation, Value) scale. Although snow normally remains white, other snow colors can be specified by clicking the arrow in the color field to display the Color Editor.

    Surface_color

    Affects the color of the surface. The slider control only affects the value of the surface color based on the HSV scale. Surface color can be changed by clicking the arrow in the color field to display the Color Editor.

    Threshold

    The value in this slider determines the maximum slope that will hold snow.

    Depth_decay

    The value in this slider determines the rate at which the snow color blends into the surface color.

    Thickness

    This may be thought of as the general level of opacity of the snow (deeper snow is more opaque).

    Tip: The direction of the snow (determined by the wind in the real world) can be changed by rotating the solid texture.

    Hints & Tips

    sRock solid texture

    The sRock procedure is a color solid texture based on the surface (x, y, z) point. The rock effect is created by blending two colors using 3D granular noise. The result resembles rock.

    sRock Texture Parameters

    Color1/Color2

    Affects the color of the two-color components that are used by the procedure to simulate the rock. The slider controls only affects the value of the current colors based on the standard HSV scale. Click the arrow in either color field to display the Color Editor from which you can change the RGB color components of that particular color.

    Grain_size

    The value in this field affects the level of graininess in the rock. Effectively, you are determining how close or far apart the grain patterns are.

    Diffusion

    The value in this field affects the amount that Color1 blends into Color2. When this parameter is set as low as 0.00, the texture will consist of two solid colors. At a value of 1.00, the two colors blend together smoothly, assuming that Contrast is set to 0.00.

    Mix_ratio

    The value in this field is used to specify which of the two colors being used is the dominant color. At a value of 0.00, Color1 is totally dominant. At a value of 1.00, Color2 is totally dominant.

    sWood solid texture

    sWood takes the image in the front plane and projects it along the depth. The sWood texture models a series of thick planks of wood. A cross-section of the log consists of concentric rings or layers.

    Click the black arrow beside the Grain Parameters, Concentric Ring Location and Noise Parameters heading to display the associated parameter window.

    sWood Texture Parameters

    Filler_color

    Affects the color of the Filler portion of the wood layers (the portion of the wood into which the Vein color fades into). The slider control only affects the value of the current Filler color based on the standard HSV scale. Click the arrow in the color field to display the Color Editor from which you can change the RGB color values.

    Vein_color

    Affects the color of the Vein portion of the wood layers, which fades into the Filler region. The slider control only affects the value of the current Vein color based on the standard HSV scale. Click the arrow in the color field to display the Color Editor from which you can change the RGB color values.

    Vein_spread

    The value in this field affects the diffusion from the vein into the filler color, where the diffusion can be thought of as the amount of the vein color that fades into the filler color.

    Layer_size

    The layer spacing in terms of the unit square is controlled using Layer_size. The layers for the first few years are thinner than this.

    The number of years it takes to reach full thickness is given by Age. The individual layers are not all the same thickness. They are created using random perturbations of their thickness, which is controlled using Randomness. Each layer consists of a dark fine region or Vein that fades into a lighter Filler region. The diffusion from the vein into filler is controlled by Vein_spread. The origin around which the rings grow is defined by the Center_u and Center_v parameters in the Concentric Ring Location parameter window. They should not be less than -3.0 or greater than +3.0.

    Randomness

    The individual layers that make up the wood are not all the same thickness in nature. Randomness affects the thickness of the individual layers using random perturbations in the procedure.

    Age

    The central layers of the wood are thinner than the outer layers due to the way wood grows. The Age parameter affects the thickness of the outer layers of wood.

    Grain Parameters (spots)

    Grain_color

    There is a random grain in the wood. The grain color is controlled using the sliders for Grain_color. This color is then blended with the local wood color in an amount that depends on the Grain_contrast.

    Grain_contrast

    Consists of random threads of color that appear as dots on the tree cross-section.

    Grain_spacing

    Controls the average distance between neighboring dots.

    Concentric Ring Location

    Center_u/Center_v

    The origin around which the rings grow are defined by the Center_u and Center_v directions. They should not be less than -3.0 or greater than +3.0.

    In this way, a solid texture is created.If several surfaces are rendered using this effect, they will look as though they were carved from a single block. The grain in real wood is not a perfect projection along the z axis. Random variations in growth make the wood layers deform. This may be represented using the Noise parameters.

    Noise Parameters

    Xamplitude/Yamplitude

    These slider values affect the amount of fractal noise. If the value is 0, some textures will render up to four times faster.

    Ratio

    The value in this slider is used to determine the ratio for the fractal noise.

    Note: sWood will render faster if the noise amplitudes are set to 0.

    Volume solid texture

    The Volume texture is usually used as a color map for BALL environment texture, instead of using File. BALL environment textures always have a "pinch point" or bad spot. By using multiple ball pictures, and using the Volume texture, you can avoid this spot. The system will always choose the image file furthest away (radially around "up") from the bad spot.

    Volume Parameters

    Any number of ball images (32 is reasonable maximum) can be used.

    From

    The extension number of the first file in the sequence.

    To

    The extension number of the last file in the sequence.

    Pix Sequence

    The name of any file in the sequence of images (for example, pixfile.4). If you do not know the name of the file you want to use, click the Browse button. The File Requestor is displayed from which you can select an appropriate image file.





    aliasdocs@aw.sgi.com

    Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.