Solved Qt3D C++ learning sources?
since I seem to have too much of a spare time I decided to try to learn a bit of 3D, Qt way. Considering I know very little to almost nothing of the subject of 3D open gl programming in general (I know how to use Blender to model and render and that's it) I found the sources and tutorials in Qt documentation, sadly, lacking. Can some good soul point me towards books or other learning sources that would allow me to understand how to use Qt 3D with C++?
It is deeply frustrating for me not being able to comprehend the absolute basics.
Many thanks in advance,
JoeCFD last edited by
VTK and OpenCV have done a lot of 3D stuff. Qt 3D came much later(unfortunately), therefore does not have a lot of 3D features. You may check the source code of VTK and OpenCV and implement some of their 3D features in Qt 3D
@JoeCFD Thank you but that's a bit on the side of what I asked.
I managed, for one, to load .obj of a model I created in the blender, zoom in and out work out of the box. But I cannot seem to manage to load a texture on that .obj, setup light colour , even load a background flat mesh to work as a background.
Do you think that reverse engineering opencv or vtk will help here? Half way through what I did I was like "what on earth am I doing and why the example is constructed the way it is".
JoeCFD last edited by JoeCFD
@artwaw So much has been done in vtk and openCV. Why do you start from scratch?
Go here to find some examples:
@JoeCFD said in Qt3D C++ learning sources?:
Why do you start from scratch?
To learn the basic principle behind Qt3D in Qt, of course. I'll take a look, of course. Thank you!
SGaist Lifetime Qt Champion last edited by
@JoeCFD VTK is a visualization toolkit while OpenCV is a computer vision library. They are unrelated to the Qt3D module which aims to be a general purpose module to implement 3D based applications be it a 3D game engine or simple rendering tool.
@artwaw you should also look resources from KDAB, they are behind the current incarnation of the module.
kshegunov Moderators last edited by
Besides various blog posts these sources may be useful:
Also this thread includes some information and links you may be interested in.
Basically in my experience you just read the sources and reverse engineer the library. Good luck. :)
Thank you for the input, I shall dive into this.