I have seen the black screen on windows7 so I had to reactivate the window with CTRL-TAB Nick
http://www.linkedin.com/in/tnick On Wed, Dec 23, 2009 at 2:00 AM, Simon Hammett <[email protected]>wrote: > 2009/12/22 Carl Johnson <[email protected]> > > Hi, >> >> I need to use osg for a project, so i tried to modify the example >> HudsAndText from osg tutorial >> >> to my original project, but this didn't work out. i saw the graphics (a >> triangle), but no HUD. >> >> so i went back to the "roots" >> I tried this basic example osghud.cpp from osg hp examples >> >> but i don't work out at all. and i just copied everything to the project. >> no compiler errors, just a black screen. >> i included all necessary libraries and ressources (as far as i know). >> > > I've only seen a black screen when the initial window size is setup > incorrectly. > Check what sizes you are passing in to the window traits. > > If that doesn't work, you'll need to post your code; > it's a bit hard to guess with so little information. > > -- > http://www.ssTk.co.uk > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

