Re: [osg-users] HUD disappeared

2012-08-23 Thread wh_xiexing
thank you , Robert. you solved my problem. wh_xiexing From: Robert Osfield Date: 2012-08-23 18:53 To: OpenSceneGraph Users Subject: Re: [osg-users] HUD disappeared Hi wh? xiexin? Which human name would you like to be addressed as? There isn't any way we'll be able to pi

Re: [osg-users] HUD disappeared

2012-08-23 Thread Robert Osfield
Hi wh? xiexin? Which human name would you like to be addressed as? There isn't any way we'll be able to pinpoint the problem you are seeing from just this code extract, there are simply too many unknowns about the rest of your application to pass judgement. The best I can do is provide a general

[osg-users] HUD disappeared

2012-08-19 Thread wh_xiexing
i create a compass on the screen, but when i open an model , the HUD Compass disappeared . following is my code. can some one tell me how to resolve this problem? //create hud camera theCameraNode = new osg::Camera; theCameraNode->setReferenceFrame(osg::Transform::ABSOLUTE_RF); theCameraNode->