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. Showing 3D Objects in Qt desktop application

Showing 3D Objects in Qt desktop application

Scheduled Pinned Locked Moved General and Desktop
6 Posts 5 Posters 1.5k 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.
  • M Offline
    M Offline
    M001
    wrote on last edited by
    #1

    Hello,
    I want to show a 3d model in my desktopapplication. I have the 3d model stored in a file and want to show it in my application. It would be gread if i can move it in the window turn it around with the mouse. Is there a good and easy tutoiral for this.
    Thanks for your help :)

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      Is OpenGL an option for you? Qt supports it quite good.
      I don't have experience with OpenGL but there should enough material to find on the web.

      --- 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
      0
      • J Offline
        J Offline
        john_god
        wrote on last edited by
        #3

        What type of file does your 3D model have ?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          M001
          wrote on last edited by
          #4

          i think its .obj but I think I can convert it into many different formats. And I think OpenGL is okay.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mehrdadsilver
            wrote on last edited by
            #5

            can you use .obj file in OpenGL?!!

            Mehrdad Abdolghafari, Be silver

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi,

              AFAIK, you can use something like the assimp lib to load the content of your obj files and then use it for your OpenGL stuff.

              Hope it helps

              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
              0

              • Login

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