Castle Sample

This sample is located in \Samples\DirectX\D3drmcastle.

Description
Using the Sample
Key Project Files
Technologies Demonstrated

Description

This sample shows basic Microsoft® Direct3D® Retained Mode features with a focus on the settings required for high-performance rendering.

Using the Sample

The sample accepts joystick or game pad input.

Use the arrow keys to move left, right, up and down. To zoom in use a, to zoom out use z.

Key Project Files

Castle.java

This class creates an instance of the CastleFrame class and adds the Castle canvas.

Castle.x

This file contains raw data that supplies information about the topography

CastleCanvas.java

This class draws the canvas onto a regular Java Canvas.

CastleFrame.java

This class creates a simple frame to contain the CastleCanvas.

Technologies Demonstrated

DirectX

© 1999 Microsoft Corporation. All rights reserved. Terms of use.