What OpenGL does not do is retain information about an "object". All OpenGL sees is a ball of triangles and a bag of state with which to render them. It does not remember that you drew a line in one location and a sphere in another. Because of that, the general way to use OpenGL is to draw everything you need to draw, then show this image with a platform-dependent buffer swapping command.
If you need to update the image, you draw everything again, even if you only need to update part of the image. If you want to animate objects moving on the screen, you need a loop that constantly clears and redraws the screen. There are techniques for only updating a portion of the screen. And you can use OpenGL with these techniques. But OpenGL itself doesn't do it internally; you must remember where you drew everything.
You must figure out what needs updating and clear only that part of the screen. And so forth. There are many tutorials and other materials available for learning how to use OpenGL, both on this wiki and online. These are programs that you install and run, and they give you information specific to the OpenGL API your system implements, like the version offered by your system, the vendor, the renderer, the extension list, supported viewport size, line size, point size, plus many other details.
Viewed k times. Improve this question. Braiam Kabumbus Kabumbus 1, 2 2 gold badges 9 9 silver badges 6 6 bronze badges. Add a comment. Active Oldest Votes.
Improve this answer. Tim However, it will tell you the GLX version of the remote machine the "client" bits. I've made some edits so that better information can be found with modern OpenGL versions that present multiple profiles, especially given that this is the top result on a google search for "Linux check opengl version".
Note: In Ubuntu To be able to use it, you need to install mesa-utils package. When you run an openGL client on a remote machine, the remote client uses the remote libraries, but displays onto your server, so it's a bit confusing at times — Rich. Show 2 more comments. Use X-forwarding when ssh-ing. Since a compatibility profile is still compatible to applications using a legacy GL context hence the name , a GL implementation might return a compatibility profile context of some higher version when a legacy context is requested, but there is no requirement to do so.
As far as your driver goes: it is capable of 4. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta. Now live: A fully responsive profile. Linked Related You can also use glewinfo if you have glew already installed. Jacob Hernandez Jacob Hernandez 86 1 1 silver badge 1 1 bronze badge. Matthias Schuster Matthias Schuster 49 1 1 silver badge 3 3 bronze badges.
This command didn't output anything for me. Using a fixed column number is not going to be viable, specially over different versions. One might change the output format in different releases. Sign up or log in Sign up using Google. Sign up using Facebook.
Sign up using Email and Password. Post as a guest Name.
0コメント