How can I use VBA to determine the version of Office and Service Pack? How can I find out what version of OpenGL I am using? How to know how to opengl

Hello friends. The rest of my articles were oriented on the topic of graphics and video adapters. I think that I will continue to open up this topic further. In previous articles we talked about DirectX and shaders, today we are talking about OpenGL. Let's find out what it is, where to download it and why it is needed. The topic will be addressed to those who are only interested and who are interested in learning something new about computers. Tomiti I won’t stop writing. Enjoy reading :)

What is OpenGL for?

OpenGL is a global graphics standard for computer graphics. At the moment, it is one of the most popular graphic standards around the world.

OpenGL is referred to as the Open Graphics Library, which means that OpenGL is not an open and mobile standard. Programs written using OpenGL can be easily transferred to any platform, resulting in the same result, either a graphics station or a super-EOM.

OpenGL allows programs to be written in a specific way. If a device supports a function, that function is configured in hardware, rather than being implemented by a library program.

On one popular site you can find details of this standard:

It includes about 150 different commands, with the help of which programs you can define different objects and perform rendering. To put it in simple terms, you define objects, set their location in trivial space, define other parameters (rotation, scale, ...), set the power of objects (color, texture, material, ...), position sterigach, and the OpenGL library Please ask to display it on the screen.

Implementation of OpenGL.

How could you understand from the thing described? What is OpenGL, the specification for 3D graphics is described here. To put this specification into practice, you need to write (implement) code. The code is then packaged in a special library. And the axis of such libraries consists of a number of different programs.

The first part of these libraries is called GLU. This library has already become a standard and comes with the main OpenGL library. There is a library coming, which is also widely discussed - this is GLUT. The library is also independent from the platform. It implements not only additional OpenGL functions, but also provides functions for working with windows, a keyboard and a bear. Another library is similar to GLUT, it’s called GLAUX. This library has been developed by Microsoft for the Windows operating system. It is similar in many ways to the GLUT library, but has a few of its capabilities.

An alternative to OpenGL.

I want the OpenGL library to be one of the most important libraries, otherwise it is not alone in this problem. And it has one direct competitor, which I spoke about in one of my previous articles. This competitor is Direct3D from the DirectX package developed by Microsoft. Direct3D is created inclusive for game programs. There are a lot of differences between them, the most obvious thing you can see is that Direct3D is being supported starting from cheap cost, and OpenGL is not supported on all graphics cards.

Do you need to install OpenGL?

If you have already installed drivers on your video card, then no. The remaining version of OpenGL is installed when you install the drivers for your graphics card.

To install a new version of OpenGL, you need to update your video card drivers. Go to the manufacturer's website for your video card: NVIDIA, AMD, etc. Download the remaining drivers for your card and install them.

For example, my video card is Radeon 7850. I go to the website www.amd.com, find a page with my video card there, and see the technical characteristics.

As you can see, my video adapter is compatible with OpenGL 4.2. Now we select drivers.

How can OpenGL run on one computer running Direct3D?

So. All programs included in the Windows version run at high speed and provide a wealth of functions for gamers and video editors. So there is no need to worry about this long “living” on your computer :)

How to hide OpenGL?

This food cannot be given unambiguous instructions. After all, the support for this technology is prescribed by the creator at the time the code is written. I say DirectX or OpenGL can be configured through the song item in the game menu, or you can turn it on by the game itself. Because the creator of the game does not release additional updates and instructions before them and installing additional libraries, then there is no sense for you to think about the food. Well, since some additional updates have been released, say, on the same Counter Strike 1.6, enthusiasts wrote something (and it’s so bad!! atta), then for which installation it is necessary attach a small .dll file And put it in the root directory of the game, and then in the settings of the game, select OpenGL.

For this reason, the game begins to vikorize the functions written in the middle of the file.

Visnovok

We also went through another library for working with graphics. OpenGL is such a specific language that it largely confuses professional activity for 3D models. Games include Direct3D functionality and much more. Take version 12, which was recently released. But OpenGL is still not standing still and is releasing new versions of the remaining ones - version 4.5 dated September 11, 2014.

