Set Face Texture
KeyCreator \ Tools \ Face-Tools \ Set-Face-Texture

image\SetTexture.gif

Textures may be applied to or removed from either faces or solids .By default the faces will be highlighted, use the toggle selection to choose the solid. Texture files can be either *.bmp or *.jpg files, of any size or dimension. All size values are expressed as number-of-pixels. The function used to be called up in Tools>Face Tools but is being phased out by the Part Splitter Material tab and in Edit>Entities>Set Material Properties.

 

Dialog Options:

image\EDIT_entities_settexture_dialog.gif

Choose Options

Specify whether to apply or remove textures. This feature is set to Apply… by default.

Apply To:

Specify where the application or removal of texture(s) will occur:

  • Individual Faces – When selected, textures will be applied to (or removed from, depending what was specified under Choose Option) individual faces. You will later be prompted to indicate these individual faces.

  • Entire Bodies – When selected, textures will be applied to (or removed from, depending what was specified under Choose Option) entire bodies. You will later be prompted to indicate the body(s).

Texture Options

Configure the available Texture Options:

  • Geometric Mapping - Geometric Mapping takes the partial derivatives of the face in its parametric center and uses them to scale the mapping so as to stretch the texture equally in both directions. This is the default mapping it is best used to apply a texture to several adjacent faces.

  • The U Tile Size and V Tile Size input fields can be used to control the size of the tile itself. A rotation angle for the tile can be entered as well.

image\IMG00098.gif

Above > A blended block with a wood grain texture geometrically mapped

  • Parametric Mapping - Parametric Mapping uses the face’s own parameterization to map the texture map. If the parameterization has the same speed in both the U and V directions, then parametric mapping and geometric mapping will be the same. A case where parametric mapping should be used instead of geometric mapping is when a latitude longitude based texture is to be mapped onto a sphere.

    You can specify the number of tiles to use in both the U and V direction using the appropriate input fields in the dialog; the tiles will be scaled appropriately. A rotation angle for the tile can be entered as well.

image\IMG00099.gif image\IMG00100.gif

Above Left > Latitude Longitude Texture of the Earth
Above Right > Parametric Mapping Onto a Sphere With 90 Degrees Rotation.

  • Aspect Ratio - Aspect Ratio is much like geometric mapping in that it uses the partial derivatives of the face’s parametric center to stretch the texture equally in both directions.

  • However, in addition to adjusting the U and V stretching based on your input, it also adjusts the scale so as to place one untiled texture onto the face. This option is best to use when mapping portraits or non-square logos onto a single face. The default tile values of 1 and 1 will symmetrically clip the texture in its longest dimension so as to fit on the face. If you do not want the texture to be clipped then it is necessary to set the tile values to the texture width divided by the texture height.

Browse Textures

Select the BROWSE TEXTURES button to browse for the texture to apply.

The following image file types are supported through this function: .BMP, .JPG, .JIF, .DIB, .PCX, .TIF and .TGA.

Notes on Texture bitmaps:

  • Image units are pixels. Bitmaps can be any size – (e.g., 2, 4, 6, 128… pixels).

  • Images do not need to be square (e.g., 14 x 16 pixels is acceptable).

  • Images should have a 24-bit color depth. (This can be specified in the program used to create the bitmap.)