magazine resources subscribe about advertising

New Architect Daily
Commentary and updates on current events and technologies

CMP Media E-Book

Download your copy today.

Research
Search for reports and white papers from industry vendors and analysts.

This Week at NewArchitect.com Subscribe now to our free email newsletter and get notified when the site is updated with new articles







Day of Defeat Online Gaming

 New Architect > Archives > 1997 > 07 > Virtual Worlds  

Basic Texture Mapping and Performance

By Andrea L. Ames

Textures make 3D worlds look more realistic, and it's easier to map textures than to build the intricate geometry necessary to convey the same sense of realism. Yet texture mapping isn't always the way to go. In this column, I'll explain basic VRML texture mapping so that you'll be able to determine the most appropriate circumstances under which to map textures.

Basic Texture Mapping

Texture mapping is like applying stickers or decals, but with more control. To map a texture, you need geometry and either an image, pixel, or movie texture; see Table 1. Basic texture mapping is pretty easy:

  1. Build a VRML shape.
  2. Specify a texture as part of the shape's appearance.
  3. Specify the geometry onto which you want the texture mapped.

The example shown in Listing One and Figure 1 is a brick-pattern image texture designed to be repeated, and the geometry is a VRML box. A texture node (ImageTexture, PixelTexture, or MovieTexture) is specified as a value of the Appearance node's texture field.




  Day of Defeat Online Gaming

home | daily | current issue | archives | features | critical decisions | case studies | expert opinion | reviews | access | industry events | newsletter | research | careers | info centers | advertising | subscribe | subscriber service | editorial calendar | press | contacts


Copyright © 2006 CMP Media, LLC Read our privacy policy, your California privacy rights, terms of service.
SDMG Web sites: BYTE.com, C/C++ Users Journal, Developer Pipeline, Dr. Dobb's Journal, DotNetJunkies, MSDN Magazine, Sys Admin,
SD Expo, SD Magazine, SqlJunkies, The Perl Journal, Unixreview, Windows Developer Network, New Architect

web2