Re: [osg-users] Framebuffer object fails on mingw

2010-05-03 Thread Filip Wänström
Thanks for you reply, actually we used that site for some help but didn't follow it exactly. Maybe we should try again. Maybe the QT dist of mingw is better. Best /Filip On Fri, Apr 30, 2010 at 2:43 PM, Michael Rohn mr...@gmx.de wrote: Hi Filip, I had the problem to that I was not able to use

Re: [osg-users] Framebuffer object fails on mingw

2010-04-30 Thread Filip Wänström
More info: If I print the process addresses of some of the extensions like so: osg::FBOExtensions* ext = osg::FBOExtensions::instance(0,1); printf(got ext %p \n, ext); printf(Address of glFramebufferRenderbuffer : %p\n, ext-glFramebufferRenderbuffer); if (ext-isSupported()) printf(FBO is

Re: [osg-users] Framebuffer object fails on mingw

2010-04-30 Thread Robert Osfield
Hi Filip, I don't enough about how you are using your code in the wider app, but the extension mechanism requires a graphics context to be able to initialize itself - perhaps this may be affecting your local test for the graphics context support. Beyond this I can't really help as I can't

Re: [osg-users] Framebuffer object fails on mingw

2010-04-30 Thread Filip Wänström
Hi Robert, and thanks for your thoughts on the subject. I hoped I messed up the context setup/extension checking code but sadly I didn't, I tested the code successfully on both Windows 7 using Visual studio as well as on Mac OS X using XCode. This problem only happens on mingw when using osg.

Re: [osg-users] Framebuffer object fails on mingw

2010-04-30 Thread Michael Rohn
Hi Filip, I had the problem to that I was not able to use the FBO with mingw. But on a new PC I set up my environment and build OSG by this howto: http://www.multigesture.net/articles/how-to-compile-openscenegraph-2-x-using-mingw/