
[Examples] Add forward-compatible OpenGL 3.0 example
Posted Sunday, 21 June, 2009 - 21:56 by the Fiddler| Project: | The Open Toolkit library |
| Version: | 0.9.9-1 |
| Component: | Documentation |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
We should add a forward-compatible OpenGL 3.0 example to Examples.exe. This code should be of use.


Comments
#11
Closing bugs fixed in 0.9.8-2 and 0.9.9-1.
#12
#13
Hi, I'm not 100% sure so take my comment with care, but I think your example is not 100% "legacy-free" because it seems that you use a mixed drawing method between VBO and VA because your vertex data is in a VBO but the data in indicesVboData is sent to the server at each frame as with the "Vertex Array" drawing method instead of putting indicesVboData into a VBO and requesting its draw using its VBO ID. Maybe I'm wrong but as long as I have understood VA are deprecated too, only VBO should be used now. But I'm not sure about a mixed method as you're using here.