PBuffers on Mac OS X?

I don’t know what I’m doing wrong. I haven’t seen a working PBuffer demo that works on any of my Mac OS X machines. I’ve tried using recent source, as well as the builds from gziemski’s homepage, and I haven’t seen PBuffers work yet. Does anybody know what I might be doing wrong, or does anybody have a nice demo I can look at (preferably with source)?

Thanks!

Corwin

Hi Corwin,

This is a thread from the lwjgl forum that might be of a little help.
It looks like they aren’t supported on 10.2 and in the thread, they thought they might be in 10.3, but maybe they aren’t there yet?

http://puppygames.net/forums/viewtopic.php?t=568&sid=cb587c9eaa8ebf0aac1dd42ce0d1e370

-Michael

gurrrr! OSX-Tiger is my guess…

No, they’re supported on the OS, and I can write C that demonstrates that.

Also, Render-To-Texture doesn’t work either. Has anybody gotten these to work?

Thanks!

Corwin

[quote]No, they’re supported on the OS, and I can write C that demonstrates that.

Also, Render-To-Texture doesn’t work either. Has anybody gotten these to work?
[/quote]
Does demos.hwShadowmapsSimple.HWShadowmapsSimple work for you? It uses PBuffers and it works for me.

Which demo exactly is the Render-To-Texture?

cheers

[quote]Hi Corwin,

This is a thread from the lwjgl forum that might be of a little help.
It looks like they aren’t supported on 10.2 and in the thread, they thought they might be in 10.3, but maybe they aren’t there yet?
[/quote]
PBuffers are definitively supported in Mac OS X 10.2.

The C examples for Mac OS X using PBuffers can be found here: http://developer.apple.com/samplecode/GraphicsImaging/idxOpenGL-date.html

The HWShadowmapsSimple in jogl-demos uses pbuffers too.

cheers

Thanks for all the help- I’ll look at those tomorrow and post my results.

Thanks!

Corwin