Thanks, that worked for me Think i've started something here :)
-----Ursprüngliche Nachricht----- Von: Carsten Neumann [mailto:carsten_neum...@gmx.net] Gesendet: Montag, 12. April 2010 18:14 An: opensg-users@lists.sourceforge.net Betreff: Re: [Opensg-users] TextureBackground in OpenSG 2.0 Hello Georg, Georg Stevenson wrote: > got problems with the textureBackground, the resulting screen always > stays black and the texture isn't shown > (i've taken care that paths are correct -> also i can query correct > image height and width from the image, so i suppose that the image is > loaded correctly). > > Does someone have any idea what might be wrong? 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. 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 ------------------------------------------------------------------------------ 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