Best technology to create 3D models and make transformations



  • 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 !


  • Lifetime Qt Champion

    Hi,

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


  • Qt Champions 2016

    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.



  • @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


  • Qt Champions 2016

    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)



  • 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 ?


  • Qt Champions 2016

    @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 :)



  • 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 :)


  • Qt Champions 2016

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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.