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: 642513" data-attributes="member: 67886"><p><strong>AW: Re: MediaPortal 2 progress report</strong></p><p></p><p></p><p></p><p>Yeah, that's true. That is one example which is not simple to do with standard means of MPF.</p><p></p><p></p><p></p><p>That's a very good idea. Would you like to implement such a generic brush? That could be your "first MP2 plugin" and might be a cool graphics feature addon.</p><p>As you perhaps know, we won't add every cool feature to the standard MP2 system, but we could ship that brush maybe in a toolbox for "extended graphics" or similar.</p><p></p><p></p><p>Well, I'm not a master in shader programming, but I think it would not so easy to replace the LinearGradientBrush/RadialGradientBrush completely by an effect because there is still some code necessary to make the gradients work. But if you find a good way how the C# parts of the brushes can be replaced with all of its features, tell me please!</p><p></p><p></p><p></p><p>See <a href="http://msdn.microsoft.com/en-us/library/aa970904.aspx" target="_blank">here</a>. Well, the VisualBrush is not described so obvious. The VisualBrush is for drawing with the look of another "Visual" - typically a control. That other visual could be a visual which is already present in the visual tree of the screen or it could be a visual which has been especially instanciated for the VisualBrush.</p><p>With a VisualBrush, you can for example draw a shape with the look of a Button.</p><p></p><p>The implementation in MP2 isn't finished yet. Same with the image brushes. I will have to continue the implementation when I have time.</p></blockquote><p></p>
[QUOTE="Albert, post: 642513, member: 67886"] [b]AW: Re: MediaPortal 2 progress report[/b] Yeah, that's true. That is one example which is not simple to do with standard means of MPF. That's a very good idea. Would you like to implement such a generic brush? That could be your "first MP2 plugin" and might be a cool graphics feature addon. As you perhaps know, we won't add every cool feature to the standard MP2 system, but we could ship that brush maybe in a toolbox for "extended graphics" or similar. Well, I'm not a master in shader programming, but I think it would not so easy to replace the LinearGradientBrush/RadialGradientBrush completely by an effect because there is still some code necessary to make the gradients work. But if you find a good way how the C# parts of the brushes can be replaced with all of its features, tell me please! See [URL="http://msdn.microsoft.com/en-us/library/aa970904.aspx"]here[/URL]. Well, the VisualBrush is not described so obvious. The VisualBrush is for drawing with the look of another "Visual" - typically a control. That other visual could be a visual which is already present in the visual tree of the screen or it could be a visual which has been especially instanciated for the VisualBrush. With a VisualBrush, you can for example draw a shape with the look of a Button. The implementation in MP2 isn't finished yet. Same with the image brushes. I will have to continue the implementation when I have time. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
General Forums
News and Announcements
MediaPortal 2 progress report
Contact us
RSS
Top
Bottom