Author Topic: opengl render to frame buffer example  (Read 15513 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: opengl render to frame buffer example
« Reply #20 on: May 13, 2007 »
Thanks nino, that's much better :)  I still just get the black cube...

Jim
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: opengl render to frame buffer example
« Reply #21 on: May 13, 2007 »
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:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: opengl render to frame buffer example
« Reply #22 on: May 14, 2007 »
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:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: opengl render to frame buffer example
« Reply #23 on: May 14, 2007 »
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:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: opengl render to frame buffer example
« Reply #24 on: May 14, 2007 »
Quote
does pbuffer stuff run on your x1600 jim?
I don't know :)

Jim
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: opengl render to frame buffer example
« Reply #25 on: December 16, 2007 »
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
« Last Edit: December 16, 2007 by Jim »
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: opengl render to frame buffer example
« Reply #26 on: December 16, 2007 »
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:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: opengl render to frame buffer example
« Reply #27 on: December 16, 2007 »
I'm going to do some experiments of my own, including a comparison with pbuffers :)

Jim
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: opengl render to frame buffer example
« Reply #28 on: December 16, 2007 »
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:

Offline stormbringer

  • Time moves by fast, no second chance
  • Amiga 1200
  • ****
  • Posts: 453
  • Karma: 73
    • View Profile
    • www.retro-remakes.net
Re: opengl render to frame buffer example
« Reply #29 on: December 16, 2007 »
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

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: opengl render to frame buffer example
« Reply #30 on: December 26, 2007 »
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:

Offline stormbringer

  • Time moves by fast, no second chance
  • Amiga 1200
  • ****
  • Posts: 453
  • Karma: 73
    • View Profile
    • www.retro-remakes.net
Re: opengl render to frame buffer example
« Reply #31 on: December 26, 2007 »
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

Offline DrewPee

  • I Toast Therefore I am
  • Pentium
  • *****
  • Posts: 563
  • Karma: 25
  • Eat Cheese - It's good for you!
    • View Profile
    • Retro Computer Museum
Re: opengl render to frame buffer example
« Reply #32 on: January 18, 2008 »
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