FBO sample code posted
The FBO demo shown at WWDC is now available as sample code.
It shows off a few different simple things you can do with render-to-texture.
Hopefully this is useful as "working code" to supplement the spec.
It shows off a few different simple things you can do with render-to-texture.
Hopefully this is useful as "working code" to supplement the spec.
Let me be the first to say.... Bunnies!!!!!!!
No, seriously, that's cool. Code looks intelligible for once, too
No, seriously, that's cool. Code looks intelligible for once, too
Argh! Where was this three weeks ago!
Very cool. Works well.
Very cool. Works well.
A related question: I'm using AGL surface texture for my render-to-texture needs and although I will eventually implement an FBO path, I don't currently have hardware that supports FBOs. Is it worth implementing an AGL pbuffer path for OS X 10.3+? Or will surface textures suffice for non-FBO capable cards? The surface texture API isn't marked as deprecated (yet?) but I'm curious if there are any performance advantages to using the pbuffer API.
Surface texture still works fine, although future development will be focused on FBO. There shouldn't be any major performance difference between surface texure and pbuffer. Surface texturing also works with multisampling, which doesn't work with pbuffer (or FBO yet, though we're working on that.)
Thanks for the info - I guess I'll skip pbuffers and go straight to FBO, keeping surface texture as the fallback.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Sample Code Apple removed? | SaxMan | 12 | 5,710 |
Jan 17, 2009 05:26 PM Last Post: AnotherJake |
|
| How to read an iTunes playlist, sample code | TomorrowPlusX | 4 | 4,354 |
Sep 9, 2005 11:06 PM Last Post: LongJumper |
|
| TextureRange sample | Red Marble Game | 1 | 2,612 |
Dec 9, 2004 12:04 PM Last Post: arekkusu |
|
| Does Anyone have a sample of SDL being implemented without Project Builder? | tingham | 10 | 4,058 |
Oct 7, 2003 11:42 AM Last Post: Fenris |
|
| s3tc tools / sample code? | arekkusu | 2 | 3,271 |
Apr 13, 2003 06:40 PM Last Post: ibullard |
|

