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

morpheus_xx

Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,487
    7,018
    Germany Germany
    Country flag
    • Thread starter
    • Moderator
    • #1
    02_shadereffect_blur.png 03_pixelate_animate.png 04_pixelate_animate.png 05_pixelate_animate.png 06_pixelate_animate.png 07_weather.png 08_dialog_using_zoomblur.png 09_dialog_using_dialogbg_shader.png 10_dialog_using_sepia_shader.png 11_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

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,487
    7,018
    Germany Germany
    Country flag
    • Thread starter
    • Moderator
    • #2
    AW: Effect support for MPF UIElements

    Updated information and screenshots in 1st post :)
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    N [will not fix] Changed settings do not take effect until MP2-Client is stopped and restarted. Submit: Bug Reports 4
    horned_reaper [solved] HID commands are not processed when multiple applications with HID support are open General Support 16
    horned_reaper [solved] Add support for Bluetooth events Improvement Suggestions 2
    CyberSimian Support for control.isvisible() in expressions MediaPortal 1 8
    morpheus_xx [WiP] OnlineVideos: New browser based playback support using WebDriver, new Amazon siteutil MediaPortal 2 14
    M 2nd (Touch-)Display Support on MediaPortal 2 such MPDisplay++? General 2
    J Support waipu TV TV-Server 0
    doskabouter WebDAV support OnlineVideos 0
    K Multichannel audio and subtitles for TV not properly supported General Support 4
    CyberSimian Support pack for Ortek VRC-1100 and Hama 00052451 Remotes 6
    cbr954rr [Finished] [MP2-801] Support for tag image extraction Archive 7
    catavolt [solved] FanartHandler - Skin - Holiday and Spotlight support Fanart Handler 14
    C Drive Type is not supported by system Allgemeines Support- und Diskussionsforum 3
    raffe [solved] Export tool and import support from MP-TVSeries & Moving Pictures to MP2 General 22
    morpheus_xx General Testing TVE 3.5 Sat>IP support (MP2 only) TV Engine 47
    E M3U Playlist and EPG Support/Configuration Installation, configuration support 1
    G Mediaportal2 supported formats General 1
    M [solved] Stub Support General 11
    morpheus_xx [WiP] Adding 64 bit support to MP2 MediaPortal 2 31
    A Mediaportal 1.20 support MediaPortal 1 Talk 3
    Lehmden FTP and WebDAV support. MediaPortal 2 0
    ge2301 [Evaluate] IsHitTestVisible parameter for MPF MediaPortal 2 0
    Top Bottom