Rounded corners around artwork?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
doestergaard Offline
Member
Posts: 83
Joined: Mar 2011
Reputation: 1
Location: Denmark
Post: #1
I'm setting up a screen with "Now Playing", where the artwork is displayed. I'm currently stock on making the artwork match my background, which has rounded corners. Is it possible to specify which corner of the artwork you want to bend?

Thanks in advance Smile

HTPC ASRock Vision 3D 137B
TV Sony Bravia 32" Full HD
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #2
Rounded corners are achieved by applying a diffuse filter to your image.

eg

PHP Code:
<texture diffuse="YOUR_DIFFUSE_FILTER">$INFO[MusicPlayer.Cover]</texture

http://wiki.xbmc.org/index.php?title=Texture_Attributes

[Image: sig_zps3af3b48e.jpg]
find quote
doestergaard Offline
Member
Posts: 83
Joined: Mar 2011
Reputation: 1
Location: Denmark
Post: #3
Thank you! You're the man! Big Grin

HTPC ASRock Vision 3D 137B
TV Sony Bravia 32" Full HD
find quote