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. Desktop Application for 3D images
Qt 6.11 is out! See what's new in the release blog

Desktop Application for 3D images

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 2 Posters 1.5k Views 3 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.
  • G Offline
    G Offline
    giusirux
    wrote on last edited by
    #1

    Hi,
    I'm really new to Qt, using it only just some weeks. I'd like to create a desktop application that can display 3D images and be able to edit them (move two images, overlap them, intersect them). I have seen some tutorials and the choice is between QML and C ++ for Qt. Which one do you recommend?
    From a graphic point of view, I imagine that there is a button with which I choose a 3D image from the resource explorer and when I select an image, it is displayed in the window; and another button that allows me to choose another 3d image to be able to move it on the 3d image that is already there.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi and welcome to the forums

      What is a 3D image ?
      Do you mean like a 3d scene with objects etc ?
      or something else ?
      Googling it gave me also
      alt text

      1 Reply Last reply
      1
      • G Offline
        G Offline
        giusirux
        wrote on last edited by
        #3

        Hi and thank you :)
        I should work with STL images

        mrjjM 1 Reply Last reply
        0
        • G giusirux

          Hi and thank you :)
          I should work with STL images

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #4

          Hi
          Ok so its 3d models :)
          Qt3d might be good for this.
          https://doc.qt.io/qt-5/qt3d-examples.html

          https://forum.qt.io/topic/85670/how-to-load-an-stl-file-using-qmesh

          I think QML is easier to use btw. as the c++ api is a bit complex. (in comparison)

          G 1 Reply Last reply
          2
          • mrjjM mrjj

            Hi
            Ok so its 3d models :)
            Qt3d might be good for this.
            https://doc.qt.io/qt-5/qt3d-examples.html

            https://forum.qt.io/topic/85670/how-to-load-an-stl-file-using-qmesh

            I think QML is easier to use btw. as the c++ api is a bit complex. (in comparison)

            G Offline
            G Offline
            giusirux
            wrote on last edited by
            #5

            @mrjj oh, thank you so much!
            You have been very kind

            C++ API is closer to Java which I already know, so I think I will use that.
            The second link is the same that I found some days ago (so, I'm on the right track. -I hope!). I've tried to do similar thing with my project and it works.
            Ah, anyway, I found this: https://doc.qt.io/qt-5/dnd.html
            Can it be use for STL images? Because my goal is to move, overlap and intersect these type of images.

            mrjjM 1 Reply Last reply
            0
            • G giusirux

              @mrjj oh, thank you so much!
              You have been very kind

              C++ API is closer to Java which I already know, so I think I will use that.
              The second link is the same that I found some days ago (so, I'm on the right track. -I hope!). I've tried to do similar thing with my project and it works.
              Ah, anyway, I found this: https://doc.qt.io/qt-5/dnd.html
              Can it be use for STL images? Because my goal is to move, overlap and intersect these type of images.

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by mrjj
              #6

              @giusirux
              The DND can mostly be used to allow STL file to be dropped into the drawing area.
              Im not sure you can actually use it to move stuff around that easy.
              Try have a look at this
              https://www.kdab.com/wp-content/uploads/stories/qt3dinteraction.pdf
              I think it can already pick and move objects.

              1 Reply Last reply
              1
              • G Offline
                G Offline
                giusirux
                wrote on last edited by
                #7

                Alright, I'll take a look.
                Thank you for your time.

                mrjjM 1 Reply Last reply
                0
                • G giusirux

                  Alright, I'll take a look.
                  Thank you for your time.

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @giusirux
                  Np. I dont know Qt3D well but its my understanding its quite nice and capable.

                  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