Emulating immediate mode and fixed function with Regal
Quote:
Originally Posted by
tonyo_au
The actual OpenGL language is going to change radically over the next 10 years as hardware changes; so teaching them the nitty gritty is mostly wasted.
When I was teaching intro OpenGL at a university I grappled with "modernizing" too.
I expect the content has evolved since then, but I hope students are not struggling
with arrays and pointers and comp vs core vs ES - but I guess that's the landscape.
One option I'd like to point out for educators is an effort to emulate non-core
functionality (call it "deprecated" if you must!) such as immediate mode and
fixed-function lighting. It's an open-source library called Regal, available at
github, developed and tested on Windows, OSX, Linux, iOS, Android, and recently,
Google Native Client (NaCL).
https://github.com/p3/regal
- Nigel