Unsolved Desktop Application for 3D images
-
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. -
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
-
Hi and thank you :)
I should work with STL images -
Hi
Ok so its 3d models :)
Qt3d might be good for this.
https://doc.qt.io/qt-5/qt3d-examples.htmlhttps://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)
-
@mrjj oh, thank you so much!
You have been very kindC++ 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. -
@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. -
Alright, I'll take a look.
Thank you for your time. -
@giusirux
Np. I dont know Qt3D well but its my understanding its quite nice and capable.