bugGNU Octave - Bugs: bug #41874, FLTK toolkit anti-aliasing support...

 
 

bug #41874: FLTK toolkit anti-aliasing support lacking

Submitter:  Daniel <ddshore>
Submitted:  Fri 14 Mar 2014 08:17:11 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Wont Fix Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 15 Mar 2014 05:08:11 PM UTC, comment #4: 

Well it's good that there is a simple workaround for you.  To make it permanent set the default property on the root figure, perhaps in your .octaverc file.


set (0, "defaultlinelinewidth", 1);


I'm going to close the bug report because there's nothing we can do about it in Octave code.  Some drivers and video cards just appear to have this problem, and we want to maintain compatibility with Matlab which uses 0.5 as the default line width.

Rik <rik5>
Group administrator
Sat 15 Mar 2014 03:33:07 AM UTC, comment #3: 

Looks like changing the line width fixes it. I've attached all screenshots.


Daniel <ddshore>
Sat 15 Mar 2014 03:28:17 AM UTC, comment #2: 

Octave has turned on anti-aliasing in 3.8.1 for FLTK plots.  However, we have had reports that some graphics cards, particularly from Intel, don't seem to implement this well.  But this is not an Octave problem as we are correctly setting things up on our side.

Rik <rik5>
Group administrator
Sat 15 Mar 2014 03:26:20 AM UTC, comment #1: 

For debugging it would be useful to have a very simple example.

Is this enough to demonstrate the problem?


graphics_toolkit fltk
plot (1:10, "x", "markersize", 10);


If so, could you post that picture?

Second, what happens if you change the linewidth?


graphics_toolkit fltk
h = plot (1:10, "x", "markersize", 10);
## Now try changing the linewidth and looking at the results
set (h, "linewidth", 1)
set (h, "linewidth", 2)
set (h, "linewidth", 3)


Rik <rik5>
Group administrator
Fri 14 Mar 2014 08:17:11 PM UTC, original submission:  

I'm currently on version 3.8.1, and when plotting with FLTK it's buggy, it appears to be the anti-aliasing. 

When using version 3.8.0 it lookes much worse.  This new bug forked from this bug:

https://savannah.gnu.org/bugs/?41819

When plotting:

>plot(x, y, 'x', 'MarkerSize', 10);


The Xs have a different weight on each diagonal. I'm attaching four screenshots, showing the differences between gnuplot and FLTK.

The command I used for the Xs was:

>plot(x, y, 'x', 'MarkerSize', 10);


for the sin curve it was:

> plot (x, sin (x));


The sin curve is just for reference, as it looks fine, although the antialiasing could look a bit smoother.

Daniel <ddshore>

 

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

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by ddshore (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 12 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-15 rik5 StatusNeed Info Wont Fix
        Open/ClosedOpen Closed
    2014-03-15 ddshore Attached File- Added Screenshot from 2014-03-14 21:29:24.png, #30908
        Attached File- Added Screenshot from 2014-03-14 21:31:03.png, #30909
        Attached File- Added Screenshot from 2014-03-14 21:30:53.png, #30910
        Attached File- Added Screenshot from 2014-03-14 21:31:09.png, #30911
    2014-03-15 rik5 Item GroupPerformance Other
    2014-03-15 rik5 StatusNone Need Info
    2014-03-14 ddshore Attached File- Added Screenshot from 2014-03-13 09:15:17.png, #30902
        Attached File- Added Screenshot from 2014-03-13 09:27:16.png, #30903
        Attached File- Added Screenshot from 2014-03-13 09:16:39.png, #30904
        Attached File- Added Screenshot from 2014-03-13 09:27:27.png, #30905

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code