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. Can QML be used to draw 3D directly in DX?

Can QML be used to draw 3D directly in DX?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 3 Posters 650 Views 2 Watching
  • 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.
  • P Offline
    P Offline
    pegeset
    wrote on last edited by pegeset
    #1

    Hey,

    I'm going to draw a 3D scene with DX, but using DX to draw the HWND to pass the component to the DX, and the QML component is no HWND. How do I solve this problem? Thanks.

    jiancaiyangJ raven-worxR 2 Replies Last reply
    0
    • P pegeset

      Hey,

      I'm going to draw a 3D scene with DX, but using DX to draw the HWND to pass the component to the DX, and the QML component is no HWND. How do I solve this problem? Thanks.

      jiancaiyangJ Offline
      jiancaiyangJ Offline
      jiancaiyang
      wrote on last edited by
      #2

      @pegeset Qt Quick can be render using Direct3D 12 as backend, however I know little about how to run them interactively.

      我们自己的论坛:http://qtdream.com
      擅长三维角色仿真动画。

      1 Reply Last reply
      0
      • P pegeset

        Hey,

        I'm going to draw a 3D scene with DX, but using DX to draw the HWND to pass the component to the DX, and the QML component is no HWND. How do I solve this problem? Thanks.

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        @pegeset
        QML is using Open GL ES 2.0. The translation to DirectX happens via Angle.
        So no, you can't "write to" DirectX directly.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        1

        • Login

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