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

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

[Octave-bug-tracker] [bug #47217] After image/imagesc, the body of a pat


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #47217] After image/imagesc, the body of a patch is not drawn under FLTK
Date: Mon, 22 Feb 2016 04:53:00 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

URL:
  <http://savannah.gnu.org/bugs/?47217>

                 Summary: After image/imagesc, the body of a patch is not
drawn under FLTK 
                 Project: GNU Octave
            Submitted by: lachlan
            Submitted on: Mon 22 Feb 2016 04:52:59 AM GMT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: lachlan
         Originator Name: Lachlan
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Typing


graphics_toolkit ("fltk")
imagesc (rand (3,3))
patch ([1 2 2 1], [ 1 1 2 2], 'b')


will produce the outline of a patch at the stated coordinates, but inside the
patch will still show the random pixels from imagesc.

The reason is that the patch body is deliberately pushed deeper in the
Z-buffer's (not the patch's) Z coordinate so that it doesn't overwrite the
patch edge.  However, it seems that this pushes it behind the imagesc data.  I
haven't found where that is set, so I can't confirm its Z-buffer location.

Reducing the offset seems to work.  I'll submit a changeset once I have the
bug number.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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