What’s New in the WPF November CTP — Also Breaking Changes

Okay, I can get back to blogging about Avalon now that the November CTP is out.  (Silent periods on my blog are either because I’m on the road or on a build of Avalon that isn’t public yet.)  Rather than repeat the URLs, see my good man Tim’s blog post

I’ve got an article coming out on MSDN that goes over what’s new and breaking changes, but it won’t hit MSDN until the first week in December.  So, I’ve posted a draft hereThe code samples, which include a very handy tool for fixing the mini-language breaking change, are live.  They also include some nifty samples that show off the new CompositionTarget feature, which is a per-frame callback mechanism for doing custom animations.  Here’s some screen shots to wet your appetite, although they don’t do the animations justice.


Thanks to Adam Smith on the Avalon team for the mini-language fix tool and the Avalon animation team for the CompositionTarget code samples.

Comments (6)

  1. This is pretty interesting. I have a question that is somewhat related to animation.

    From what I understand, WPF will drop frames in order to always sync with the media timer (for example, if sound is playing, or something like that, it will drop animation frames in order to keep synced).

    Is there a way to tell WPF NOT to do that? The case I am thinking of is where I want to render a scene in WPF, for example (using primitives and the like, or whatever I want). However, I want to render it in such a way where I capture the output and put it into video (where I want to make sure I render each frame correctly, no matter how long it takes, and where the synchronization with the media is a non issue at this point).

    This way, I could render my scenes (and we are talking about text/shape overlays, nothing overly complex), and have them rendered frame by frame (if that is what I am seeking) completely, without anything being dropped.

    Hopefully, that makes some sense, and is not completely off topic. =)

  2. Nicholas,

    You can drive the overall clock yourself and capture each clocked frame to a video. I think we have a sample that does this (at least we used to).

    Obviously, this will not work for audio.


  3. WOOHOO! good to see my intern project making it into this CTP.

    Thanks for getting the word out Karsten!

  4. karstenj says:

    Brandon — you are the man! Those samples are great!

  5. La version "november CTP" du runtime WinFX, compatible avec les versions finales de .NET 2.0 et…

  6. La version "november CTP" du runtime WinFX, compatible avec les versions finales de .NET 2.0