|
|
Framebuffer readback, preferrable faster then glReadPixels
For a small video editing application I'd like to read back the contents
of my OpenGL window to a AVI file. The process is not the problem, just
the speed of glReadPixles. Does anybody know a faster method of access
to the framebuffer contents. It is not neccessary that it uses OpenGL
functions for readback, but it should be able to access the contents of
the framebuffer and be faster then glReadPixels. The rendering window is
ensured to be visible all the time and won't be obscured, so clipping is
no problem.
--
+------------------------------------------------+
| +----------------+ WOLFGANG DRAXINGER |
| | ,-. DARKSTAR | lead programmer |
| |( ) +---------+ wdraxinger@darkstargames.de |
| | `-' / GAMES / |
| +----+'''''''' http://www.darkstargames.de |
+------------------------------------------------+
|
|
0
|
|
|
|
Reply
|
Wolfgang
|
7/14/2003 11:47:50 PM |
|
JB West wrote:
> After a lot of looking, I've found that with the latest drivers, with the
> optimal
> readback format, which varys from card to card, (USually BRGA, unsigned
> byte) is faster than anything else:
> about 40 Megapixels/sec (~frames/sec).
So you suggest to try out all avaliabe readback formats and see how they
perform? Well, this is gonna to be a looong night... Not for me, but my
computer.
--
+------------------------------------------------+
| +----------------+ WOLFGANG DRAXINGER |
| | ,-. DARKSTAR | lead programmer |
| |( ) +---------+ wdraxinger@darkstargames.de |
| | `-' / GAMES / |
| +----+'''''''' http://www.darkstargames.de |
+------------------------------------------------+
|
|
0
|
|
|
|
Reply
|
Wolfgang
|
7/15/2003 12:38:51 PM
|
|
Wolfgang Draxinger wrote:
> For a small video editing application I'd like to read back the
> contents of my OpenGL window to a AVI file. The process is not the
Take a look at the demo posted here:
http://www.delphi3d.net/forums/viewtopic.php?t=176
It uses GDI calls instead of glReadPixels.
--
Sebastian Schuberth
|
|
0
|
|
|
|
Reply
|
Sebastian
|
7/16/2003 9:05:34 PM
|
|
Sebastian Schuberth wrote:
> Wolfgang Draxinger wrote:
>
>
>>For a small video editing application I'd like to read back the
>>contents of my OpenGL window to a AVI file. The process is not the
>
>
> Take a look at the demo posted here:
> http://www.delphi3d.net/forums/viewtopic.php?t=176
> It uses GDI calls instead of glReadPixels.
Do you also know something about X11? I'm working under Linux.
--
+------------------------------------------------+
| +----------------+ WOLFGANG DRAXINGER |
| | ,-. DARKSTAR | lead programmer |
| |( ) +---------+ wdraxinger@darkstargames.de |
| | `-' / GAMES / |
| +----+'''''''' http://www.darkstargames.de |
+------------------------------------------------+
|
|
0
|
|
|
|
Reply
|
Wolfgang
|
7/17/2003 4:22:18 PM
|
|
GDI and X11 are slower than glReadPixels these days, at least on NVIDIA.
ATI, as I recall, has pretty good glReadPixels performance.
"Sebastian Schuberth" <s.schuberth@tu-bs.de> wrote in message
news:bf4f4r$ao9un$1@ID-44097.news.uni-berlin.de...
> Wolfgang Draxinger wrote:
>
> > For a small video editing application I'd like to read back the
> > contents of my OpenGL window to a AVI file. The process is not the
>
> Take a look at the demo posted here:
> http://www.delphi3d.net/forums/viewtopic.php?t=176
> It uses GDI calls instead of glReadPixels.
>
> --
>
> Sebastian Schuberth
>
>
|
|
0
|
|
|
|
Reply
|
JB
|
7/19/2003 2:56:03 PM
|
|
|
4 Replies
765 Views
(page loaded in 0.297 seconds)
Similiar Articles: Framebuffer readback, preferrable faster then glReadPixels - comp ...For a small video editing application I'd like to read back the contents of my OpenGL window to a AVI file. The process is not the problem, just the... FBO and glReadPixels slowness - comp.graphics.api.opengl ...Framebuffer readback, preferrable faster then glReadPixels - comp ... FBO and glReadPixels slowness - comp.graphics.api.opengl ..... read the texture to the CPU using ... glReadPixels question - comp.graphics.api.openglFramebuffer readback, preferrable faster then glReadPixels - comp ..... Post Question | Groups | ... be able to access the contents of the framebuffer and be faster then ... FBO and reading with glReadPixels - comp.graphics.api.opengl ...Framebuffer readback, preferrable faster then glReadPixels - comp ... Framebuffer readback, preferrable faster then glReadPixels - comp ... For a small video editing ... How to draw framebuffer to device context ? - comp.graphics.api ...Framebuffer readback, preferrable faster then glReadPixels - comp ... How to draw framebuffer to device context ? - comp.graphics.api ... Framebuffer readback, preferrable ... Taking a frame from a live video - comp.soft-sys.matlabFramebuffer readback, preferrable faster then glReadPixels - comp ... For a small video editing application I'd like to read back the contents of my ... unsigned > byte ... OpenGL video rendering - comp.graphics.api.openglFramebuffer readback, preferrable faster then glReadPixels - comp ... YUV video rendering - comp.graphics.api.opengl Framebuffer readback, preferrable faster then ... Framebuffer readback, preferrable faster then glReadPixels - comp ...For a small video editing application I'd like to read back the contents of my OpenGL window to a AVI file. The process is not the problem, just the... FBO and glReadPixels slowness - comp.graphics.api.opengl ...Framebuffer readback, preferrable faster then glReadPixels - comp ... FBO and glReadPixels slowness - comp.graphics.api.opengl ..... read the texture to the CPU using ... 7/22/2012 5:21:10 PM
|
|
|
|
|
|
|
|
|