GPWiki.org
GPWiki.org
It is currently Tue May 21, 2013 1:03 am

All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Deprecated OpenGL
PostPosted: Sun Jan 29, 2012 9:21 pm 
Funky Monkey

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1545
Location: burrowed
I realized that there is still a bunch of deprecated and immediate mode opengl samples in the wiki.

I think this is not quite helpful, as searching for up to date tutorials can be a mess, or rather, you don't even know you're using deprecated functionality until someone tells you.

Instead of rewriting all those articles which are still valuable it would be rather helpful to have a banner of some kind saying
[This is utilizing deprecated OpenGL functionality] or something and linking to an article explaining the problems around using it.

Could someone of you gfx competent persons create such a banner perhaps? :D

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
Reply with quote  
 Post subject: Re: Deprecated OpenGL
PostPosted: Sun Jan 29, 2012 9:26 pm 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 6708
Location: Lincoln, Englandshire
Tweaking one of the existing banner templates should be quite easy. Will have a crack this week.

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
Reply with quote  
 Post subject: Re: Deprecated OpenGL
PostPosted: Sun Jan 29, 2012 11:56 pm 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 6708
Location: Lincoln, Englandshire
Had a quick check, there's one there already.

http://content.gpwiki.org/index.php/Template:Deprecated

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
Reply with quote  
 Post subject: Re: Deprecated OpenGL
PostPosted: Mon Jan 30, 2012 12:04 am 
Funky Monkey

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1545
Location: burrowed
Oh that's cool. Ill see if i can come up with an article explaining it, but i think my knowledge about OpenGL is not competent enough to do so without further research. If someone want's to help it's sure welcome :)

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
Reply with quote  
 Post subject: Re: Deprecated OpenGL
PostPosted: Mon Jan 30, 2012 12:13 am 
Harmlessness does no harm
User avatar

Joined: Tue Sep 14, 2004 8:37 pm
Posts: 3807
Location: Ferriday, LA, US
weezl wrote:
Oh that's cool. Ill see if i can come up with an article explaining it, but i think my knowledge about OpenGL is not competent enough to do so without further research. If someone want's to help it's sure welcome :)

One thing you could do in the meantime is have a page that explains some of the major deprecations (such as the removal of retained-mode stuff... if that's what it's called -- y'know, the "glBegin()" etc. stuff), with a link to the different versions of the OpenGL spec (or a link to the OpenGL.org site's page that lists links to the spec of each version).

That way, we have something in place that can be expanded upon as time rolls along.

_________________
What most people don't understand about "enlightenment" is that it is not an end-goal; but where you find yourself just before taking a new "first step."


Top
 Profile  
Reply with quote  
 Post subject: Re: Deprecated OpenGL
PostPosted: Mon Jan 30, 2012 12:18 am 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 6708
Location: Lincoln, Englandshire
I really need to get to grips with the newer features of OpenGL. My GL tutorial framework stuff probably falls under the 'depreciated' banner. It was only when I started working with Android that I realised that I was doing it all wrong.

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
Reply with quote  
 Post subject: Re: Deprecated OpenGL
PostPosted: Mon Jan 30, 2012 12:22 am 
Harmlessness does no harm
User avatar

Joined: Tue Sep 14, 2004 8:37 pm
Posts: 3807
Location: Ferriday, LA, US
Codehead wrote:
I really need to get to grips with the newer features of OpenGL. My GL tutorial framework stuff probably falls under the 'depreciated' banner. It was only when I started working with Android that I realised that I was doing it all wrong.

