[osg-users] VPB/osgdem and transparent textures
robert.osfield at gmail.com
Wed Jul 2 10:54:47 PDT 2008
It's a bit unusual to want to blend terrain, kinda suggests that the
pipeline is being used inappropriately. What exactly are you after by
the alpha blending?
On Wed, Jul 2, 2008 at 5:59 PM, Mike Lewis <jhg886 at gmail.com> wrote:
> Hi Robert,
> Thank you for helping me. I actually just started using VPB / osgdem
> so I can't say I'm familiar with all the concepts yet. I have only
> been using osgviewer to view the .ive or .osg models that osgdem
> generates. I was terribly wrong to say the alpha channel was being
> ignored; If I go into all the .osg files for the database generated by
> VPB, and add "GL_BLEND ON" to every geometry StateSet in the .osg
> files, the model displays as desired in osgviewer.
> I'm wondering if there is a simple way to tell vpb to generate the
> database this way, instead of having to manually add them in?
> On Jul 1, 12:57 pm, "Robert Osfield" <robert.osfi... at gmail.com> wrote:
>> What makes you think that the alpha is being ignored? Have you
>> enabled GL_BLEND in your app?
>> On Tue, Jul 1, 2008 at 8:39 PM,MikeLewis<jhg... at gmail.com> wrote:
>> > Hello,
>> > I'm using OSG 2.4 and VPB 0.9.8 and I'm having an issue. I'm handing
>> > osgdem raster texture files with transparency but the resulting
>> > terrain models seem to ignore the alpha channels entirely. Also, I
>> > thought VPB alpha'd out NODATA regions. For some reason, it seems to
>> > be coloring them solid black instead, for me. Does VPB support having
>> > transparency in the texture imagery? I've tried various PNG and
>> > GeoTIFF images and seem to come upon the same result. I've tried the
>> > various --RGBA and --default-color command line options to no avail.
>> > Am I missing something?
>> > Thanks
>> > _______________________________________________
>> > osg-users mailing list
>> > osg-us... at lists.openscenegraph.org
>> osg-users mailing list
>> osg-us... at lists.openscenegraph.orghttp://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users