Thanks Mourad, changes now merged (with a tiny tweak to the #ifdef guards) and checked into svn/trunk.
On Wed, Apr 21, 2010 at 5:07 PM, Mourad Boufarguine <[email protected]> wrote: > Hi Tim and Robert, > When compiling the example on VS9, the compiler complain about > undefined GL_DEPTH_COMPONENT32F and GL_DEPTH_COMPONENT32F_NV. So I added > them to include/osg/FrameBufferObject. The example builds fine and is > working for me without crashs unless it is ran whithout argument. I added > couple of lines to check for arguments number and print the example usage > when needed. > > These chages are against trunk rev 11354. > Mourad > > On Tue, Apr 20, 2010 at 8:52 AM, Tim Moore <[email protected]> wrote: >> >> >> On Mon, Apr 19, 2010 at 6:05 PM, Robert Osfield <[email protected]> >> wrote: >>> >>> Hi Tim, >>> >>> A debg build reports that are the crash: >>> >>> Program received signal SIGSEGV, Segmentation fault. >>> [Switching to Thread 0x7ffefc00d760 (LWP 10274)] >>> 0x0000000000415cf5 in setAttachmentsFromConfig (camera=0xa38e00, >>> >>> >>> The crash is obviously down to config being null. How do you want to >>> go about fixing this? Only call setAttachmentsFromConfig is config is >>> not null, or does the null config indicate a problem elsewhere? >>> >> The root of the problem must be that validConfigs is empty. I've made a >> slight change to check for that and exit, but it would be nice to know why >> validConfigs ends up empty; I suspect that createFBO must be failing in some >> nasty way on your hardware. >> >> You can send me the glxinfo output for your card and I'll look for >> anything obvious. The other thing to do is to pass checkFramebufferStatus() >> a second argument of false instead of true, which will give some verbose >> output about FBO problems. >> >> Does the osgpackeddepthstencil example work on your machine? >> >> Thanks, >> Tim >> >> _______________________________________________ >> osg-submissions mailing list >> [email protected] >> >> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >> > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
