• Welcome to Dark Bit Factory & Gravity.
 

opengl render to frame buffer example

Started by ninogenio, May 11, 2007

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Jim

Thanks nino, that's much better :)  I still just get the black cube...

Jim
Challenge Trophies Won:

ninogenio

dang it,

i was hopeing youd mabey get "Need A Diffrent Format" or something just so we could work out whats going on...
Challenge Trophies Won:

Jim

Checked all that, and glGetError returns GL_NOERROR too.
I tried it on my Quadro FX1400 and my GeForce MX and it works OK.
Jim
Challenge Trophies Won:

ninogenio

if its supported in the mx line it *should* be fairly compatible.

does pbuffer stuff run on your x1600 jim? cause im thinking it might be the most compatible route as i dont want to make demos that only a few people can veiw.
Challenge Trophies Won:

Jim

Quotedoes pbuffer stuff run on your x1600 jim?
I don't know :)

Jim
Challenge Trophies Won:

Jim

#25
I rechecked this on my Vista X1600 and it's working fast and well now, so it was a driver problem.  I also checked it on my Vista 8600GT and it runs, but about 1/10th the speed of the ATI.  Not sure whether that's just because it's crap running in a window on nVidia, or what.

Jim
Challenge Trophies Won:

ninogenio

great! and thanks for the updated info jim.

its weird it works faster on your ati board, would you like a fullscreen version to test?
Challenge Trophies Won:

Jim

I'm going to do some experiments of my own, including a comparison with pbuffers :)

Jim
Challenge Trophies Won:

ninogenio

cool..could you keep the forum updated on your findings jim,

i really like fbo's for simplicity but until they are a bit more on the stable side i think ill use pbuffers.
Challenge Trophies Won:

stormbringer

FORGET PBuffers!!!!

they are buggy, not very advanced in terms of what you can do with them and VERY VERY SLOW!!!

FBOs are the way to go: clean, fast, etc
We once had a passion
It all seemed so right
So young and so eager
No end in sight
But now we are prisoners
In our own hearts
Nothing seems real
It's all torn apart

Jim

I implemented both, you get a FBO if your card supports them (you're right, they're great, but we had terrible problems with early Vista drivers), and if not, you get a pbuffer.  If it works, it works, if it breaks, tough!

Jim
Challenge Trophies Won:

stormbringer

Jim, FBOs work really fine, the problem is that almost all the drivers for Vista are not that stable yet... but that's really the way to go....
We once had a passion
It all seemed so right
So young and so eager
No end in sight
But now we are prisoners
In our own hearts
Nothing seems real
It's all torn apart

DrewPee

Nino (and gang!)
It works great on my sony vaio laptop (nVidia GeForce 8400M GT) - smooth as a silk dude!

Nice work!

Drew
DrewPee
aka Falcon of The Lost Boyz (Amiga)
Ex-Amiga Coder and Graphic Designer
Administrator of > www.retrocomputermuseum.co.uk