4 episodes

I'm afraid that you will have to open the command line of your first day of Linux (don't brag about what happened to me). Programs -> Standard -> Terminal. Type lspci and press Enter. Here all connections via PCI or PCI Express, including the video card, are rebuilt. Read the list until you get confused about ATI or nVidia or one of the Intel models.

Then go to the Wikipedia table for video cards to find out the version of OpenGL your card supports.

Remember that it seems less stench, because the version is supported by possession. To be able to run OpenGL libraries, you also need a driver that supports them. Numerical video data for skin lesions of the generation for Linux. Ubuntu comes with open source versions, which are not bad, but usually outdated the proprietary drivers released by graphics card manufacturers (often called binary drivers or proprietary drivers). As it turns out that your device supports OpenGL 2.0 (most of them), you can try proprietary drivers. The stinks are called nvidia-current for nvidia and fglrx for ATI. For Intel, there are only drivers with a closed output code.

example from my laptop:

Prompt>lspci | grep VGA 00:02.0 VGA compatible controller: Intel Core Processor Integrated Graphics Controller (rev 02) 01:00.0 VGA compatible controller: nVidia Corporation Device 0df0 (rev a1) prompt>

This is the correct window with lshw:

*-pci:0 description: PCI bridge product: Core Processor PCI Express x16 Root Port vendor: Intel Corporation physical id: 1 bus info: :00:01.0 version: 02 width: 32 bits clock: 33MHz capabilities: pci pm msi pci bus_master cap_list configuration: driver=pcieport resources: irq:42 ioport:2000(size=4096) memory:fb000000-fbffffff ioport:f0000000(size=167772160) *-display id: 0 bus info: :01:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list configuration: f7ffffff memory:f8000000-f9ffffff ioport:2000(size=128) *-document version: VGA compatible controller product: Core Processor Integrated Graphics Controller vendor: Intel Corporation physical id : 2 bus info.



Find out the version of opengl linux (4)

The simplest and best way is to use a diagnostic tool such as GPU Caps Viewer.

You can also use glGetString(GL_VERSION), but remember that the version you want to display is the version of the given OpenGL context, which is not necessarily the best that your GPU can handle. However, if you create context from customizations, you are likely taking away as much OpenGL context as possible from the capacity profile, so this method may be a waste.

In addition, since the fragments of glGetString(GL_VERSION) belong to the OpenGL context, you need to create it behind the scenes. Right for Wikliku come what may gl functions* required GL context.

Yes, updated drivers maybe I'm looking for the GL version, but it's unlikely that the main version will change. For example, if you have GL 3.1 support, it is likely that the remaining drivers will give you GL 3.3, and not GL 4.0.

I'm a Windows 7 vikorist. I'll program OpenGL for help. But I have discovered that there are actions that I can overcome. So I want to check the OpenGL version on my system. I'm vikorist below the code to check it out

Const char * version = (const char *) glGetString(GL_VERSION);

Alright, I’ll remove the zero indicator. I want to update OpenGL, what should I do?

try vikoristat the offensive code, it works for me:

Cout<< "OpenGL Version: " << glGetString(GL_VERSION) << endl;

Make sure you have enabled the iostream row in the program.

You need a strum for the GL context, first below you can find out what version you have.

Now, to create the context right away, select wglMakeCurrent on the new one and after that you can select glGetString.

The version you are informed about comes from the driver you installed. The version of OpenGL that you may have is not itself "updated" (as some hardware features will continue to support the latest developments).

Thus, the best way to do this is to update your driver, but don’t rely on great results until the new OpenGL appears.

Do you need create an OpenGL context(WGL) before the wiklik glGetString (GL_VERSION):

