cubefbo Demo Never Draws Cubes, Revisited

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

cubefbo Demo Never Draws Cubes, Revisited

rhatcher
Fedora 12 32-bit
Nvidia 9800GT and GT640, driver version 310.44
JDK 7u21
JogAmp RC11

I've been trying to run the .../demos/cubefbo demo from jogl-demos.  The app runs, but the cubes never show up as long as texturing is enabled.  IOW I just get the clear color and that's it.

I came across discussion about a similar problem from a couple years ago, but I figured that the FBO feature probably should be stable by now.  So... I'm wondering if I have something going wrong in my dev setup.

I've tried both RC11 and Sven's latest dev code as of 5/21/2013, but neither of them worked.

Is this demo known to work in RC11?

Rob
Reply | Threaded
Open this post in threaded view
|

Re: cubefbo Demo Never Draws Cubes, Revisited

gouessej
Administrator
Hi

The FBO feature might be the real culprint again but I'm a bit surprised it doesn't work with your hardware, Nvidia graphics cards usually support it correctly.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: cubefbo Demo Never Draws Cubes, Revisited

rhatcher
For what it's worth no exceptions are raised with DebugGL2 in the loop.

Over the years I've discovered a whole lot of ways to make no marks whatsoever on the screen using OpenGL, and it looks like I've found another one :-).
Reply | Threaded
Open this post in threaded view
|

Re: cubefbo Demo Never Draws Cubes, Revisited

rhatcher
Also, context.hasBasicFBOSupport() and context.hasFullFBOSupport() both return true.
Reply | Threaded
Open this post in threaded view
|

Re: cubefbo Demo Never Draws Cubes, Revisited

rhatcher
This also returned true, though I'm not sure if this is exactly the right call to make to test availability of this feature:

GLProfile defaultProfile = GLProfile.getDefault() ;
boolean b = context.isFBOAvailable( defaultProfile.getDefaultDevice(), defaultProfile ) ) ;
Reply | Threaded
Open this post in threaded view
|

Re: cubefbo Demo Never Draws Cubes, Revisited

gouessej
Administrator
This feature can be available but broken or a bit buggy. Please can you try to run the demos you suspect of being broken on another machine in order to check whether there is something wrong in JOGL itself?
Julien Gouesse | Personal blog | Website