Its a while since I did any RGBA work with osgdem as almost all the data I have to push through it is simple RGB. I do think once I had RGBA working though... Anyway you'll be on a "not heavily used/tested path" of osgdem/osgTerrain so there may be gotcha's out there.
I don't think it'll be the compression that is the problem, but perhaps it could be.. Compression is used by default, but you can turn it off, for instance try using the --RGBA option.
If this doesn't solve the problem then we'll need to dig a little deeper.
Robert.
On 9/6/06, Brad Colbert <[EMAIL PROTECTED]> wrote:
Hi Folks,
Has anyone else out there run into this problem:
I am generating an .osga database using OSGDEM. The imagery has four
components (Red, Green, Blue, Alpha) but my database is black wherever
the alpha is < 1.0. What would cause this? Is it texture compression,
which I hope isn't being used?
When I use a shader to just show the alpha layer, it's all white.
Showing just one of the color layers shows that they are black where the
imagery has alphas of < 0.0.
When I use the same imagery to build a database in OSG 1.0 I get the
alpha values, but loading that database into an application I have built
against CVS OSG, I get the same black behavior. Strange. Any ideas?
-B
---
Renaissance Sciences Corporation
O/M: 480 290-3997
F: 425 675-8044
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
