Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt 3D Module(C++ Part) Multisample Anti-Aliasing



  • Hi,all. This problem is about Qt 3D module (c++ aspect ) .
    my develop tool is base on Q5.9.6
    my computer have no independent graphics card and the cpu is Core i7-2600,So my graphics card is HD Graphics 2000.
    First,I write a QML 3D program .the code is use the Scene3D class
    0_1539331777315_1.png
    And set multisample property is true. I use SceneLoader to load the obj file (as far as i know,SceneLoader will auto load obj's references mtl file)
    0_1539331918383_2.png
    Finally,I run the program.the display result is
    0_1539331992081_3.png
    the model looks very well.And I now I switch the multisample to false.I run the program and the display result is
    0_1539332109172_5.png
    So you can see something burr on the round.
    This program prove use multisample can effect Anti-Aliasing,in QML and my graphics card is no problem to effect Anti-Aliasing.
    But now I can't find the way to effect Anti-Aliasing in Qt 3D (ps: I use Qt3DWindow,QTransform,QSceneLoader and son on,no use pre openGL function and class).
    Is somebody help to slove this problem,Thanks very much!


Log in to reply