Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Qt3D] Anti-aliasing

[Qt3D] Anti-aliasing

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 370 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • lukeglukeL Offline
    lukeglukeL Offline
    lukegluke
    wrote on last edited by
    #1

    Scene3D QML has multisample property. If it is used all 3d scene gets anti-aliased, but it slows down my app including GUI on not so powerful android tablets

    In fact I don't need anti-aliasing for whole scene so I wonder how one can apply anti-aliasing for just a few layers where I need it?

    Something like this (but it doesn't work):

    m_layerFilterExtra = new QLayerFilter();
    m_layerFilterExtra->addLayer(layerSun);
    m_layerFilterExtra->addLayer(layerObject);
    renderStateSet = new QRenderStateSet();
    renderStateSet->addRenderState(new QNoDepthMask());
    renderStateSet->addRenderState(new QMultiSampleAntiAliasing());
    renderStateSet->setParent(m_layerFilterExtra);
    m_layerFilterExtra->setParent(cameraSelector);
    

    And another question how FXAA can be used instead of multisampling. FXAA is mentioned in qt3dstudio https://doc.qt.io/qt3dstudio/fxaa-effect.html

    Thanks in advanced for help!


    With regards, Oleg.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved