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. QT3D how to handle this situation that regardless if it is behind another object, the last object will always be drawn on top

QT3D how to handle this situation that regardless if it is behind another object, the last object will always be drawn on top

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 933 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.
  • J Offline
    J Offline
    jimfar
    wrote on last edited by
    #1

    how to handle this situation that regardless if it is behind another object, the last object will always be drawn on top

    DiracsbracketD 1 Reply Last reply
    1
    • J jimfar

      how to handle this situation that regardless if it is behind another object, the last object will always be drawn on top

      DiracsbracketD Offline
      DiracsbracketD Offline
      Diracsbracket
      wrote on last edited by Diracsbracket
      #2

      @jimfar said in QT3D how to handle this situation that regardless if it is behind another object, the last object will always be drawn on top:

      regardless if it is behind another object, the last object will always be drawn on top

      I cannot make any sense of this: if an object in a 3D scene is behind another object, why would it have to be rendered as it were in front? If you want to have the object behind in the front, then you need to rotate your view to put it in front (from the new point of view)

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wrosecrans
        wrote on last edited by
        #3

        Sounds like you might be running into the same issue here https://forum.qt.io/topic/83435/qt3d-problem-with-transparent-object

        What sort of material are you using? If Qt3D thinks it could be transparent (even if Alpha is actually 1.0 everywhere) then it may be drawn without using the Z buffer.

        1 Reply Last reply
        1
        • J Offline
          J Offline
          jimfar
          wrote on last edited by
          #4

          i wanna show my coordinate axis of the 3DObject on the front always

          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