Jump to content
Sign in to follow this  
Guest iholrf

2-D panel bitmap edges

Recommended Posts

Guest mtom

Hi all.I've got a 2-D panel bitmap problem I was hoping someone might be able to shed light on.The problem is that the panels present in FS with a fine border at the edges of 'view window' bitmaps. It seems to be one-pixel in width, with transparent sections of the panel presenting black and opaque sections presenting transparent.It's occurring with all the 1024x768 bmps I've developed as view window images. I've seen the same problem in some third-party panels, but I can't identify anything that would explain it when comparing the panel.cfg files between good and bad panels.Any ideas?Matthew.

Share this post


Link to post
Share on other sites
Guest Mathias

The 1 pixel width border may be related to some bug of the graphics software you use.I am sure you know that anything to be transparent in FS bitmaps needs to have the RGB value 0,0,0, i.e. pitch black. ANYTHING else will be shown as the colour it represents, even just 1,0,0.And probably only RGB colour coding will work in FS at all.Maybe try to fill in the border with 0,0,0 in another graphics program?

Share this post


Link to post
Share on other sites
Guest iholrf

Actually, it may be related to full screen antialiasing. Turn it off and see if the line goes away. If so you have your answer (seems to be consistant on ATI cards). This "feature" can be compensated somewhat for by setting the the dimensions of the virtual window of the default view in the panel config.[Default View]X=0Y=0SIZE_X=8191SIZE_Y=4172This one provides me with a "blackout mask" at the bottom 1/3 of the window that cleans up the edges (It sits under the panel).CheersShad

Share this post


Link to post
Share on other sites
Guest mtom

Hi guys.Ta for the input. Yep, it's the full screen antialiasing. Pitty about that. It's a bit ugly without antialiasing. Got a 64m Geforce 2 MX-400 card.Thanks again.Cheers,Matthew.

Share this post


Link to post
Share on other sites
Guest iholrf

'Tis indeed ugly with out AA. Not to pretty with out AF either.CheersShad

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...