Re: [osg-users] Vertex attributes: how does implementation of osg::State::disableVertexAttribPointersAboveAndIncluding() work, it is almost never called

2008-06-01 Thread Robert Osfield
Hi Raymond, The statement when I clear the SceneView looks like something that might be worth investigating. What do you mean by clear, and why are you doing and when. Could you please try adding your scene graph to an osgViewer based viewer to see if you see the same problem. Robert. On Sat,

Re: [osg-users] correct manual shutdown of osg libraries

2008-06-01 Thread Robert Osfield
Hi Timo, I have never tried this first hand so can't comment with great wisdom, best I can do is guess. Destructing the osgDB::Registry in the way you have should close all the OSG plugins that have been loaded. In your instance a destrucutor of a core OSG node is crashing, which suggest to me

Re: [osg-users] correct manual shutdown of osg libraries

2008-06-01 Thread Paul Martz
I posted to this list about a similar issue not too long ago. I have a MS Windows application that creates a subgraph in a DLL. After rendering the subgraph for a while, due to some user interaction the subgraph is removed. The application was then immediately unloading the DLL that created the

Re: [osg-users] correct manual shutdown of osg libraries

2008-06-01 Thread Robert Osfield
Hi Paul, Destructing the Viewer should be enough to get the rendering backend (RenderStage/StageGraph etc) to clear, there shouldn't be any need to let the viewer keep rendering for a couple of frames. Unless of course you still needed the viewer after the, if so perhaps a clear method would be

Re: [osg-users] Crash on first example - push_back call

2008-06-01 Thread Wojciech Lewandowski
Hi, I also saw similar issues when OSG libs built with VS 7.x were linked with example code built with VS 2005. Some STL containers changed its structure and member memory layout between these two versions of IDE. Chhers, Wojtek -Original Message- From: Posch, Stephan [mailto:[EMAIL

Re: [osg-users] OpenSceneGraph 2.4.1 stable release?? If/when/when/who

2008-06-01 Thread Jean-Sébastien Guay
Hi Robert, Another aspect to the OpenSceneGraph development cycle is that while quite a few users do track SVN and developer releases not everyone does - many users wait till stable releases come out. Yes, and that coupled with the fact that 2.0 and 2.2 have not had any point releases

[osg-users] The sceneview data is cleared up when restore the minimized programs

2008-06-01 Thread guilianzhang
Hi, I'm using osgUtil:: SceneView, sometimes when restore the minimized programs the sceneview data seems to be cleared up and only background color left, the whole scene appear on the screen until I do some operations such as click a button, Does anybody else come across this problem? I

Re: [osg-users] correct manual shutdown of osg libraries

2008-06-01 Thread Timo Penndorf
Hi Paul, Hi Robert, thank you for your answers. I solved my problem. dlopen provides the RTLD_NODELETE flag and for windows I found a related article (http://msmvps.com/blogs/vandooren/archive/2006/10/09/Preventing-a-DLL-from-being-unloaded-by-the-app-that-uses-it.aspx) which finally results in