Hey again Nick,

See my answer on the osgEarth mailing list.  Remove the quotes from
your transparent_color element and you should be good to go.

Jason

On Fri, Feb 5, 2010 at 6:27 PM, Nick Schultz <schul...@engr.orst.edu> wrote:
> Hi,
>
> I'm trying to display my own GeoTiffs, which are made up of 16 colors and 
> white as the background.
>
> here is a portion of  my .earth file (had to turn '<' into '[' for it to 
> display properly):
>
>
> Code:
> [image name="JF_60_2" driver="gdal"]
>                [min_level]8[/min_level]
>                C:\PugetSound\Images\jf2_tiled2.tif
>                [transparent_color] "255 255 255 0" [/transparent_color]
>                [cache_enabled]false[/cache_enabled]
>    [/image]
>
>
>
> The image is drapped correctly, however the white background is still 
> present.  I tried both 255 and 0 for the alpha channel (I'm not sure there is 
> an alpha channel in my GeoTiff, is that the problem?)
>
> I also made sure that the white space is really 255 255 255 and not some 
> offwhite.
>
> Any tips?
>
> Thanks,
> Nick
>
>
> Thank you!
>
> Cheers,
> Nick
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=23749#23749
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to