Silverlight 3-D Effects (Perspective Transforms)

You can apply 3-D effects to any Silverlight UIElement using what are called “perspective transforms.” For example, you can create the illusion that an object is rotated toward or away from you, as shown in the following illustration.

Image with Perspective Transform

Although the preceding illustration shows a perspective transform applied to a simple image, you can apply one to any UIElement, including controls. For example, you could apply the effect to a Grid that in turn contains a TextBox and Button. Despite the controls being rotated, the user could type into the TextBox and click the Button (assuming the controls are visible).

Another common scenario for using perspective transforms is to arrange objects in relation to one another to create a 3-D effect, as shown in the following illustration.

Stacking objects to create a 3-D effect

Besides creating static 3-D effects, you can animate the perspective transform properties to create moving 3-D effects.

[silverlight:http://blog.arvixe.com/wp-content/uploads/2012/08/AnimatedPerspective.xap, 640, 480]

Looking for quality Silverlight Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , | Posted under 3rd Party Software, Programming/Coding | RSS 2.0

Leave a Reply

Your email address will not be published. Required fields are marked *


9 + = 16

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>