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

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

[Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim set


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim settings
Date: Sun, 20 Sep 2020 13:52:31 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36 Edg/85.0.564.51

Follow-up Comment #22, bug #58956 (project octave):

There might be a similar issue (difference between single precision floating
point numbers) in opengl_renderer::set_clipbox:
https://hg.savannah.gnu.org/hgweb/octave/file/b8e9e012bb21/libinterp/corefcn/gl-render.cc#l4292

I don't know which coordinate system is used for the input arguments.
If it is the "camera coordinate system", maybe we need to make sure to extend
the clipbox taking the "sparse neighbors" in single precision into account.
If it is the "world coordinate system", maybe we still need to make sure that
that problem won't cause issues when the OpenGL routines transform the
clipping planes into the camera coordinate system.

At the moment, it looks like it might be increased to each side by 0.1% of the
extent of the scene(?). We might need to increase that if the plains are
"close in single precision" in the camera coordinate system.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58956>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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