T


texture
An image that is mapped onto a geometry to define its surface qualities. This is accomplished with the GeometryBvr.texture (DAGeometry.Texture) method. For example, the following Java code imports a geometry and an image and uses the image to make the sphere look like a marble:
 
      URL mediaBase = buildURL(getImportBase(),"file/c:/DxM/Media/");
	GeometryBvr sphere = importGeometry(buildURL(mediaBase,"geometry/sphere.x"));
	ImageBvr marbleImage = importImage(buildURL(mediaBase,"image/marble.jpg"));
	GeometryBvr marbledSphere = sphere.texture(marbleImage);
tile
The technique of repeating an image over a large area. When applied to an image, the ImageBvr.tile (DAImage.tile) method infinitely replicates the image in all four directions. Typically, tiling is followed either with a ImageBvr.crop (DAImage.Crop) or a ImageBvr.clip (DAImage.Clip)operation, or else it is used to generate the background of a viewport, and is, therefore, implicitly clipped while it is displayed.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.