octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #40246] OpenGL should test data and abort plot


From: Rik
Subject: [Octave-bug-tracker] [bug #40246] OpenGL should test data and abort plot if range > float range
Date: Tue, 22 Oct 2013 23:09:03 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0

Follow-up Comment #8, bug #40246 (project octave):

I know about the multiple warnings, but there isn't much of a way to fix it. 
In short, better to follow the warning's advice and either scale the data or
switch to gnuplot.

Stopping the redraw events isn't going to happen for FLTK.  It's a lot of pain
to figure out how it might be worked out and we're leaving this widget kit
behind in favor of Qt anyways.  When we switch to Qt I'm sure we'll have a
host of new problems, but that is where we would like to actually create a
fix.

As for stopping the warning, that's not so easy either.  You would need some
sort of persistent storage on a per axis basis.  Yes, the graphics properties
contain the X,Y,Z data on a per-axis basis, but they are in the general code
of graphics.cc which is written for any backend.  We don't want to pollute it
with a lot of tests for this or that toolkit.  Instead, it should be the
toolkit itself which handles things.  That's how it is now; Only the
gl-renderer issues a warning because it is the only backend that cares whether
float or double is used.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40246>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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