[Approved] - Effect support for MPF UIElements

Discussion in 'Submit: Code Patches' started by morpheus_xx, January 28, 2012.

    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    System Specs
    02_shadereffect_blur 03_pixelate_animate 04_pixelate_animate 05_pixelate_animate 06_pixelate_animate 07_weather 08_dialog_using_zoomblur 09_dialog_using_dialogbg_shader 10_dialog_using_sepia_shader 11_dialog_using_invert_shader 01_imageshader_zoom_blur
    MP2 does currently support shaders to post process video while playback.

    The WPF UIElement specifies a Effect property to allow modifications for rendering (see UIElement.Effect Property (System.Windows)).

    My goal is to:
    Part 1 in principle seems to work already :D
    Part 2 is under work, but I already get outputs.

    To use some of the effects it would be required to pass the complete backbuffer to the shader for processing. My idea for this problem: implement a custom Control like "BackgroundCapture" that is able to use the backbuffer texture within it's dimension on screen.

    The development is done in "Effects" branch in GIT.

    Edit 29.01.2012:
    I've made quite big progress in implementing more Effects and making them more configurable from xaml screens. This allows animations (see screenshots).

    Also I implemented a new user control "BackgroundCapture" that is able to apply Effects to the current background (see dialog example :D)
    • Like Like x 4
    • Team MediaPortal

    morpheus_xx Thread Starter Lead Dev MP2

    System Specs
    AW: Effect support for MPF UIElements

    Updated information and screenshots in 1st post :)
    • Like Like x 4

Share This Page

Users Viewing Thread (Users: 0, Guests: 0)

Running the latest version?

V1.3.0 FINAL - released March 2013
Releasenews | Download
Changelog
 | Requirements
HTPC
Team-MediaPortal
 
About
Contact |  Press
Partners