Viewer Sample

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

Description
Using the Sample
Key Project Files
Technologies Demonstrated

Description

This sample shows Microsoft® Direct3D® Retained Mode features, including different lighting and rendering styles, different models, and fog.

You must have Microsoft® Windows NT® 4.0 Service Pack 3 (SP3) or later installed to run this sample. See the DirectX release notes for installation details.

Using the Sample

To use the sample

You can perform the following actions with this sample:

Key Project Files

Viewer.java

This class creates an instance of the ViewerFrame and adds the Viewer canvas.

ViewerCanvas.java

This class draws the canvas onto a regular Java Canvas.

ViewerFrame.java

This class creates a simple frame to contain the ViewerCanvas.

ViewerSelection.java

This class applies the user selection to the drawing.

*.x files

These files contain raw data that supply information about the objects displayed in the viewer.

Technologies Demonstrated

DirectX

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