Hi Paul,

osgdistortion isn't failing on my Linux/NVidia box, but... it does
have FBO support, so perhaps this is the difference.  The call to
isMultisample does suggest that the code has detected lack of FBO
support properly.  I've reviewed the code and it looks like the new
support for multi-sampled FBO adds FBO setup code that isn't guarded,
I've added these guards.  Could you do an svn update and let me know
how you get on.

BTW, what hardware/drivers are you using?

Robert.

On Mon, Jun 30, 2008 at 11:43 AM, Paul Melis <[EMAIL PROTECTED]> wrote:
> Hello Robert,
>
> On a Linux + nVidia I get a crash with latest SVN when running osgdistortion
> (notice the this pointer in #0):
>
> (gdb) bt
> #0  osg::FrameBufferObject::isMultisample (this=0x0) at
> /home/paul/c/osg-svn/src/osg/FrameBufferObject.cpp:802
> #1  0x0050638b in osgUtil::RenderStage::drawInner (this=0x8b96778,
> [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED])
>   at /home/paul/c/osg-svn/src/osgUtil/RenderStage.cpp:787
> #2  0x005058d5 in osgUtil::RenderStage::draw (this=0x8b96778,
> [EMAIL PROTECTED], [EMAIL PROTECTED])
>   at /home/paul/c/osg-svn/src/osgUtil/RenderStage.cpp:1090
> #3  0x004ffd1e in osgUtil::RenderStage::drawPreRenderStages (this=0x8a2fa48,
> [EMAIL PROTECTED], [EMAIL PROTECTED])
>   at /home/paul/c/osg-svn/src/osgUtil/RenderStage.cpp:210
> #4  0x00517ba5 in osgUtil::SceneView::draw (this=0x8a2ed48) at
> /home/paul/c/osg-svn/src/osgUtil/SceneView.cpp:1508
> #5  0x005c3926 in osgViewer::Renderer::cull_draw (this=0x8a2eb48) at
> /home/paul/c/osg-svn/src/osgViewer/Renderer.cpp:530
> #6  0x005bede8 in osgViewer::Renderer::operator() (this=0x0,
> context=0x8a52b28) at /home/paul/c/osg-svn/src/osgViewer/Renderer.cpp:631
> #7  0x002d7faa in osg::GraphicsContext::runOperations (this=0x8a52b28) at
> /home/paul/c/osg-svn/src/osg/GraphicsContext.cpp:688
> #8  0x005f416a in osgViewer::ViewerBase::renderingTraversals
> (this=0xbfea57fc) at /home/paul/c/osg-svn/src/osgViewer/ViewerBase.cpp:694
> #9  0x005f1b4d in osgViewer::ViewerBase::frame (this=0xbfea57fc,
> simulationTime=1.7976931348623157e+308)
>   at /home/paul/c/osg-svn/src/osgViewer/ViewerBase.cpp:592
> #10 0x005f1c0e in osgViewer::ViewerBase::run (this=0xbfea57fc) at
> /home/paul/c/osg-svn/src/osgViewer/ViewerBase.cpp:564
> #11 0x005e734f in osgViewer::Viewer::run (this=0xbfea57fc) at
> /home/paul/c/osg-svn/src/osgViewer/Viewer.cpp:322
> #12 0x08051e1c in main (argc=1, argv=0xbfea59c4) at
> /home/paul/c/osg-svn/examples/osgdistortion/osgdistortion.cpp:754
>
> Could it be that a check for FBO support is failing? This particular
> graphics card does not have FBO support:
> ...
> OpenGL extension 'GL_EXT_framebuffer_object' is not supported.
> ...
>
> Paul
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to