LetsTalkCode.com
Programmers talking about code

Mix – What’s New in Silverlight 3

March 18, 2009 09:11 by JeremySharp

Joe Stegman – Group Program Manager

Glboal notes:

  • Agenda talking about the Core Runtime.
  • Business libraries, Tooling and other core concepts being presented in other sessions.
  • Improved XAP compression built into the tools. 10 to 30% reduction in XAP size. Blend Bits available today. IMG_0165

Meeting notes

  • GPU Acceleration – quick tour, several other talks on media
  • Perspective 3D – put 2D objects in 3D space.
  • Animation Easing – Add it into a “perspective plane” <PlaneProjecton x:name=”P3”  rotationY=”-30”> around media element </>
    • UI to UI binding !!
    • EasingFunction – smoothness of animations
    • exported to excel looks easier.
  • Effects and Pixel Shaders
    • Effects
      • impact visual behavior
      • sl3 supports drop shadow and blur
    • SL3 supports cusom effects
      • cusom effects are implemented as shaders
      • shaders typically authored using HLSL
        • compiled into byte code using a DX SDK utility
        • SL3 consumes the byte codes
      • shaders allow developers to modify each pixel on a UI element before the pixel is rendered
      • shader = a per-pixel function or operation
  • Pixel APIs
    • Dynamic bitmap generation
      • read/write pixels in a bitmap
    • render a visual tree (elements) to a bitmap
  • Scenarios
    • Dynamic image generations for ex RT graphs
    • Image editing and effects
    • clone visual
  • Raw Audio
    • similar to pixel API’s but for audio / video
    • Scenarios
      • dynamic sound generation
      • custom audio/video decoders

DEMO

  • Played video created multiple snapshots of video on a mouse click
  • Demoed DropShadow effect
  • Shaders and effects

ChessDemoLOCAL MESSAGING

  • Cross plug in SL communication
    • Multiple plugin on same page, different browser tabs, different browsers
  • Implementation
    • shared memory imp
    • exposed like named pipes
    • string based message
  • Scenarios
    • mixed HTML and SL architecture

DEMO

  • Bouncing balls across multiple browsers
  • Chess game (browsers playing each other) :)

UI framework Improvements

  • Merged resource dictionaries
  • basedOn Styles
  • Styles can be “cleared”
  • Muliti0select ListBox
  • Listening to “handled” routed events
  • new VSM “invalid” states
    • Support on TextBox, CheckBox, ComboBox, ListBOX, RadioButton
  • More details: (Karen Corby) Friday presentation

Other Improvements

  • SystemColors
  • Savefile dialog
  • Text Improvements
    • ClearType
    • caretBrush
    • flag to optimize for animating text
    • Glyphs Support for system font
  • Image Refinements

NEW SDK

  • DockPanel
  • expander
  • label
  • treeview
  • viewbox
  • wrappanel
  • child…
  • ….
  • ….. IMG_0171

Other BIG additions

  • In the business talk 
    • Navigation framework
    • data control
    • SEO
    • n-tier
    • … .

OutOFBrowser

  • SL runs out of the browser
  • built into the core Silverlight runtime
  • enabled per application
    • manifest update
  • user gesture to take OOB
    • right click
    • custom button in the app
  • new networking API’s
    • connected / Disconnected
  • Offline API’s
    • launch state, update API’s

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading