[osg-users] osgdem/vpb ignore alpha channel

Jason Beverage jasonbeverage at gmail.com
Thu May 15 11:07:25 PDT 2008


Hi Ken,

I don't think you can tell vpb to ignore the 4th band, but just as a tip,
you could potentially use GDAL VRT's to trick vpb into thinking that it is
just a 3 band image without going through the long process or stripping out
the 4th band and creating whole new files.

http://www.gdal.org/gdal_vrttut.html

Thanks!

Jason

On Thu, May 15, 2008 at 1:22 PM, Sewell, Kenneth R Civ USAF AFMC AFRL/RYZW <
Kenneth.Sewell at wpafb.af.mil> wrote:

>
> I have several hundred images I'm using in my terrain generation. Each
> image contains 4 bands of data, 3 are the standard RGB, but the 4th is
> another visual band.  Osgdem/VPB is using the 4th band as an alpha
> channel, which is causing some visual artifacts.  Is there an
> undocumented command line option or other work-around to tell osgdem to
> ignore the alpha channel for an image or do I need to strip the 4th band
> from all my images?  Thanks.
>
> Ken.
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080515/a4363675/attachment-0001.htm>


More information about the osg-users mailing list