Results 1 to 4 of 4

Thread: Qwt 6.3.0 with Qt 6.8.2 - Antialiasing problem with QwtPlotOpenGLCanvas

  1. #1
    Join Date
    Sep 2011
    Posts
    2
    Qt products
    Qt4

    Default Qwt 6.3.0 with Qt 6.8.2 - Antialiasing problem with QwtPlotOpenGLCanvas

    Antialiasing does not seem to work in Qwt version 6.3.0 with the QwtPlotOpenGLCanvas class. This can also be observed in the Qwt example refreshtest. Antialiasing was still working with Qwt 6.2.0 and Qt 6.7.1. Does anyone have an idea how to improve the quality of the curves?

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,323
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qwt 6.3.0 with Qt 6.8.2 - Antialiasing problem with QwtPlotOpenGLCanvas

    What happens when doing the following:
    Qt Code:
    1. auto canvas = new QwtPlotOpenGLCanvas();
    2.  
    3. auto fmt = canvas->format();
    4. fmt.setSamples( 16 );
    5.  
    6. canvas->setFormat( fmt );
    7. ...
    To copy to clipboard, switch view to plain text mode 

  3. #3
    Join Date
    Sep 2011
    Posts
    2
    Qt products
    Qt4

    Default Re: Qwt 6.3.0 with Qt 6.8.2 - Antialiasing problem with QwtPlotOpenGLCanvas

    Thank you very much for your quick response.
    Bye

  4. #4
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,323
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qwt 6.3.0 with Qt 6.8.2 - Antialiasing problem with QwtPlotOpenGLCanvas

    Be aware that multisampling increases the GPU load and you might have an impact on the performance by choosing too many samples. So 16 might be too much.
    Another question is of course why multisampling is enabled in your application with Qt 6.7 and not with Qt 6.8.

    Uwe

Similar Threads

  1. Replies: 1
    Last Post: 14th November 2022, 08:35
  2. Replies: 2
    Last Post: 18th August 2016, 16:30
  3. Replies: 4
    Last Post: 17th August 2016, 19:41
  4. QSvgRenderer antialiasing
    By jonks in forum Qt Programming
    Replies: 4
    Last Post: 19th July 2013, 10:39
  5. Best AntiAliasing?
    By beni46 in forum Qwt
    Replies: 2
    Last Post: 2nd February 2010, 14:28

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.