Pro Silverlight 5 in VB by Matthew Macdonald

Pro Silverlight 5 in VB by Matthew Macdonald

Author:Matthew Macdonald [Macdonald, Matthew]
Language: eng
Format: epub
Tags: Computers, Application Development, Internet, Programming Languages, Programming, Web, Site Design, Microsoft Programming, Web Programming, Visual BASIC
ISBN: 9781430235187
Publisher: Apress
Published: 2012-01-25T05:00:00+00:00


With these details in mind, you're ready to begin creating your first 3D scene.

Adding Assembly References

Silverlight's 3D support is divided among a handful of assemblies, but eventually you'll need to add references to all of them. They include the following:

System.Windows.Xna.dll: This assembly defines core types like the DrawingSurface control and the GraphicsDeviceManager that manages it.

Microsoft.Xna.Framework.dll: This assembly includes the XNA versions of the Color and Rectangle structures. It also includes the Microsoft XNA–powered audio support you considered in Chapter 12.

Microsoft.Xna.Framework.Graphics.dll: This assembly includes a number of core drawing types, including GraphicsDevice, through which you perform all your 3D drawing on the DrawingSurface.

Microsoft.Xna.Framework.Graphics.Extensions.dll: This assembly includes more essential drawing ingredients. This includes the BasicEffect class, which wraps a number of drawing details and provides a simple, hard-coded pixel shader so you don't need to write it yourself.

Microsoft.Xna.Framework.Graphics.Shaders.dll: This assembly includes the PixelShader and VertexShader classes that let you load your own shaders, provided you have the compiled HLSL (High Level Shader Language) code.

Microsoft.Xna.Framework.Math.dll: This class includes basic ingredients for 3D calculations with points and matrices, such as Vector3 and Matrix.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.