Yeah, it's a shame that they completely deprecated OpenGL's equivalent of "beginner mode". I would never suggest using it in production (performance is horrible compared to shader-based stuff along with VBO's and such), but it certainly makes OpenGL *much* more accessible to people unfamiliar with such an API.

That said, I think it will be a while still that devices still "unofficially" support deprecated OpenGL functionality. But, of course, I still would stay far away from it for any production release.

_________________
What most people don't understand about "enlightenment" is that it is not an end-goal; but where you find yourself just before taking a new "first step."


Top
 Profile  
Reply with quote  
 Post subject: Re: Deprecated OpenGL
PostPosted: Mon Jan 30, 2012 12:47 am 
Funky Monkey

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1545
Location: burrowed
rotInMilc wrote:
Yeah, it's a shame that they completely deprecated OpenGL's equivalent of "beginner mode".


I totally agree to that, but given that you'll have to 'relearn' everything eventually (or maybe rather re-evaluate the understanding of graphics processing picked up so far) i would rather let people know as early as possible that what they do is not considered state of the art or anything close to that.

Especially since the vast majority of tutorials on OpenGL is using deprecated functionality new programmers can be easily desceived in thinking it is the norm using it. It is actually difficult to find decent up-to-date tutorials due to the amount of outdated ones.

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
Reply with quote  
 Post subject: Re: Deprecated OpenGL
PostPosted: Mon Jan 30, 2012 1:02 am 
Harmlessness does no harm
User avatar

Joined: Tue Sep 14, 2004 8:37 pm
Posts: 3807
Location: Ferriday, LA, US
weezl wrote:
I totally agree to that, but given that you'll have to 'relearn' everything eventually (or maybe rather re-evaluate the understanding of graphics processing picked up so far) i would rather let people know as early as possible that what they do is not considered state of the art or anything close to that.

Especially since the vast majority of tutorials on OpenGL is using deprecated functionality new programmers can be easily desceived in thinking it is the norm using it. It is actually difficult to find decent up-to-date tutorials due to the amount of outdated ones.

Good point. Might as well get off on the right foot rather than start off using code that is 'bad'. The thing that is disappointing is that the "correct" way of doing things is MUCH more daunting to beginners.

Then again, there are people who STILL write code in VB 6.0... and STILL look for tutorials for writing games in VB 6.0...

Amazing for a Microsoft product that came out about 14 years ago, and has been officially abandoned by MS for probably more than five years.

_________________
What most people don't understand about "enlightenment" is that it is not an end-goal; but where you find yourself just before taking a new "first step."


Top
 Profile  
Reply with quote  
 Post subject: Re: Deprecated OpenGL
PostPosted: Mon Jan 30, 2012 8:36 am 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 6708
Location: Lincoln, Englandshire
weezl wrote:
Especially since the vast majority of tutorials on OpenGL is using deprecated functionality new programmers can be easily desceived in thinking it is the norm using it.


That's what happened to me. NeHe lied to me man!

weezl wrote:
It is actually difficult to find decent up-to-date tutorials due to the amount of outdated ones.


Sounds like a niche that GPWiki can fill.

rotInMilc wrote:
Amazing for a Microsoft product that came out about 14 years ago, and has been officially abandoned by MS for probably more than five years.


Are we talking about Windows XP? :P

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
Reply with quote  
 Post subject: Re: Deprecated OpenGL
PostPosted: Mon Jan 30, 2012 12:03 pm 
Funky Monkey

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1545
Location: burrowed
Codehead wrote:
weezl wrote:
It is actually difficult to find decent up-to-date tutorials due to the amount of outdated ones.


Sounds like a niche that GPWiki can fill.


Sounds actually like a good plan.. we could sort the deprecated and uptodate tutorials in different categories so people will see immediately what upsides it has to not use the fixed function pipeline.

I'd be able to write a couple of basic tutorials i guess, but like i said i only scratched the surface myself a couple of month ago and still am a bit puzzled about the differences and inner workings.

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
Reply with quote  
 Post subject: Re: Deprecated OpenGL
PostPosted: Thu Feb 09, 2012 2:33 pm 
Funky Monkey

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1545
Location: burrowed
I got around writing that article

http://content.gpwiki.org/index.php/Ope ... ctionality

i had it proofread by some ogl savvy dudes and it is apparently about accurate.

What i have in mind now is adding a series on modern opengl. I was initially planning doing this in C#, but since i have to become familiar with cpp again i will do them in in cpp instead.

I'm not sure when i will get around writing those though

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
Reply with quote  
 Post subject: Re: Deprecated OpenGL
PostPosted: Thu Feb 09, 2012 3:25 pm 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 6708
Location: Lincoln, Englandshire
Cool. I was thinking of doing a specific deprecated template for OpenGL, now it can point somewhere for more info. 8)

Looking forward to seeing some modern OGL stuff on the Wiki. I did a bunch of reading on it the other day, but it left my head spinning.

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
Reply with quote  
 Post subject: Re: Deprecated OpenGL
PostPosted: Thu Feb 09, 2012 3:31 pm 
Funky Monkey

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1545
Location: burrowed
it is actually quite easy, and once setup much less annoying to maintain.
stuff just works differently. i think thats the biggest hurdle

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group