bugGNU Octave - Bugs: bug #45104, saveas: filled polygons have...


bug #45104: saveas: filled polygons have visible gaps between triangles

Submitter:  Oliver Heimlich <oheim>
Submitted:  Thu 14 May 2015 03:55:37 PM UTC
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Oliver Heimlich Open/Closed:  * Closed
Release:  * 3.8.2 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Thu 14 May 2015 07:08:32 PM UTC, comment #1: 


This is a duplicate of bug #44181 which has been close because Matlab doesn't do better: this is an intrinsic "feature" of OpenGl that it breaks polygons into smaller triangles. The lines that we see are due to anti-aliasing issues.

Pantxo Diribarne <pantxo>
Group Member
Thu 14 May 2015 03:55:37 PM UTC, original submission:  

Reproduction protocol: Use the second fill demo (dark blue and dark red polyons) and save the figure as either png or pdf.

The image files show transparent lines between the triangles of the polygons. The lines are very thin, but clearly visible. See attached files.

The on-screen figure does not show these lines.

The problem occurs in either combination of Windows, GNU/Linux, Octave 3.8.2 and Octave 4.0rc4 with both fltk and qt (gnuplot is not affected).

Expected result: No visible lines in the PNG and connected polygon in the PDF.

Oliver Heimlich <oheim>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #34011:  fill-demo-2.pdf added by oheim (3KiB - application/pdf)
file #34012:  fill-demo-2.png added by oheim (49KiB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by oheim (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-14 pantxo StatusNone Duplicate
        Open/ClosedOpen Closed
    2015-05-14 oheim Attached File- Added fill-demo-2.pdf, #34011
        Attached File- Added fill-demo-2.png, #34012

    Back to the top

    Powered by Savane 3.13-ee12.
    Corresponding source code