Hi Robert, After spending more time with the code, I realised that the Geode and Text (through their parent - HUD - camera), are children of a ShadowedScene. When I use setNodeMask(textGeode->getNodeMask() & 0x02) on the Geode which contains the osgText::Text it works, but cause another problem which is also discussed in http://forum.openscenegraph.org/viewtopic.php?t=7958 . I think adding text geode to another node (other than ShadowedScene) is a solution for that case. Thanks for your help.
Cheers, Deniz On Fri, Oct 18, 2013 at 6:39 PM, Robert Osfield <[email protected]>wrote: > HI Deniz, > > > On 18 October 2013 16:25, Deniz Koçak <[email protected]> wrote: > >> I have already looked at the example(s) on osgText (both comes with >> source code and in tutorials on the net), but could not find anything. The >> weird thing is it is a quite easy task, but I have no result. I use >> OpenSceneGraph version 3.1.2 and Visual Studio 2010 on Windows XP. Is there >> any bug report or a tricky part should I know? >> > > I am not aware of any bug reports or fixes that might be relevant to your > case, it's most likely just an error with setup somewhere. > > I would however recommend either using OSG-3.2.0 stable release or one > OSG-3.3.0 or later dev releases as these contain a range of improvements > and quite a few bug fixes. While I might not expect it to resolve your > problems it'll likely avoid the possibility of hitting others. > > Robert. > > > > _______________________________________________ > 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

