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
Forum Updated to NodeBB v4.3 + New Features

Showing 3D Objects in Qt desktop application

Scheduled Pinned Locked Moved General and Desktop
6 Posts 5 Posters 1.5k Views 1 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.
  • M Offline
    M Offline
    M001
    wrote on 7 Oct 2013, 09:21 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
    • R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 7 Oct 2013, 10:15 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 7 Oct 2013, 10:30 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 7 Oct 2013, 10:59 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 7 Oct 2013, 15:32 last edited by
            #5

            can you use .obj file in OpenGL?!!

            Mehrdad Abdolghafari, Be silver

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 7 Oct 2013, 21:16 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

              6/6

              7 Oct 2013, 21:16

              • Login

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