Hi Serge,
I've been doing testing the compile context support using osgviewer on
paged database I have and it all works without error so far. I'm
using Kubuntu 7.10 and 7800GT. I enable compile contexts via:
export OSG_COMPILE_CONTEXTS=ON
osgviewer pagedmodel.ive --SingleThreaded
I tried
Hi Robert,
i just come tested under windows vista, same as problem as Serge reported
:-(
PixelBufferWin32::makeCurrentImplementation, wglMakeCurrent error: The
requested resource is in use.
2008/8/4 Robert Osfield [EMAIL PROTECTED]
Hi Serge,
I've been doing testing the compile context
FWIW I have never been able to get compile contexts to work on Windows since
the feature was introduced. So I believe the issue goes back a ways (i.e.,
is not particular to 2.6).
HTH- Glenn
On Mon, Aug 4, 2008 at 6:17 AM, Adrian Egli OpenSceneGraph (3D)
[EMAIL PROTECTED] wrote:
Hi Robert,
i
Some time ago it worked for me (the same time when we were able to make
glGetString calls outside a draw callbacks).
I'll try to make some tests this afternoon and let you know how it goes.
On Mon, Aug 4, 2008 at 1:56 PM, Glenn Waldron [EMAIL PROTECTED] wrote:
FWIW I have never been able to
Hi all,
I've made some investigations. First of all, I've tested several OSG
versions with the following code :
osgViewer::Viewer viewer;
viewer.setThreadingModel(osgViewer::ViewerBase::SingleThreaded);
osg::DisplaySettings::instance()-setCompileContextsHint(true);
Currently it doesn't work with OSG 2.4 as I said (the behavior is strange
with this version, in some case it works, in other not). But with 2.2 it
still works in all case.
On Mon, Aug 4, 2008 at 5:31 PM, Serge Lages [EMAIL PROTECTED] wrote:
Hi all,
I've made some investigations. First of all,
Hi Serge,
The code looks to be a bit suspect to me. The problem is that the
CompileContextHint will tell osgViewer to try and create a compile
context for each window it creates, and then start a thread for each
of these compile context, this thread will have the a makeCurrent()
internally and
You're right, my test wasn't correct.
I've made a new one (see below), and it doesn't work on any OSG version...
:/ It crash everywhere on glGetString because the makeCurrent failed on the
PixelBuffer.
I'll try to work on it tomorrow, any idea on where to look ? :) Are
PixelBuffer not working at
Hi Serge,
I can't right out whether your new code is safe, I would for starts
check the graphics context is being passed in by case the object to a
GraphicsContext* as well as the Viewer* just to make sure that it's be
called from the correct thread.
Rather than roll your own tests, could you
Hi all,
I am currently trying to use CompileContexts on my application, but just
doing this :
osgViewer::Viewerviewer;
viewer.setThreadingModel(osgViewer::ViewerBase::SingleThreaded);
osg::DisplaySettings::instance()-setCompileContextsHint(true);
return (viewer.run());
The application
10 matches
Mail list logo