4 ms·
It's nice to see somebody actually putting together tutorials for using OpenGL the right way. It's unfortunate how many people are still taught the old, depreca
by eropple 13y ago
It's nice to see somebody actually putting together tutorials for using OpenGL the right way. It's unfortunate how many people are still taught the old, deprecated methods of using OpenGL via ancient tutorials--my first reflex upon seeing this tutorial was to open it and cmd-F for "glPushMatrix", I was pleasantly surprised.
FreeImage has a nonstandard and mildly encumbered license, though. I use LodePNG instead (MIT License); limiting my asset pipeline to PNGs is already a good idea.
- zerr 13y agoOld - You mean the fixed pipeline? Also, what's particularly wrong with glPushMatrix?
- oofabz 13y agoglPushMatrix and many other functions were deprecated five years ago with the release of OpenGL 3. It is only available now in compatibility profile contexts, for backwards compatibility. You can't use it in core profile, OpenGL ES, or WebGL.
- wtracy 13y agoIt's present in OpenGL ES 1.x, but your point still stands.
- dualogy 13y agoSame issue -- since shader-based ES 2.x (and now 3.x) hit the scene, the fixed-function ES 1.x may well be considered deprecated. Sure there's still plenty of 1.x-only devices floating around. But ultimately it's a thing of the past.
- eropple 13y agoI thought "old, deprecated" might be indicative of that. If your code uses glPushMatrix, glBegin/glEnd, or other deprecated stuff, I don't want you writing tutorials for novices (and you should take down your old ones that already use it). VBOs and shaders from day one. It's easier that way.
- null_ptr 13y agohttp://freeimage.sourceforge.net/license.html http://freeimage.sourceforge.net/license.html That's weird. It's dual-licensed with GPL 2, but the last paragraph seems to make visible attribution mandatory regardless of license choice.
- eropple 13y agoThis is why you use standard licenses. :-( It sounds like they basically want the CDDL (which I'd be totally good with) but writing your own license is rarely a good idea.