the question is, what is the point of just such a specification as OpenGl which almost all UI frameworks probably use where there is no possibility to set the native control tools for the OS? Why does everyone draw them themselves, asking everything to the last detail, namely the animation when you hover over the control, the text selection color (which is still changing with the settings in the operating system), the adjustment to the OS theme? It would be more logical for IMHO to cross-platform to come up with a standard for drawing 2d / 3d graphics and some basic basic controls are included, or am I confusing something and does everything work anyway?
- Maybe the problem is how you prepare OpenGL and why do you use it? - Vladimir Klykov
- one@HolyBlackCat well, I wrote "probably almost everything", it is clear that Tk also knows how to draw buttons on the operating system, but it is far from being as common as those based on OpenGL. And about the question "So that on all platforms the gui look completely the same?", It is the fact of the matter that it does not look the same, qt draws for each platform in its own way, the swing is also crooked in Java, but it seems to draw, i.e. that's not the point. I forgot to mention such a moment to this that the menu tabs ("file, Edit, Help ...") we do not draw the same, not only on the poppy and ubuntu unity, we simply can not do this - Ljachovsky
- fourOpenGL is a low-level drawing API, not an interface builder, that's all. For interfaces, this is your Qt, which, as I recall, is able to draw itself including using OpenGL - andreymal
- one@Ljachowsky for universal API access to video card resources, independent of its specific model, and for speed - andreymal
- one@Ljachowsky - of course. It's one thing to load the CPU and RAM of a computer, another thing is to work directly with the video card's processor and its RAM GDDR. This offloads the CPU and other resources — once, increases the processing speed of graphics by tens and hundreds of times — two. - Kosmos
|