Hi Robert
On 9/17/07, Robert Osfield [EMAIL PROTECTED] wrote:
HI Rafa,
On 9/17/07, Rafa Gaitan [EMAIL PROTECTED] wrote:
Node doesn't have a releaseAllGLObjects, and trying with
releaseGLObjects, doesn't work as I expect. Maybe I'm using
a bad approach to the problem! :(.
Sorry,
Another problem is, that nodes which are currently not connected to the
sceneview/camera won't release their GL objects.
Richard
On 9/17/07, Rafa Gaitan [EMAIL PROTECTED] wrote:
viewer.getSceneData()-releaseGLObjects(); // or getCamera()...
On 9/19/07, Schmidt, Richard, SDGE1 [EMAIL PROTECTED] wrote:
Another problem is, that nodes which are currently not connected to the
sceneview/camera won't release their GL objects.
Well there isn't much the core OSG can do about this. If you go
detect objects from the Viewer and it non longer
Hi Robert,
We are using the osgViewer::Viewer to integrate our app with
Java using jogl to create a GL context and
GraphicsWindowEmbedded class. In the past using the
SimpleViewer we had the call releaseAllGLObjects(),
which internally calls to sceneView-releaseAllGLObjects()
and some more stuff.
Hi Rafa,
I'm not 100% sure it will work but try:
viewer-getSceneData()-releaseAllGLObjects();
Robert.
On 9/17/07, Rafa Gaitan [EMAIL PROTECTED] wrote:
Hi Robert,
We are using the osgViewer::Viewer to integrate our app with
Java using jogl to create a GL context and
GraphicsWindowEmbedded
Hi Robert,
On 9/17/07, Robert Osfield [EMAIL PROTECTED] wrote:
Hi Rafa,
I'm not 100% sure it will work but try:
viewer-getSceneData()-releaseAllGLObjects();
Node doesn't have a releaseAllGLObjects, and trying with
releaseGLObjects, doesn't work as I expect. Maybe I'm using
a bad approach
HI Rafa,
On 9/17/07, Rafa Gaitan [EMAIL PROTECTED] wrote:
Node doesn't have a releaseAllGLObjects, and trying with
releaseGLObjects, doesn't work as I expect. Maybe I'm using
a bad approach to the problem! :(.
Sorry,
viewer-releaseGLObjects();
Is the call I was thinking of.
On 9/17/07, Rafa Gaitan [EMAIL PROTECTED] wrote:
viewer.getSceneData()-releaseGLObjects(); // or getCamera()...
viewer.getCamera()-getGraphicsContext()-getState()-reset();
osg::flushAllDeletedGLObjects(0);
Yes, This works better, Thank You!, there is some issues with
PagedLOD nodes, so
8 matches
Mail list logo