bit-tech.net

Khronos unveils OpenGL 3.1

Khronos unveils OpenGL 3.1

Quake 4 still used OpenGL in 2005, but few major games have supported the API in recent years.

OpenGL was an essential part of 3D gaming in the 1990s when Direct3D lacked advanced features and GLide only worked on 3dfx cards, but Direct3D is now reigning supreme in the world of PC graphics APIs. Is there still room for an open-standard API such as OpenGL in PC gaming? The Khronos Group certainly thinks so – it’s just released the spec for OpenGL 3.1, less than a year after it unveiled OpenGL 3.0.

The new APU includes GLSL (graphics library shading language) 1.40, which The Kronos Group claims will enable “enhanced access to the latest generation of programmable graphics hardware through improved programmability, more efficient vertex processing, expanded texturing functionality and increased buffer management flexibility.”

The other major feature with this release is the removal of some legacy features from OpenGL’s distant past. OpenGL 3.0 still included all the legacy features, but flagged some of them as “deprecated” in order to give developers a warning before they were deleted in OpenGL 3.1. The Khronos Group says that its work here was intended to “dramatically streamline the API for simpler and more efficient software development.”

However, this doesn’t mean that users of OpenGL 3.1 will not be able to access legacy features; it just means that they’re not a part of the standard API. There will also be an “optional compatibility extension” that provides access to the OpenGL 1 and 2 features removes in OpenGL 3.1.

A number of new features have also been introduced with the new API, including a CopyBuffer API, which Khronos says will be useful for apps that share buffers with OpenCL. There’s also an Instancing feature for drawing objects several times by re-using vertex data. The full spec is available here.

The Khronos Group claimed that OpenGL 3.0 had a "rough feature parity" with Direct3D 10 with its support for Shader Model 4.0, including the Geometry Shader. However, a potential advantage of Open GL 3.0 here was that it could bring these features to other operating systems, including Windows XP and Linux, which are currently closed to Direct3D 10.

Barthold Lichtenbelt, chair of the OpenGL ARB working group at Khronos, said that “OpenGL 3.1 answers the requests from the developer community to streamline and modernize the OpenGL API. The OpenGL ARB will continue to leverage the unique evolutionary model introduced in OpenGL 3.0 to drive the ongoing revolution in OpenGL while ensuring backwards compatibility where it is needed.”

Having to sift through the legacy code in OpenGL 3.0 was a common complaint among developers, and it’s hoped that the new streamlined API will persuade more game developers to use OpenGL. AMD, Nvidia and S3 are already supporting OpenGL 3.0 in their drivers, and Nvidia has already released an OpenGL 3.1 driver for developers, which can be downloaded from here. Meanwhile, AMD’s director of OpenGL, Suki Samra, said that “AMD will support OpenGL 3.1 in the upcoming driver release for the Radeon and FirePro products, and is fully supportive of the OpenGL API.”

Of course, the big issue for OpenGL now is getting game support. Is there still room for OpenGL in 3D graphics development if The Khronos Group gets the spec right? Let us know your thoughts in the forums.

4 Comments

Discuss in the forums Reply
UncertainGod 25th March 2009, 13:35 Quote
I would be over the moon if more developers made use of OpenGL instead of DirectX, it strikes me as a far better situation to have an open set of API's for this level of work.
azrael- 25th March 2009, 13:37 Quote
Well, one thing that D3D doesn't easily give me access to is enabling triple buffering. With OpenGL there's a driver setting for both nVidia and ATi drivers.

Also, we shouldn't forget that OpenGL-based software could be much faster and easier ported to other operating systems than Windows. Using D3D pretty much locks you in. I know it's somewhat of a moot point at the moment, but still...
wuyanxu 25th March 2009, 13:43 Quote
do we need new graphics cards for OpenGL3.1? or current Geforce 8 series+ and ATI HD2 series+ will be able do 3.1??
HourBeforeDawn 25th March 2009, 22:29 Quote
Im guessing with nvidia you may need new hardware but with ATI you probably do not but ehh who knows all I currently care about/waiting for is OpenCL ^__^
Log in

You are not logged in, please login with your forum account below. If you don't already have an account please register to start contributing.



Discuss in the forums

More About...