Comments (1)
Skipping VAOs entirely was a deliberate decision.
First, I have yet to see a bench that makes VAOs more efficient (it may have changed since the tutorials were written).
Secondly, it makes the rendering loop more intuitive - there is one less abstraction layer to understand.
But most importantly, the tutorials were designed to be portable across many OpenGL versions - including OpenGL 2, which still has a important user base on old hardware. It's also not supported in ES until 3.0.
I also chose to re-bind everything each frame because that's closer to what needs to be done in real application, where you can't just assume that only one objects gets drawn.
So, when I finally ditch the 2.1 port (still useful to many people), or if there's a compelling reason to change all the tutorials, I'll update them, but in the meantime, I think it's a good compromise.
from ogl.
Related Issues (20)
- Domain expired HOT 3
- Tutorial 05: trying my own .bmp files turns out black HOT 3
- Tutorial 05: Texture incomplete on cube HOT 3
- Playground background wrong color in documentation
- 3D Model Keyboard Mouse Controller
- error when compiling Bullet
- Tutorial 4: Output looks nothing like what I have. HOT 3
- [Info] Tutorial 08 GTKMM glArea with shaders loaded from obj file HOT 3
- is this glm::translate call correct? HOT 1
- Quick question about the sign in TestRayOBBIntersection function
- Cannot execute project18 HOT 1
- Tutorial 4 projection issues HOT 1
- glreadpixels picking up wrong color
- why lRayEnd_NDC's z setted to 0 in misc05_picking_custom example
- Memory leak in Particle demo.
- Some comments on the Picking with an OpenGL Hack article
- Tutorial 14 output looks blocky HOT 1
- Licensing: Request to make a fork HOT 7
- Can't compile due to the lack of glplatform.h HOT 2
- Tutorial 13: Orthogonalization applet link down
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ogl.