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

Silverlight and the cameras

So far, we have been controlling cameras in an WPF XBAP application. We used Expression Blend to interact with a perspective camera's properties and saw the models rendered in a Viewport3D. Now we want to do this using Silverlight, which does not have an official support for Viewport3D and its cameras. How can we control cameras on the fly using real-time rendering in Silverlight 3?

We can do this using the Camera class and its default instance provided by Balder. Everything we have learned so far about the cameras is also useful when working with Balder's cameras in Silverlight. We began working with an WPF XBAP application because cameras are indeed complex components and we could preview the changes as we modified ...

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