octave-maintainers
[Top][All Lists]
Advanced

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

Re: Overhaul FLTK toolkit resize/redraw functions


From: sergey plotnikov
Subject: Re: Overhaul FLTK toolkit resize/redraw functions
Date: Fri, 25 Jul 2014 10:33:51 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

25.07.2014 10:06, Andreas Weber пишет:
On 24.07.2014 20:56, sergey plotnikov wrote:

I've tested this, since I'm able to replicate the bug. And actually Ben
was right, lines are kind of hidden, but in my case, if I don't set axes
color to 'none' they are hidden just partially (see junk2.pdf in
attachment).
Because you also have this problem (on Win with MXE build) without my
patch (if I got this right on savannah) on default and all works for you
if you revert gl2ps-renderer.cc to the last stable version, I doubt that
this has the same origin as Bens' problem

Agree, I've just written the same thing  ))

And to my understanding it might be somehow related to the sorting
algorithm we are choosing in gl2ps_renderer.
This might be richt, we are doing
      // For 2D plots we can use a simpler Z-depth sorting algorithm
      if (term.find ("is2D") != std::string::npos)
        gl2ps_sort = GL2PS_SIMPLE_SORT;

And the docu says for this:
GL2PS_SIMPLE_SORT
    The primitives are sorted according to their barycenter. This can be
sufficient for simple three-dimensional scenes and/or when correctness
is not crucial.

I think correctness IS crucial for our 2D plots. Can you try GL2PS_NO_SORT?

-- Andy

I've tried GL2PS_NO_SORT also, but it leads to results we wanted to avoid by introducing simple sorting (with cset 652d9ed6f88d) -- grid lines are being printed below patches even with 'layer'=='top', see bug #35648.


Sergey

reply via email to

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