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
General Forums
News and Announcements
MediaPortal 2 progress report
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="Albert" data-source="post: 642371" data-attributes="member: 67886"><p><strong>AW: Re: MediaPortal 2 progress report</strong></p><p></p><p></p><p></p><p>If you look at how WPF works, you'll understand how MPF works (MPF is our own implementation of a library which is similar to WPF but especially designed to match our MediaCenter needs).</p><p>In WPF/MPF, you have "brush" primitives which can be used to render almost any graphical object. For example, you can use a brush to render a text label.</p><p>There are several brushes, a solid color brush, a linear gradient brush, a radial gradient brush, image brushes, a visual brush and a video brush. All those brushes can be used on any graphics object, for example you can use a video brush to render a custom shape.</p><p>It is even possible to apply a brush not only to a single graphics object but to an object like a panel, for example, do modify its opacity.</p><p></p><p>Like (almost) all control properties in MPF, brush parameters can be animated.</p><p></p><p>Is that what you mean? With the linear gradient brush for example, you can draw your greyscale.</p><p>So, for my understanding, IF it should be necessary to have your own shader, you'll probably want to implement an own brush.</p></blockquote><p></p>
[QUOTE="Albert, post: 642371, member: 67886"] [b]AW: Re: MediaPortal 2 progress report[/b] If you look at how WPF works, you'll understand how MPF works (MPF is our own implementation of a library which is similar to WPF but especially designed to match our MediaCenter needs). In WPF/MPF, you have "brush" primitives which can be used to render almost any graphical object. For example, you can use a brush to render a text label. There are several brushes, a solid color brush, a linear gradient brush, a radial gradient brush, image brushes, a visual brush and a video brush. All those brushes can be used on any graphics object, for example you can use a video brush to render a custom shape. It is even possible to apply a brush not only to a single graphics object but to an object like a panel, for example, do modify its opacity. Like (almost) all control properties in MPF, brush parameters can be animated. Is that what you mean? With the linear gradient brush for example, you can draw your greyscale. So, for my understanding, IF it should be necessary to have your own shader, you'll probably want to implement an own brush. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
General Forums
News and Announcements
MediaPortal 2 progress report
Contact us
RSS
Top
Bottom