OpenGL graphics crash
Alexander Mamonov
mamonov at gmail.com
Thu Jul 9 09:35:39 CDT 2009
I cannot check right now what static_cast<octave_idx_type> does to
NaNs, but the plot looks like in the attached file.
BTW, when I tried to save the plot to a file I got the following error (bug?):
> print -dpng slice.eps
ferror: fflush: invalid stream number = -1
warning: __gnuplot_get_var__: some elements in list of return values
are undefined
I tried different devices, but for all of them I get this same error.
Another bug (or still unimplemented feature?) is colorbar in FLTK backend:
> colorbar
warning: opengl_renderer: cannot render object of type `image'
The actual bar appears, but it is not filled with any color.
Regards,
Alex
On Wed, Jul 8, 2009 at 5:38 PM, John W. Eaton<jwe at octave.org> wrote:
> On 8-Jul-2009, Alexander Mamonov wrote:
>
> | Just as a side note
> |
> | >backend ("fltk")
> | >demo slice
> |
> | works OK with Benjamin's MinGW build of 3.2.0.
> | No crash occurs.
>
> Can you check to see what the value of IDX is in the following
> expression if X is NaN?
>
> octave_idx_type idx = static_cast<octave_idx_type> (x);
>
> On my system, IDX is -INT_MAX. Maybe on yours it is 0?
>
> Does the slice plot look correct?
>
> jwe
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slice.PNG
Type: image/png
Size: 108638 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090709/83d715d1/attachment-0001.png
More information about the Octave-maintainers
mailing list