Is it possible to mask thumbnails? (1 Viewer)

eightyf

Portal Member
May 14, 2007
23
3
55
Munich
Home Country
Germany Germany
Hello fellow MPortalians,
while trying to realize my skinning project I tried to place the thumbnails in the thumbnailpanel BEHIND a folder image (the overlay is basically just some Highlights and shadows). This works beautifully in filmstrip view, but in the normal thumbnail view, the folder images are behind the thumbnails.
Is it possible to either bring the folder images to front or apply an alpha mask to the thumbnails? Something like
Code:
<thumbs diffuse="thumb_alpha_mask.png"/>
since this has absolutely no effect, I was hoping, that the syntax was wrong or something alike.
As always, any help is highly appreciated, thank you very much in advance
André
 

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    You can only apply mask to reflection, but not the actual thumb. Not sure why they decided to allow mask for reflection, but not for thumb (crazy!).
     

    ajp8164

    Portal Pro
    January 9, 2008
    575
    1,166
    Atlanta, GA
    Home Country
    United States of America United States of America
    You can do this in my build (sort of)! Search forums for ajp8164_stage builds. I have added an alpha "mask" attribute to the image texture tag so that you can mask to any arbitrary shape. Example <texture mask="rounded_corners_mask.png"></texture> where the png is black where you want the image to render at full alpha and transparent where you want the background to come through. I have not yet extended support to filmstrip or anywhere else yet. You'd have to use my build until I get the enhancements into the trunk (whenever we get 1.1.0 done).
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom