Pages

Wednesday 29 August 2012

Creating a WinRT component using C++/CX Part 2: Adding a custom Direct2D effect to DeForm


Creating a WinRT component using C++/CX Part 2: Adding a custom Direct2D effect to DeForm
The previous article introduced the DeForm Library: A WinRT component that used Direct2D to apply filters on a picture.

You can download DeForm from CodePlex

This article will show you how to use the Direct2D effect pipeline to create a custom Direct2D effect. This effect will try to apply some kind of Polaroïd effect by applying many filters in a row:

  • Black&White
  • Sepia tone
  • Saturation
  • Brightness

To do so, you have to create a COM component for Direct2D (handling reference counting and interfaces querying):

Read full article here

No comments:

Post a Comment

Web Informer Button