Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Transparency.... Background colour..... Whats Wrong!!!!

Featured Replies

Hi guys, learning all the timeIn the picture below, a clip from DXTBmp, the Transparent preview still shows the Background colour of 0,0,0.Is there any way of avoiding this effect?I used a mask saved to alpha in Tga format, this operation is a little complicated, because I am Using 'BmpCrop', as my textures are being used in a 'Texture Grid' The mask was created using 'Source Opacity' I have tried DXT1 and DXT3, although I guess DXT3(A) is the type I would need to use, given I need a varied level of transparency.I am just trying to create an overspray effect in the edge of the transparencyHope someone can sort me out!!! i'll be grateful...RegardsDave

Hi Dave.Just a guess, but it appears there is some kind of anti-aliasing happening here... in other words, the black areas aren't completely black at the edges, so the alpha mask isn't quite right. In your paint program, there needs to be a way to turn the anti-aliasing off during the black overspray.Dick

Hi DickThanks for the replyI have got round this problem by selecting a colour very close to the colour I am using in the mask, as the background colour instaead of 0,0,0. and this as worked quite well with a DXT3(A)I have attached a sample of my work before the background colour is added, I was using the spray tool which I guess could use a Anti-aliasing effect. When the mask is created, it shrinks the original image, if that helps.I couldn't find anyway to turn off Anti Alaising!! in PSP7still appreciate any thoughts regarding this issueMany thanks Dave

Dave,I assume you want to place a photo of an airfield with TexPoly(). And that you want the photo to blend nicely with the under default texture. Here is what I used to do:1) Start with a photo in bitmap format (millions of colors) with edge size equal to a power of 2. Example: picture12) Make a copy of picture1 as the first stage to create an alpha channel. With any suitable manual tool make a picture with 2 colors. Black for transparent regions and white for opaque. Make this contour using any roads or contrasts that your original photo may have. Example: picture23) Apply a low pass filter on picture2 to get picture3 (the blurr tool may be used for that). Apply the tool twice or more times until you get a good spreading. Example: picture3From here: 4) I would reduce the number of different colours in picture3 to 16 (that is good for a target 4444 format with 16 grades of transparency) by loading a 16-color JASC palette4) Add the alpha channel (picture3) to the original (picture1) and save it as TGA5) Open ImageTool and convert the TGA to 4444 or to DXT3Kind Regards, Luis

Hi Luis,DickThanks for your useful comments and suggestionsI guess Luis, you was suggesting creating as mask manually yourself and introducing some blur to the edges, interesting thought!!Thanks for the link, DickI'll keep you all posted, as I progressRegardsDave

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.