locked
How to implement image fading effect in Direct3D11

    Question

  • I want to implement the feature of fading ListView items when they are in a certain state (e.g. to be removed, being selected). A ListView item contains both a title and an image. The image is rendered using the XAML SurfaceImageSource scheme. When the text is faded, we want it to look like the commented code shown in Visual Studio 2012 source code editor. Try pasting the code below in VS2012 to see the effect.

    // SOMEMACRO is not defined
    #if defined(SOMEMACRO)
    #include "someincludefile.h"
    #endif
    I think the blending or fog effect may be the way to go but am not sure. Could someone help, thanks.
    Monday, November 12, 2012 4:14 PM

All replies

  • Hi Leonard
    Would you explain more?
    Why are you trying to apply an effect on xaml controls from DirectX11? why don't you use storyboard?


    Best Regards. Pooya Eimandar.

    Wednesday, December 5, 2012 8:57 AM