Future to the fantasy ★ ★
Titania
X3D Editor
Version
3.0

Texture Mapping Editor

Find it: Click the Edit Texture Mapping menu item from the Object menu while a object is selected.

Use to:

  • Fine-tune textures to get rid of seams on polygon objects.
  • Break off instanced polygons to remap texture.
  • Specify exactly how the texture gets mapped onto a face of an object.

How it looks

The Menu Bar

  • Edit
    • Undo and redo of local operations.
  • Selection
    • Select or deselect all points or faces depending on whether the left or the right preview is active.
  • Mappings
    • Use to get best texture mappings for object shape. By default, X3D maps the texture to the most prevalent surface of a model and smears the texture across the rest of the model. Using Mappings, you can change this mapping to reduce or eliminate smearing. For example, to get the best texture mapping for a chess piece, choose Cylinder: Best. You can also select mappings specific to X, Y, and Z combinations.
      Mapping applies to the current polygon selection – before you apply a mapping select the all faces or only the desired faces. This enables you to map different functions to different parts of an object.

Fine-tuning a Texture

Once you apply a texture to an object, you may want to adjust parts of the object by selecting specific polygons in the object and moving, rotating, or scaling the texture by manipulating those selected polygons.

To make the Object > Edit Texture Mapping menu item available (not grayed-out):

  1. Select an object in your scene.
  2. Make the object into a IndexedFaceSet geometry by pressing the Hammer  button.
  3. Open the Texture Editor and apply a texture or drag and drop a image from your file browser into the browser window.

To use the Texture Mapping Editor:

  1. Select Object > Edit Texture Mapping.
  2. In the Texture Mapping Editor, select the polygons onto which you'd like to adjust the texture.
  3. Remap the texture.
  4. Click Apply when you want to apply the changed texture to the selected object in your scene.

Selecting Polygons

When you're fine-tuning a texture using the Texture Mapping Editor, you select the polygons to manipulate in the right side of the editor's window. Adjust your view here the same way you would in the Examiner Viewer. See Viewer Controls and Menus for details.

To select polygons:

  1. Make sure the cursor is in the right side of the Texture Mapping Editor's window (the one with the 3D view).
  2. Click any part of the object to select a polygon. Shift-click to select multiple polygons or just click. You can also drag the mouse to select multiple polygons.

Notice the left window of the Texture Mapping Editor. This is a flat mapping of the texture and the polygons it covers. Switch to this window to choose a part of your selected polygons and move, resize, or rotate the texture. See Remapping a Texture in the Texture Mapping Editor for detailed steps.

Remapping a Texture

To remap a texture:

  1. Make sure you have an area of polygons selected (see Selecting Polygons).
  2. In the left window (the 2D view of the texture) select the button pertaining to the action you want to perform on the selected polygons.
    The arrow  lets you select points of the polygons you have already selected in the left window (it's a sub-selection).
    The next two buttons  work in conjunction with the square orange box, which is the center of rotation and scaling.
  3. Move the center point anywhere on the texture map. Then choose the scaling button or the rotation button, and drag the mouse in the left window. You'll see the texture move with the selected points.
    You can go to the preview window (the right window with the 3D view) at any time to see what the changes will look like.
  4. When you like the way the texture looks, press the Apply button.