#include #include #pragma comment (lib, "opengl32.lib") LRESULT CALLBACK WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); int WinMain(__in HINSTANCE hInstance, __in_opt HINSTANCE hPrevInstance, __in_opt LPSTR lpCmdLine, __in int nShowCmd) ( MSG msg = (0); WNDCLASS wc = (0); wc.lpfnWndProc = WndProc; wc.hInstance = hInstance; wc.hbrBackground = (HBRUSH)(COLOR_BACKGROUND); wc.lpszClassName = L"oglversionchecksample"; wc.style = CS_OWNDC; if(!RegisterClass(&wc)) return 1; 0,640,480,0,0,hInstance,0), while(GetMessage(&msg, NULL, 0, 0) > 0) DispatchMessage(&msg); ) ( switch(message) ( case WM_CREATE: ( PIXELFORMATDESCRIPTOR pfd = ( sizeof(PIXELFORMATDESCRIPTOR), 1, PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER, //Flags 32, // Coloredepth of 0, 0, 0, 0, 0, 0, 0 0, 0, 0, 0, 0, 0, 24; // Number of Aux Buffers in the Framebuffer. PFD_Main_PLane, 0, 0, 0); HDC OURWINDEVIANTODEVICONTEXT = GETDC (HWND); IntwindowschOSTH ISPIXELFORMAT; Letwindowschoosythispixelformat = Choosepixelformat (ourWindowHandleToDeviceContext, &pfd); SetPixelFormat(ourWindowHandleToDeviceContext,letWindowsChooseThisPixelFormat, &pfd); HGLRC ourOpenGLRenderingContext = wglCreateContext(ourWindowHandleToDeviceContext); wglMakeCurrent (ourWindowHandleToDeviceContext , ourOpenGLRenderingContext); MessageBoxA(0,(char*)glGetString(GL_VERSION), "OPENGL VERSION",0) ; wglDeleteContext(ourOpenGLRenderingContext); PostQuitMessage(0); ) break; default: return DefWindowProc(hWnd, message, wParam, lParam); ) return 0; )

Of course, many gamers know that for the correct operation of such popular games as Minecraft and CS, one of the main reasons is for the system to install the latest versions of OpenGL drivers. If you update this driver package at once and look at the fragments, like any other software, they may become outdated. This also sometimes causes problems with the launch of your favorite games.

OpenGL: the simplest way?

In advance, when you launch any specific add-on, the system notifies you that the OpenGL drivers will require updating, so you need to use a standard solution.

To activate the process, go to the standard “Device Manager”, which can be accessed from the “Ceramic Panel”, the administration section of the computer, or by using the devmgmgt.msc command through the “Viconati” console row, and find video installations there adapter.

The update can be launched using the same command in the right-click menu or the division of authorities. If you enter an automatic search, you may not get any results, and the system will notify you that the appropriate driver is already installed. Therefore, you should immediately go to the manufacturer’s website, select your graphics card model, download the new driver, and during installation, select the place to install the saved distribution.

How to update OpenGL on Windows 7 or any other system using additional specialized utilities?

For NVIDIA and Radeon chips, the task can be much simpler. As a rule, for them, the kit comes pre-installed with special core programs for the PhysX and Catalyst computer. You can also update the OpenGL driver for additional help.

For whatever reason, such utilities are available daily, just download and integrate into the system. Due to the presence of a constantly active Internet connection, you will be able to use it not only for setting up games, but also for automatically monitoring the availability of new versions of necessary drivers, including OpenGL.

In principle, since such an option is not suitable for the customer, you can quickly use no less useful programs on the Driver Booster kit, which, without the participation of the customer, updates drivers for absolutely all hardware and software devices installed on a computer or laptop During the system scan process, the program automatically determines the version of the OpenGL driver. How to update yoga? You will need to be careful about installing the updates you find. After the process of updating the equipment is completed, it will be necessary to renew it.

If you decide, you can install a special utility called OpenGL Extensions Viewer, which will help you find out the version of the installed driver package and update it to the remaining version.

DirectX update

However, the update may not give the desired positive result without updating the DirectX platform, which is a reliable bridge between the platform and the software complex for the multimedia plan.

You can find out the installed version using the additional dxdiag command, which is entered in the "Visconati" menu. You can download the new distribution from the official Microsoft support website in the Downloads section.

