Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to set opacity in Canvas3d

How to set opacity in Canvas3d

Scheduled Pinned Locked Moved QML and Qt Quick
canvas3d
2 Posts 2 Posters 1.3k 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.
  • A Offline
    A Offline
    anatole
    wrote on last edited by
    #1

    Hello everyone,

    I'm making an application where i use a canvas3d. I'm looking for making the canvas3d background transparent in my application. I'm not an opengl expert.

    Thank you in advance.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Miikka Heikkinen
      wrote on last edited by
      #2

      Unfortunately this is not possible in Qt 5.5, as the alpha values are ignored. This will be fixed to Qt 5.6, though, where you can make the Canvas3D background fully transparent for example by specifying gl.clearColor(0, 0, 0, 0).

      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