home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Submit: Code Patches
Effect support for MPF UIElements
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="morpheus_xx" data-source="post: 838640" data-attributes="member: 48495"><p>[ATTACH]97923[/ATTACH][ATTACH]98049[/ATTACH][ATTACH]98050[/ATTACH][ATTACH]98051[/ATTACH][ATTACH]98052[/ATTACH][ATTACH]98053[/ATTACH][ATTACH]98054[/ATTACH][ATTACH]98055[/ATTACH][ATTACH]98056[/ATTACH][ATTACH]98057[/ATTACH] [ATTACH]97922[/ATTACH]</p><p>MP2 does currently support shaders to post process video while playback.</p><p> </p><p>The WPF UIElement specifies a Effect property to allow modifications for rendering (see <a href="http://msdn.microsoft.com/en-us/library/system.windows.uielement.effect.aspx" target="_blank">UIElement.Effect Property (System.Windows)</a>).</p><p> </p><p><strong>My goal is to:</strong></p><ul> <li data-xf-list-type="ul">use the existing partial video rendering effects (see <a href="https://forum.team-mediaportal.com/submit-code-patches-533/more-shader-effects-97717/" target="_blank">https://forum.team-mediaportal.com/submit-code-patches-533/more-shader-effects-97717/</a>)</li> <li data-xf-list-type="ul">use the other effects found in SkinEngine / shaders folder (blur, dialogbg, greyscale...)</li> </ul><p>Part 1 in principle seems to work already <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p>Part 2 is under work, but I already get outputs.</p><p> </p><p>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.</p><p> </p><p>The development is done in "Effects" branch in GIT.</p><p> </p><p><strong><u>Edit 29.01.2012:</u></strong></p><p>I've made quite big progress in implementing more Effects and making them more configurable from xaml screens. This allows animations (see screenshots).</p><p> </p><p>Also I implemented a new user control "BackgroundCapture" that is able to apply Effects to the current background (see dialog example <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" />)</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 838640, member: 48495"] [ATTACH]97923[/ATTACH][ATTACH]98049[/ATTACH][ATTACH]98050[/ATTACH][ATTACH]98051[/ATTACH][ATTACH]98052[/ATTACH][ATTACH]98053[/ATTACH][ATTACH]98054[/ATTACH][ATTACH]98055[/ATTACH][ATTACH]98056[/ATTACH][ATTACH]98057[/ATTACH] [ATTACH]97922[/ATTACH] MP2 does currently support shaders to post process video while playback. The WPF UIElement specifies a Effect property to allow modifications for rendering (see [URL='http://msdn.microsoft.com/en-us/library/system.windows.uielement.effect.aspx']UIElement.Effect Property (System.Windows)[/URL]). [B]My goal is to:[/B] [LIST] [*]use the existing partial video rendering effects (see [url]https://forum.team-mediaportal.com/submit-code-patches-533/more-shader-effects-97717/[/url]) [*]use the other effects found in SkinEngine / shaders folder (blur, dialogbg, greyscale...) [/LIST] 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. [B][U]Edit 29.01.2012:[/U][/B] 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) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Submit: Code Patches
Effect support for MPF UIElements
Contact us
RSS
Top
Bottom