HI Andreas, If you custom drawable look for any state that you are changing. If possible move this out of the drawable and into normal StateSet settings, failing that use the state.dirty*() mechansim or glPushAttribu/glPopAttrib. Using display lists will make state.dirty*() calls disappear though, so it'll miss the changes in state you are making.
Robert. On 10/21/06, Andreas Goebel <[EMAIL PROTECTED]> wrote:
Andreas Goebel schrieb: > Hello, > > in my application I use a HUD (as in osgHUD or osgpick) for things > that should stay at the same place. > > This went good as long as I only used text or ShapeDrawables in that HUD. > > Now I want to put a custom geometry inside (just a QUAD at the moment, > like in osgpick), but as soon as I add that geometry to my HUD, > > everything goes black. Not only the HUD, but the whole scene! > > I have triple-ckecked normals, colors, texture-coordinates and > statesets, but found nothing suspicios. > > It would be great if anyone had a tip for me what could be wrong. > > Regards, > > Andreas > > _______________________________________________ Hi, setting setUseDisplayList(false) for my geometry makes the problem go away. But there must be a bug somewhere, probably in my app. Regards, Andreas _______________________________________________ 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/
