Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Overlay widgets on a 3D Scene (Rviz)

Overlay widgets on a 3D Scene (Rviz)

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 893 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.
  • OzzieTheHeadO Offline
    OzzieTheHeadO Offline
    OzzieTheHead
    wrote on last edited by
    #1

    Hello,

    I am trying to overlay some widgets on a render_panel from librviz. Librviz is using ogre and the panel has its own visualization manager.

    When I try to overlay something transparent on it (both the rviz scene and the overlay are children of a main, container widget), I get black pixels instead of the panel behind, also, a property animation on opacity won't work.

    When I try to put the overlay in a QGraphicsView, the "transparent" (previously black) parts become white and the PropertyAnimayion works too. Not so sure about the first method with QWidgets, I feel like I am doing something wrong with the QGraphisView and it could work.

    I also read someone using QWidget::render() and a shared bitmap but I have no clue how he did it: https://forum.qt.io/topic/25707/using-qwindowsurface-for-a-heads-up-display

    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