Hi Morten:
Sounds like this might offer a good alternative to FSX default-type fences which 'disappear with ones angle of view'.
FYI: Sketchup by default utilizes transparency in the textures of materials so that the "Opacity" slider works.
Sketchup Menu > Window > Materials Dialog > [Edit Tab] > Opacity slider
"Portable Network Graphics[2] (PNG[3]) is a raster graphics file format that supports lossless data compression. PNG was created as an improved, non-patented replacement for Graphics Interchange Format (GIF), and is the most used lossless image compression format on the Internet.[4]
PNG supports palette-based images (with palettes of 24-bit RGB or 32-bit RGBA colors), grayscale images (with or without alpha channel), and full-color non-palette-based RGB[A] images (with or without alpha channel)."
http://en.wikipedia.org/wiki/Portable_Network_Graphics
"PNG offers a variety of transparency options. With true-color and grayscale images either a single pixel value can be declared as transparent or an alpha channel can be added (enabling any percentage of partial transparency to be used). For paletted images, alpha values can be added to palette entries. The number of such values stored may be less than the total number of palette entries, in which case the remaining entries are considered fully opaque.
The scanning of pixel values for binary transparency is supposed to be performed before any color reduction to avoid pixels' becoming unintentionally transparent. This is most likely to pose an issue for systems that can decode 16-bits-per-channel images (as they must to be compliant with the specification) but only output at 8 bits per channel (the norm for all but the highest end systems).
Alpha storage can be "associated" ("premultiplied") or "unassociated", but PNG standardized[15] on "unassociated" ("non-premultiplied") alpha so that images with separate transparency masks can be stored losslessly."
http://en.wikipedia.org/wiki/Portable_Network_Graphics#Transparency_of_image
CAVEAT: One must use a program other than MS-Paint to create / convert images output to PNG format:
The version of Paint in Windows 7 and Windows 8 supports viewing (but not saving) transparent PNG and ICO file formats; it now saves files in the .png file format by default.
http://en.wikipedia.org/wiki/Paint_(software)#Windows_7_and_later
Bitmap graphics editor support for PNG
Main article: Comparison of raster graphics editors
The PNG format is widely supported by graphics programs, including Adobe Photoshop, Corel's Photo-Paint and Paint Shop Pro, the GIMP, GraphicConverter, Helicon Filter, ImageMagick, Inkscape, IrfanView, Pixel image editor, Paint.NET and Xara Photo & Graphic Designer and many others. Some programs bundled with popular operating systems which support PNG include Microsoft's Paint and Apple's iPhoto and Preview, with the GIMP also often being bundled with popular Linux distributions.
Adobe Fireworks (formerly by Macromedia) uses PNG as its native file format, allowing other image editors and preview utilities to view the flattened image. However, Fireworks by default also stores meta data for layers, animation, vector data, text and effects. Such files should not be distributed directly. Fireworks can instead export the image as an optimized PNG without the extra meta data for use on web pages, etc.
http://en.wikipedia.org/wiki/Portable_Network_Graphics#Bitmap_graphics_editor_support_for_PNG
BTW: Although I primarily use Corel PhotoPaint, I often find "XnView" (freeware) convenient for its ease of use and its extensive functionality for individual or batch file format inter-conversion; the file inter-conversion engine is also available as a stand-alone (CMD-mode): "Nconvert" <not 'XnConvert'>.
PNG is one of the file formats XnView works with.
Additionally, XnView's file browser has a scalable-size thumbnail gallery that can display most DXT / DDS / BMP file formats used in FS.
http://www.xnview.com/en/
Hope this helps !
GaryGB
Sounds like this might offer a good alternative to FSX default-type fences which 'disappear with ones angle of view'.
FYI: Sketchup by default utilizes transparency in the textures of materials so that the "Opacity" slider works.
Sketchup Menu > Window > Materials Dialog > [Edit Tab] > Opacity slider
"Portable Network Graphics[2] (PNG[3]) is a raster graphics file format that supports lossless data compression. PNG was created as an improved, non-patented replacement for Graphics Interchange Format (GIF), and is the most used lossless image compression format on the Internet.[4]
PNG supports palette-based images (with palettes of 24-bit RGB or 32-bit RGBA colors), grayscale images (with or without alpha channel), and full-color non-palette-based RGB[A] images (with or without alpha channel)."
http://en.wikipedia.org/wiki/Portable_Network_Graphics
"PNG offers a variety of transparency options. With true-color and grayscale images either a single pixel value can be declared as transparent or an alpha channel can be added (enabling any percentage of partial transparency to be used). For paletted images, alpha values can be added to palette entries. The number of such values stored may be less than the total number of palette entries, in which case the remaining entries are considered fully opaque.
The scanning of pixel values for binary transparency is supposed to be performed before any color reduction to avoid pixels' becoming unintentionally transparent. This is most likely to pose an issue for systems that can decode 16-bits-per-channel images (as they must to be compliant with the specification) but only output at 8 bits per channel (the norm for all but the highest end systems).
Alpha storage can be "associated" ("premultiplied") or "unassociated", but PNG standardized[15] on "unassociated" ("non-premultiplied") alpha so that images with separate transparency masks can be stored losslessly."
http://en.wikipedia.org/wiki/Portable_Network_Graphics#Transparency_of_image
CAVEAT: One must use a program other than MS-Paint to create / convert images output to PNG format:
The version of Paint in Windows 7 and Windows 8 supports viewing (but not saving) transparent PNG and ICO file formats; it now saves files in the .png file format by default.
http://en.wikipedia.org/wiki/Paint_(software)#Windows_7_and_later
Bitmap graphics editor support for PNG
Main article: Comparison of raster graphics editors
The PNG format is widely supported by graphics programs, including Adobe Photoshop, Corel's Photo-Paint and Paint Shop Pro, the GIMP, GraphicConverter, Helicon Filter, ImageMagick, Inkscape, IrfanView, Pixel image editor, Paint.NET and Xara Photo & Graphic Designer and many others. Some programs bundled with popular operating systems which support PNG include Microsoft's Paint and Apple's iPhoto and Preview, with the GIMP also often being bundled with popular Linux distributions.
Adobe Fireworks (formerly by Macromedia) uses PNG as its native file format, allowing other image editors and preview utilities to view the flattened image. However, Fireworks by default also stores meta data for layers, animation, vector data, text and effects. Such files should not be distributed directly. Fireworks can instead export the image as an optimized PNG without the extra meta data for use on web pages, etc.
http://en.wikipedia.org/wiki/Portable_Network_Graphics#Bitmap_graphics_editor_support_for_PNG
BTW: Although I primarily use Corel PhotoPaint, I often find "XnView" (freeware) convenient for its ease of use and its extensive functionality for individual or batch file format inter-conversion; the file inter-conversion engine is also available as a stand-alone (CMD-mode): "Nconvert" <not 'XnConvert'>.
PNG is one of the file formats XnView works with.
Additionally, XnView's file browser has a scalable-size thumbnail gallery that can display most DXT / DDS / BMP file formats used in FS.
http://www.xnview.com/en/
Hope this helps !
GaryGB
Last edited: