Hello,

Carsten Neumann wrote:
> I can reproduce it and work around it by setting the color of the 
> background to white:
> 
> texBG->setColor(OSG::Color4f(1.f, 1.f, 1.f, 0.f));
> 
> It looks as if the texture mode was GL_MODULATE instead of GL_REPLACE 
> when the background draws the quad with the texture. I'm still trying to 
> track down why that is the case though.

doh, of course it's the OpenGL default...

ok, so the basic problem is that TextureBG only has a TextureBaseChunk 
but no field for a TextureEnvChunk that would allow the user to set the 
environment mode for the texture. Do we just leave things as is and 
require the color to be set (like the above workaround) or should I add 
a field for an optional TextureEnvChunk ?

Dirk, Gerrit: Opinions?

        Cheers,
                Carsten

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to