help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saves incomplete, multi-plot figure to file.


From: Jordi Gutiérrez Hermoso
Subject: Re: Saves incomplete, multi-plot figure to file.
Date: Mon, 13 May 2013 11:35:36 -0400

On 13 May 2013 11:13, gholladay <address@hidden> wrote:
> Is there a way to disable display of this window that might speed up
> the 'saveas' function?

Displaying the OpenGL window isn't what slows down the file writing.
The slow part is that we are taking a very complicated OpenGL object,
rendering it to some vector format that preserves *all* of the
information of the original plot, even information that is too small
for any reasonable resolution, and then, frequently, converting that
vector information into a rasterised image. To top it off, to get that
OpenGL information, we need an OpenGL context, which in many OpenGL
implementations means we actually need an open OpenGL window displayed
on screen.

The whole process is kind of dumb, but it was the best we could come
up with at the time. It would be great if we could improve this to use
something other than OpenGL that doesn't have these limitations, at
least for 2d plots. For 3d plots, I think we should just grab screen
pixels, but this still suffers from the problem that many OpenGL
implementations require on-screen graphics to grab those pixels from.

- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]