Reputation: 43
The 3D examples in the Qt Sdk(under opengl)already can demostrated,but without Qt/3D there.So,what is the difference between Qt OpenGL module and Qt/3D?
Upvotes: 3
Views: 3738
Reputation: 206689
From the Qt/3D Reference Documentation:
Qt/3D is a set of extension classes for the Qt OpenGL module to enhance the use of OpenGL in Qt 4.7 and higher.
Porting between desktop OpenGL and embedded OpenGL/ES has traditionally been difficult. Desktop OpenGL, OpenGL/ES 1.1, and OpenGL/ES 2.0 use different function names, and shaders versus fixed function pipelines. Writing a single OpenGL application that runs on all platforms is quite difficult, even for simple objects.
So Qt/3D is an extension to the normal Qt OpenGL module. Browse the links in that page for more details and tutorials/samples.
Upvotes: 5