DirectAnimation Animated Header --T DirectAnimation Animated Header --T* Microsoft DirectAnimation SDK
*Contents  *Index  *Topic Contents
*Previous Topic: S
*Next Topic: V

T


texture
An image that is mapped onto a geometry to define its surface qualities. You do this with the DAGeometry.Texture function (or the Java GeometryBvr.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 DAImage.tile function (or Java ImageBvr.tile method) infinitely replicates the image in all four directions. Typically, tiling is followed either with a DAImage.Crop (or Java ImageBvr.crop) or a DAImage.Clip (or Java ImageBvr.clip)operation, or else it is used to generate the background of a viewport, and is, therefore, implicitly clipped while displayed.

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

*Top of Page