Previous Topic Tutorial Home Page Next Topic
GeoImage Tutorial Introduction


GeoImage imports a list of pictures and corresponding labels. It textures a picture on a rectangle while preserving aspect ratio (the picture is called the GeoImage). The texturing takes place on both sides of the rectangle so that the picture is seen from either side. The sample animates the geoimage in 3-D, punctuates when the geoimage is in the image plane with an audible tick, uses arrow keys and the space bar to cycle through the pictures and corresponding labels, and renders the original picture as a bitmap, the animate geoimage, and the label.

The key DirectAnimation points that are demonstrated include:
- aggregate events using orEvent
- creating a counter with application event data and the untilNotify method
- using number behaviors as indexes to arrays of behaviors
- newUninitbvr and init for looping transform and sound
- texturing images on rectangles while preserving aspect ratio
- 2-D/3-D interplay, via the relation of geoimage with picture
- using sound to punctuate instances in the animation
- rendering text into images



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

Previous Topic Tutorial Home Page Next Topic