[osg-users] when using AnimationPathManipulator, how to know it's stopping?
Hi, I'm using AnimationPathManipulator and set setLoopMode( NO_LOOPING ) , how can I know tha animation is stopped or not? PS. the _pause is only true when press key 'p' manully. I need to know when it stops automatically. Thanks. 2009-06-26 Leeten ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] OSG2.6 libs created by VC2008 are lower than the ones created by VC2003?
Hi, all I use OSG2.6.0 on Windows XP SP3. I generated both OSG2.6 libs under VC 2008 and VC 2003, both under Debug mode. When I test my app's FPS, I found an interesting thing: when I load the same file in the same app, the FPS is different when using different libs. The details are shown in followed table. Geode Num in Input ModelOSG vertionIDEModeFPS 23002.6VC2008Debug2 23002.6VC2003Debug75 23002.2VC2003Debug75 To be attantion, the refresh frequence of my screen is set to 75Hz. When I used VC2008 debug libs, the apps is too slow to stand. I wonder why it happens? did I generate the libs in a wrong way? Thank you for any help. 2008-12-19 Leeten ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] 2d texture messed up in big scene using OSG 2.6
Hi, All I meet a weird problem when using OSG 2.6. Some texture messed up when the scene contains lots of node( osg::Geode ). If the main camera is near the node, its texture shows OK, but when the camera comes far, the node's texture turn to be others' texture which is wrong. I wonder if there is a num limit of texture 2d in OpenGL , OSG or Graphics Card? Or it occured by incrrect memeroy allocation? I'm using OSG 2.6 in VC 2003, Windows XP SP3. Any kind of help or hint would be appreciated. 2008-09-26 Leeten ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Could not create GraphicsContext using static osg libs?
Hi, I’m building OSG 2.4 under Win32 Static Link Debug. I followed the “Win32 static link” (http://www.openscenegraph.org/projects/osg/wiki/Community/Tasks/Win32StaticLink) to config my VC 2003.net. After I built core static libs, I built the osgviewerMFC example and here is the problem: it can not create GraphicsContext. The code is followed: /// MFC_OSG.cpp osg::GraphicsContext* gc = osg::GraphicsContext::createGraphicsContext(traits.get()); The above gc was 0. And I trace the core code, in GraphicsContext.cpp, line 44: static ref_ptrGraphicsContext::WindowingSystemInterface s_WindowingSystemInterface; return s_WindowingSystemInterface; The above s_ WindowingSystemInterface was 0. I’ve no idea to solve this problem, could anyone give me some suggestion? Thanks very much. 2008-07-09 Leeten ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] How can I archieve antialiasing in osg 2.4?
Hi, all I'm using OSG 2.4 and I can't find GL_LINE_SMOOTH or GL_POLYGON_SMOOTH something in it. The lines and edges of polygons in my scene are jagged( shown in the attachment ), so I'm trying to find some antialiasing way. I've tried the fllowed way which seemed helped nothing. 1) set the Mode of scene group with GL_MULTISAMPLE_ARB; 2) using osg:: DisplaySetting-insence()-setSampleNum( 4 or 8 or 16 ); 3) set the Attribute of scece root with osg::Hint or osg::MultiSample; all above occured nothing change of the jagged edges and lines. Could someone hits me a little? PS: I'm not using osgViewer::Viewer directly, I'm using osgUtil:: SceneView to render my scene and developing on VC 2003.net. 3x. 2008-05-30 Leeten attachment: problem.JPG___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] How can I archieve antialiasing in osg 2.4?
Hi, Jason Thanks for your answer. I use NV 8800GTS( is it weird ? ) and I have turned on all the options, but it changed nothing. And there is another clew I found. If I run the osg example osgViewer with --samples 8 my_scene_file, it seems more smooth. 2008-05-30 Leeten 发件人: Jason Daly 发送时间: 2008-05-30 10:06:44 收件人: OpenSceneGraph Users 抄送: 主题: Re: [osg-users] How can I archieve antialiasing in osg 2.4? Leeten wrote: Hi, all I'm using OSG 2.4 and I can't find GL_LINE_SMOOTH or GL_POLYGON_SMOOTH something in it. The lines and edges of polygons in my scene are jagged( shown in the attachment ), so I'm trying to find some antialiasing way. I've tried the fllowed way which seemed helped nothing. 1) set the Mode of scene group with GL_MULTISAMPLE_ARB; 2) using osg:: DisplaySetting-insence()-setSampleNum( 4 or 8 or 16 ); 3) set the Attribute of scece root with osg::Hint or osg::MultiSample; all above occured nothing change of the jagged edges and lines. Could someone hits me a little? Your hardware has to support multisample anti-aliasing for the above code to work. What hardware are you running? (If we know what you have, we might be able to give you more specific help). Try looking in the display properties. If you've got Nvidia hardware, look in the Manage 3D Settings panel of Nvidia Control Panel and try changing the Antialiasing - Setting property. --J ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org