3-D Cube

This example displays a three-dimensional cube. To display a 3-D object, use some sort of lighting and a camera. For lighting, this demonstration uses both a PointLight and a DirectionalLight. To render the image, it uses a PerspectiveCamera. To make it clearer that the cube is three-dimensional, rotate it around the x-axis with the Rotate3Anim function.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.