Hi Mike,

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?

Robert.

On Wed, Jul 2, 2008 at 5:59 PM, Mike Lewis <[EMAIL PROTECTED]> 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?
>
> Thanks,
> Mike
>
>
> On Jul 1, 12:57 pm, "Robert Osfield" <[EMAIL PROTECTED]> wrote:
>> HiMike,
>>
>> What makes you think that the alpha is being ignored?  Have you
>> enabled GL_BLEND in your app?
>>
>> Robert.
>>
>>
>>
>> On Tue, Jul 1, 2008 at 8:39 PM,MikeLewis<[EMAIL PROTECTED]> 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
>> > [EMAIL PROTECTED]
>> >http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...
>>
>> _______________________________________________
>> osg-users mailing list
>> [EMAIL 
>> PROTECTED]://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...
> _______________________________________________
> 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