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. Best technology to create 3D models and make transformations

Best technology to create 3D models and make transformations

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 3 Posters 2.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.
  • A Offline
    A Offline
    Amott
    wrote on last edited by
    #1

    Hello everyone !

    I've got a project to do for my school, this project consist in loading .obj files, render the model and make transformations (translation, rotation, scaling, shearing...) and manage physic (collision).
    The thing is we have to code our own transformation (it's a maths project).

    At first I was thinking about using OpenGL, I took the example that Qt provides : http://doc.qt.io/qt-5/qtgui-openglwindow-example.html and modify it to test things. I never done anything with OpenGL so it's hard for me to understand how it works, and how I will manage multiple objects and apply them shearing transformation.
    Then I took a look at QML example, it looks good but I don't see any line of code, so I don't think I will recode my own transformations.

    As I don't have much time, I can't learn those two technologies and test a lot of things. So I'm answering this question, which techonogy should I use and learn to work on my project (maybe there is more than those two ones) ?

    Thanks a lot !

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

      Hi,

      Maybe the Qt3D module might be what you are looking for.

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

      A 1 Reply Last reply
      4
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #3

        Hi
        I would use a 3D Engine for some faster action.
        https://unity3d.com/
        Very easy to get something running.
        or for something very powerfull
        https://www.unrealengine.com/what-is-unreal-engine-4
        Its scripring is very easy to work with.
        Both will offer you to load models and apply transformations.
        Both offer mesh generation from code and rich tools to play with 3d math without spending
        a long time setting up scene and looking into shaders.

        1 Reply Last reply
        4
        • SGaistS SGaist

          Hi,

          Maybe the Qt3D module might be what you are looking for.

          A Offline
          A Offline
          Amott
          wrote on last edited by
          #4

          @SGaist said in Best technology to create 3D models and make transformations:

          Hi,

          Maybe the Qt3D module might be what you are looking for.

          Thank you, I'll have a look on the example and some tutorials

          @mrjj said in Best technology to create 3D models and make transformations:

          Hi
          I would use a 3D Engine for some faster action.
          https://unity3d.com/
          Very easy to get something running.
          or for something very powerfull
          https://www.unrealengine.com/what-is-unreal-engine-4
          Its scripring is very easy to work with.
          Both will offer you to load models and apply transformations.
          Both offer mesh generation from code and rich tools to play with 3d math without spending
          a long time setting up scene and looking into shaders.

          I work a lot with Unity for other project (I study in IT - video games specialization) but it will be too simple. The idea is to learn how game engine work, so using a game engine is not the best way, but thanks for your complete answer, I appreciate

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

            Ok so its more like write your own little engine?
            I would surely try to find a wrapper like Qt3D or
            http://www.openscenegraph.org/
            To raise the level a bit - as if you never done anything openGL then
            its a bit uphill as the opengl interface is not very easy going. (IMHO)

            1 Reply Last reply
            4
            • A Offline
              A Offline
              Amott
              wrote on last edited by
              #6

              It's totally that ! A very simple litte engine, we thought about placing stars that rotate around a point. Those stars may collide, this creates a deformation on both stars an they push away.
              I worked with OpenSceneGraph 3 years ago, I couldn't remember the name ! Thanks ! I remember that it was pretty cool to use ! Is it easly usable with Qt / QtCreator ?

              mrjjM 1 Reply Last reply
              0
              • A Amott

                It's totally that ! A very simple litte engine, we thought about placing stars that rotate around a point. Those stars may collide, this creates a deformation on both stars an they push away.
                I worked with OpenSceneGraph 3 years ago, I couldn't remember the name ! Thanks ! I remember that it was pretty cool to use ! Is it easly usable with Qt / QtCreator ?

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

                @Amott said in Best technology to create 3D models and make transformations:

                • we thought about placing stars that rotate around a point. Those stars may collide, this creates a deformation on both stars an they push away.

                That sounds pretty cool. Please come back and paste UT link after project ;)

                Oh super. you use OSG before. Yes. it is miles higher abstraction level then raw openGL.

                Is it easly usable with Qt / QtCreator ?

                Yes. But I would recommend if on windows, to grab a visual studio 2013/15 from MS
                and use the VSQt2013/15 version and not mingw. As OSG is easier to build with VS.

                Also there is some details about integrating OSG (events) with Qt event loops.
                http://bastian.rieck.ru/blog/posts/2014/qt_and_openscenegraph/
                But it should not be anything huge.

                Colliding stars. I like the idea :)

                1 Reply Last reply
                2
                • A Offline
                  A Offline
                  Amott
                  wrote on last edited by
                  #8

                  Ahah, I'm glad to see that the project is interesting :) but we have only two weeks and a half (with other projects) so don't expect something awsome ! What is an UT ? A link to the code of the project ?
                  Thanks for the tutorial's link and thanks for every explainations :)

                  mrjjM 1 Reply Last reply
                  0
                  • A Amott

                    Ahah, I'm glad to see that the project is interesting :) but we have only two weeks and a half (with other projects) so don't expect something awsome ! What is an UT ? A link to the code of the project ?
                    Thanks for the tutorial's link and thanks for every explainations :)

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

                    @Amott
                    sorry UT = youtube :)
                    No no im not expecting stunning visuals, just wanna see it :)
                    You are most welcome. Good luck.

                    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