[Approved] Effect support for MPF UIElements (1 Viewer)

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    02_shadereffect_blur.png03_pixelate_animate.png04_pixelate_animate.png05_pixelate_animate.png06_pixelate_animate.png07_weather.png08_dialog_using_zoomblur.png09_dialog_using_dialogbg_shader.png10_dialog_using_sepia_shader.png11_dialog_using_invert_shader.png 01_imageshader_zoom_blur.png
    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)
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #2
    AW: Effect support for MPF UIElements

    Updated information and screenshots in 1st post :)
     

    Users who are viewing this thread

    Top Bottom