Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    can i render Direct3D scene in a QGraphicsItem?

    General and Desktop
    3
    4
    398
    Loading More Posts
    • 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.
    • O
      opengpu2 last edited by

      can i render Direct3D scene in a QGraphicsItem?

      1 Reply Last reply Reply Quote 0
      • Chris Kawa
        Chris Kawa Moderators last edited by

        There's no direct support for Direct3D in Qt but if you render it to an image you can display it as QGraphicsPixmapItem. I wouldn't expect any real-time performance this way but for rendering static images that don't change often it could be fine.

        1 Reply Last reply Reply Quote 0
        • O
          opengpu2 last edited by

          ok, thank you. anyone knows some link to the tutorial which is the best way to render Direct3D scene in Qt, thank you

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Hi,

            A quick google search returns e.g. this and that
            For Qt 4 indeed, but it's a starting point.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • First post
              Last post