O'Reilly logo

3D Game Development with Microsoft Silverlight 3 Beginner's Guide by Gastón C. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action—performing transformations

Your project manager brings you a diagram that illustrates how to show each spaceship to the player. The camera has to rotate around the model, as shown in the following diagram:

Time for action—performing transformations

Now, we will take advantage of the transformations defined for the perspective camera. We will see how to move and rotate the camera around the model using Expression Blend:

  1. Stay in the 3DInvadersXBAP project.
  2. Change the perspective camera's properties to get a whole picture of the spaceship, as shown in the following screenshot:
  3. Expand the Transform panel for the perspective camera.
  4. Click on the Rotate tab and change the values for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required