the Fiddler's picture

[Examples] Add forward-compatible OpenGL 3.0 example

Project:The Open Toolkit library
Version:0.9.9-1
Component:Documentation
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

We should add a forward-compatible OpenGL 3.0 example to Examples.exe. This code should be of use.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#11

Status:fixed» closed

Closing bugs fixed in 0.9.8-2 and 0.9.9-1.

the Fiddler's picture

#12

Version:0.9.x-dev» 0.9.9-1
blueprawn's picture

#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.