You are previewing Instant Silverlight 5 Animation.
O'Reilly logo
Instant Silverlight 5 Animation

Book Description

Enrich your Web page or Silverlight business application with Silverlight animations

  • Animate Silverlight page navigation

  • Build and animate Silverlight custom controls

  • Create animated textures using Perlin noise in Silverlight

  • Build 3-d animations in Silverlight

  • Build banner ads in Silverlight

In Detail

Creating Silverlight Custom Controls with Animations

Imitating fire using Perlin Noise

Imitating clouds using Perlin Noise

Building 3-d Effects using Projection Transform

Creating 3-d animations by using a Silverlight subset of XNA functionality allowing adding High Level Shader Language code to be executed on the Graphics card to a Silverlight application

Building a Silverlight banner ad and adding it to an HTML page

Table of Contents

  1. Instant Silverlight 5 Animation
    1. Table of Contents
    2. Instant Silverlight 5 Animation
    3. Credits
    4. About the Author
    5. About the Reviewer
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
        3. Instant Updates on New Packt Books
    7. Preface
      1. What is Silverlight
      2. Why should I use Silverlight
      3. What is the downside of using Silverlight
      4. What this book covers
      5. What you need for this book
      6. Who this book is for
      7. Notes on the samples
      8. Conventions
      9. Reader feedback
      10. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Building Blocks of Animation
      1. Spinning control sample
      2. Defining a dependency property in C# code
      3. Defining visual presentation for spinning control
      4. Bindings
      5. Transforms
      6. Storyboards and animations
        1. Adding a rotation animation to our code
        2. A brief overview of different Silverlight animation classes
      7. Attached properties
      8. Summary
    9. 2. Animations in Business Logic Silverlight Applications
      1. Animating Silverlight controls
        1. Tools for animating controls
        2. Animating a built-in button
        3. Creating and animating custom button control
      2. Animating navigation panels
      3. Summary
    10. 3. Creating Animated Textures
      1. Background on Perlin noise
        1. A bit of history
        2. Perlin noise algorithm
          1. Multi-scale Perlin noise
          2. Basic Perlin noise
        3. Perlin noise algorithm implementation
      2. ImageProcessingLibrary
      3. Cloud simulation
      4. Fire simulation
      5. Summary
    11. 4. 3D Animations in Silverlight
      1. Perspective transform
      2. Silverlight 5 three-dimensional functionality
        1. 3D models
        2. Vertex and pixel shaders
          1. Compiling pixel shaders
          2. Enabling your Visual Studio 2010 SP1 or Visual Studio 2012 to create and compile shaders
            1. Adding shader compilation to your Visual Studio 2010 SP1 project
            2. Adding shader compilation to your Visual Studio 2012 project
      3. Creating the moving triangle application
      4. The moving prism application
      5. The 3D related topics that were left out
      6. Summary
    12. 5. Building an Animated Banner
      1. What we aim to build
      2. The globe image
      3. Perspective transform
      4. Code description
        1. Referring to the globe image within an XAML file
        2. Creating rotating lines of text
        3. Animation storyboard
        4. Placing the Silverlight banner within an HTML file
      5. Summary
    13. A. Creating and starting a Silverlight project
    14. B. Changing the XAML formatting
    15. C. Installing snippets
    16. D. Using snippets
    17. Index