PDA

View Full Version : Opengl 3.0 deprecation equivalents



chris2718
08-23-2008, 12:02 PM
Hello, I read part of the new Opengl 3.0 spec. It seems that they list the Opengl 3.0 functions in detail, and then at the appendix go: these functions are deprecated... (previously described in the document)" and list a bunch. Any advice on how to quickly figure out how update to >= opengl 3.0 properly, or do I have to wait for a new Opengl 3.0 red Book. Do I have to make vertex shaders to do equivalent tasks? Some deprecated functions I understand why they are, some are not so clear. I want a document that doesn't even mention deprecated functions, just gives a pure form of the latest Opengl, so I don't have to go back an forth between the deprecated list and the spec. Otherwise it's too confusing.
These are all deprecated:
Ortho, Rotate, Scale, and Translate, RasterPos, autogen mipmap.

Thanks
Chris

Jan
08-23-2008, 12:44 PM
Where you downloaded the OpenGL spec, there are also downloads of PDFs which contain each deprecated feature marked IN the text, not only the appendix. There is not yet a document that excludes the deprecated featues, but many people have requested that, so it might be published some time soon (note: MAY).

Jan.

DindinX
08-23-2008, 04:00 PM
I use to be able to find that annotated text .pdf, but I can't find it anymore. Can someone give a link for it? Thanks in advance.

overlay
08-23-2008, 04:58 PM
For some reason, the annotated pdf specs are not here:
http://opengl.org/documentation/specs/

but only here ("with changes marked"):
http://opengl.org/registry/

PaladinOfKaos
08-23-2008, 05:17 PM
Jean-Francois posted a list of non-deprecated entrypoints on his blog here: http://www.devklog.net/2008/08/23/forward-compatible-opengl-3-entry-points/

He says he'll be updating it with notes about deprecated features of non-deprecated entrypoints and other such fun stuff.

Rosario Leonardi
08-23-2008, 07:58 PM
Do I have to make vertex shaders to do equivalent tasks?
Yep, everything with shader, even vertex position must be passed as attribute.

I think that every openGL 3.0 documentation (even the book) will continue to include all the deprecated function cause they are still available, to read a clean documentation I'm afraid that we must wait till GL3.1. :(

Rsantina
09-08-2009, 05:31 AM
Any doc that show the alternatives of the deprecated funcs

V-man
09-08-2009, 06:24 AM
Alternative to what exactly?
If you want alternatives for the matrix functions, there are plenty of 3rd party libs. Here is mine.

http://www.geocities.com/vmelkon/glhlibrary.html

Examples are here :
http://www.geocities.com/vmelkon/gl3_and_glh.html

alternative for selection mode :
http://www.opengl.org/wiki/Selection_mechanism

zeoverlord
09-09-2009, 05:08 AM
And here is how i do it - http://www.flashbang.se/ (http://www.flashbang.se/index.php?id=56)

But basically everything deprecated is replaced either by VBOs (using vertex attribute pointers), shaders and custom matrix functions, stuff you should have been using in the first place.