Re: [osg-users] HUD-Problem

2009-12-30 Thread Carl Johnson
Hi, ok tanks for your answer. I think it wasn't the font dll because the geometry also wasn't drawn. But for the future I know to use the latest developer release. I wish you all a good silversterparty. Thank you! Cheers, Carl -- Read this topic online here: http://forum.o

Re: [osg-users] HUD-Problem

2009-12-29 Thread Guy
. -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Carl Johnson Sent: Wednesday, December 30, 2009 12:20 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] HUD-Problem Hi, YEAH now it works. Thanks a lot

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
Hi Carl, good you made it work!!! I dont know the details of the bin release you are using. It is a good practice to work with the latest code from the svn repository since improvements and bug fixes are done all the time. Cheers, Nick http://www.linkedin.com/in/tnick Sent from Ünalan, İstanbul,

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, YEAH now it works. Thanks a lot for your help. But now please tell me the different between the developer release and the binary release !? why does the developer release works and the other release not? Thanks a lot again! Cheers, Carl -- Read this topic online here: http

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, ok thanks I will try it. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21944#21944 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.opensceneg

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, dont work on my laptop too. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21941#21941 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.opensc

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
then must be the osg version you are using, try the latest from the svn: http://www.openscenegraph.org/projects/osg/wiki/Downloads/SVN get it from here. you will then need to download the thirdth party libs from here: https://osgtoy.svn.sourceforge.net/svnroot/osgtoy/3rdParty /branches/3rdParty_w

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, I will try it on my laptop now. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21940#21940 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.open

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, no i get an access violation error. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21939#21939 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
is it working now? Nick http://www.linkedin.com/in/tnick Sent from Ünalan, İstanbul, Turkey On Tue, Dec 29, 2009 at 7:58 PM, Carl Johnson wrote: > Hi, > very strange! > > > Thank you! > > Cheers, > Carl > > -- > Read this topic online here: > http://forum.openscenegraph.org/view

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
here is the code Nick http://www.linkedin.com/in/tnick Sent from Ünalan, İstanbul, Turkey On Tue, Dec 29, 2009 at 7:58 PM, Trajce Nikolov wrote: > uh .. that was from my testing. Replace NESTED_RENDER with POST_RENDER > > Nick > > http://www.linkedin.com/in/tnick > Sent from Ünalan, İstanbul, Tu

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
uh .. that was from my testing. Replace NESTED_RENDER with POST_RENDER Nick http://www.linkedin.com/in/tnick Sent from Ünalan, İstanbul, Turkey On Tue, Dec 29, 2009 at 7:51 PM, Carl Johnson wrote: > Hi, > without the line HUD_Camera->setRenderOrder( osg::Camera::NESTED_RENDER ); > I get only th

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, very strange! Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21934#21934 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/li

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
ok .. I got it. The HUD text is there but is black (for example, if you dont attach the polygon to the scene graph you will be able to see the text but in black) uncomment //HUD_Geode->setStateSet( HUD_StateSet.get() ); and do HUD_StateSet->setMode( GL_LIGHTING, osg::StateAttribute::OFF ); L

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, without the line HUD_Camera->setRenderOrder( osg::Camera::NESTED_RENDER ); I get only the blue backgroundcolor and with an error. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21932#21932

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, and here is my cpp file. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21931#21931 /**\ * HUD

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
huh .. I made it work .. all looks good ... send a snapshot what you are getting Nick http://www.linkedin.com/in/tnick Sent from Ünalan, İstanbul, Turkey On Tue, Dec 29, 2009 at 7:39 PM, Carl Johnson wrote: > Hi, > > k i can. you have to rename it because vcproj attachments not allowed. > > Th

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, k i can. you have to rename it because vcproj attachments not allowed. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21929#21929

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
can you post the project file you are using? Nick http://www.linkedin.com/in/tnick Sent from Ünalan, İstanbul, Turkey On Tue, Dec 29, 2009 at 7:24 PM, Carl Johnson wrote: > Hi, > > yes I tryed the code, but I dont know why it work with you and not with me. > > Thank you! > > Cheers, > Carl > >

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, yes I tryed the code, but I dont know why it work with you and not with me. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21927#21927 ___ osg-users mailing list osg-use

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, I will give up. I dont get the HUD. Thank you all for your answers but it dont work on my machine and all others i tryed. Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21921#21921 _

Re: [osg-users] HUD-Problem

2009-12-29 Thread Ümit Uzun
Hi Carl, Please download http://www.openscenegraph.org/projects/osg/attachment/wiki/Support/Tutorials/NPS_Tutorials_src.rarand test Tutorial_06 which is given link osgHud in OSG website by you. I have already tried and it is working pretty good. I think your problem was that you didn't control mod

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
dont panic :)) here is your code modfied and working osg::ref_ptr CreateHUD() { osg::ref_ptr Root( new osg::Group ); // HUD osg::ref_ptr HUD_Text( new osgText::Text ); HUD_Text->setCharacterSize( 25 ); HUD_Text->setFont( "fonts/arial.ttf" ); HUD_Text->setText( "Not so good" ); //HUD_Text->setA

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, it is unbelievable that nobody can help. [Question] http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/HudsAndText This tutorial dont work :-< It looks like so easy and plausible, so i can not understand what i do wrong. Thank you! Cheers, Carl -- Read t

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, thanks for your answer. i changed the z value to 0 and the HUD_Transform->setReferenceFrame( osg::Transform::ABSOLUTE_RF ); but there i no HUD with Text Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21907#21907

Re: [osg-users] HUD-Problem

2009-12-29 Thread selman duatepe
Hi, set HUD_Text position z value 0.0 HUD_Text->setPosition( osg::Vec3( 30.0, 30.0, 0.0 ) ); On Tue, Dec 29, 2009 at 11:38 AM, Carl Johnson wrote: > Hi, > does no one has an idea? I realy dont know what i did wrong! > > Thank you! > > Cheers, > Carl > > -- > Read this topic on

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, does no one has an idea? I realy dont know what i did wrong! Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21905#21905 ___ osg-users mailing list osg-users@lists.opensc

Re: [osg-users] HUD-Problem

2009-12-28 Thread Carl Johnson
Hi, here is my Code: Function to create the HUD: Code: osg::ref_ptr CreateHUD() { osg::ref_ptr Root( new osg::Group ); // HUD osg::ref_ptr HUD_Text( new osgText::Text ); HUD_Text->setCharacterSize( 25 ); HUD_Text->setFont( "data/arial.ttf" ); HUD_Text->setText( "Not so good" ); HUD_Text->setAx

Re: [osg-users] HUD-Problem

2009-12-28 Thread Carl Johnson
Ok here is my Code -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21899#21899 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-opens

Re: [osg-users] HUD-Problem

2009-12-22 Thread Trajce Nikolov
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 wrote: > 2009/12/22 Carl Johnson > > Hi, >> >> I need to use osg for a project, so i tried to modify the example >> Huds

Re: [osg-users] HUD-Problem

2009-12-22 Thread Simon Hammett
2009/12/22 Carl Johnson > 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 o

[osg-users] HUD-Problem

2009-12-22 Thread Carl Johnson
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

[osg-users] HUD problem

2009-11-12 Thread Wu Hui
Hello everyone: Currently I have a problem about HUD, I want to implement HUD in my program, I simply copy the code of osgHUD.cpp and compile it, but when the exe file runs, it crashes. The same problem occurs when I compile osgmanipulator. Then I notice other exemple programs also have HUD eff