Jump to content
Sign in to follow this  
Guest Eugen

mask and alpha channel

Recommended Posts

Guest Eugen

Hi,I am creating an altimeter and it has two mask. I have based it on the 747 xml one. What I have found out is that I get a dark vertical line at the right side of my altimeter, and I have gone through all bitmaps looking for non 0-0-0 black . However my mask has no alpha channnel and I wonder could it be the lack of an alpha channel creating this black horisontal line? Do mask files always need an alpha channel?BrgdsEugen

Share this post


Link to post
Share on other sites
Guest

>I have gone through all bitmaps looking for non 0-0-0 black >. However my mask has no alpha channnel and I wonder could >it be the lack of an alpha channel creating this black >horisontal line? Do mask files always need an alpha channel? Eugen, I have never used a bitmap with alpha channel in an XML gauge. In fact, all my bitmaps are stored as either 8 bit/channel indexed .bmp files, or 8 bit/pixel RGB .bmp files.

Share this post


Link to post
Share on other sites
Guest bartels

I would check if there are bitmaps in the gauge that exceed the size of the first one and secondly check for other gauges in the vincinity if there are overlaps. These seem to be reasons for these black lines. And also 256-color bitmaps and higher colour bitmaps mixed in one gauge might also be the reason.Arne Bartels

Share this post


Link to post
Share on other sites
Guest Eugen

Hi,Problem solved :-) I had true color bitmaps and they don't work as mask images obviously , when I reduced the number of colors it worked.Thanks!Eugen

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...