Stencil buffers in an FBO... trouble

Sage
Posts: 1,199
Joined: 2004.10
Post: #16
So, long story short, I posted this question on Apple's gl mailing list, and I got a couple off-list replies ( one from a dev at Blizzard! ). Neither were able to tell me what I'm doing wrong, but both informed me that PBuffers don't work -- at all -- when dealing with a true fullscreen gl context. Since I want to do fullscreen, with resolution switching and not **** up people's desktops, I'm SOL, even if I could solve this bug.

So, I've put it on the backburner. Oh well. In the last two mornings I've managed to do some worthwhile refactoring, and implemented picking. That feels good, after weeks of worthlessly banging my head against the wall.
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #17
They lie. PBuffers *do* work with true full-screen GL contexts.

http://onesadcookie.com/~keith/FullScreenPBuffer.c
Quote this message in a reply
kberg
Unregistered
 
Post: #18
pbuffers work for me as well with both windowed and true fullscreen modes; however... I have noticed that on GeForce 2MX's and Radeon 9200's (eMac and G4 mac mini), there are silent errors which causes things to appear blank even though they are supposed to support pbuffers. My primary development box has a 9800 in it so I haven't tried debugging this case yet.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  SLOW performance drawing multiple polygons per frame with stencil buffer clam61 7 4,397 Apr 27, 2013 11:53 AM
Last Post: clam61
  Masking without a stencil buffer? Bachus 12 14,053 Sep 2, 2010 02:42 PM
Last Post: Skorche
  Making 2D Stencil Shadows Soft metacollin 16 15,760 Jul 22, 2009 01:59 PM
Last Post: NelsonMandella
  Frame buffers, vertex programs and more. 8600m GT m3the01 18 8,078 Nov 18, 2007 07:34 PM
Last Post: m3the01
  Stencil shadows meant to look like this? ia3n_g 2 3,815 Nov 23, 2006 06:57 PM
Last Post: akb825