As you know, DirectX OpenGL can be updated at the very beginning of the installation process of the desired distribution. Another benefit of this update is that you can run a number of tests in the DirectX dialog box, including the performance of DirectSound, ffdshow, Direct3D, etc.

Why don't the drivers update?

Although the solution is not always clear, the reason seems to be that the video adapter simply does not support the installed version of OpenGL, so if you don’t try, you won’t be able to install the driver. The only solution is to install a heavy-duty video card.

Before speaking, most often this problem occurs with integrated video chips to the video-on-board standard, which are included in motherboards. With discrete video cards, as a rule, there are no such problems (naturally, mind you, the chip is not outdated and primarily supports OpenGL technology). For such cards, it seems, it’s already clear. Otherwise, you may need to update the JAVA Runtime platforms or update. NET Framework from Microsoft - you can’t forget about the process. But, as a rule, in most cases this work is not necessary - it is enough to use the OpenGL Extensions Viewer utility at the same time.

In order to run Windows programs or games, you may need the name of the installation package in the program's operating system.

And, that means, there is a response to the question of how to recognize what decisions are being made.

Knowing the exact version of this package, which is initially installed only for gaming purposes, and then installed to support the processing of multimedia files, and for completing other tasks, you can understand that it is sufficient any resources of your PC that require updating (the program itself or computer elements) .

What does the new version offer?

A significant part of the software works only in the core - with the required drivers and software packages.

For example, Adobe Photoshop requires OpenGL software installed, and almost all daily games cannot be launched without.

Accurate knowledge of the multimedia package (as well as computer resources) allows you to avoid the following problems:

  • Purchases or additional purchases that are not supported by the system;
  • Try installing earlier versions of DirectX.

For most programs that require special software such as DirectX, it is included in the kit. And during the installation process, you need to install it on your computer or update it.

If automatic updates do not occur, or if the program does not start for any reason, you need to identify the multimedia package to see if there is something wrong with the program that is causing the problem.

The simplest way to assign

Finding out the version of DirectX on a recently installed system is easy - for current operating systems the package is already included with Windows. And the variety can be determined by the name of the system:

  • One of the most advanced Windows 7 systems includes DirectX 10, which is suitable for most graphics programs and multimedia files;
  • Old Windows XP had the 9th version of the package installed, which often had to be updated to run more daily programs;
  • Windows 8 comes with DirectX 11;
  • A set with the remaining, tenth Windows could have either the 11th or 12th version of the program.

Payment for additional assistance in obtaining benefits

To accurately determine the DirectX version using the additional diagnostic method you need:

  1. Open the menu of commands, then press the Windows key + “R” at the same time;
  2. Enter the dxdiag command;
  3. In the window that opened after clicking the command, on the first tab you will find information about the program, which is located at the bottom of the list.

Please! If the system does not show any value, then some information about DirectX 11 is shown, which may mean that version 11.1 or 11.2 is actually installed in the system. However, in most cases such details are not significant.

Another place to find out the version of DirectX is the card panel of the video card that is installed.

For example, with NVidia products, such information is visible when viewing system reports.

In addition, there are special utilities that also show all the necessary information about the system, including the version. For example, it was previously called Everest.

Free versions of this utility can be found on the Internet and installed on your computer - but you will not only need it for the specific version of DirectX you have.

You can find similar capabilities in other utilities.

What are you going to do?

Also, information about which version of the software package was installed was removed. And now, for your computer program to start, you need to know its minimal benefits.

They can be found on the Internet on the manufacturer’s website or on forums, where information about games is often posted before they hit the shelf.

On the one hand, to run most programs, it is enough to install the remaining version, which also supports all the previous ones. Or I would like DirectX 11.

There are two problems here:

  1. Old video cards do not support version 11 drivers;
  2. Each game can be downloaded to run a specific version of the package.

Somebody happens to have to install DirectX, which is specified in Vimog.

I, if the system has installed a new one, and for which, in the opinion of the system, a version that does not require updating (which may cause a software security conflict and result in failure to start), then delete the package. and put a new one, crazy with yours program

You can find out and attract them safely on the publisher’s website.

Thematic videos: