RenderToVertexArray 1.0
Free
Latest version:
1.0
See all
Developer:
This sample demonstrates the use of Frame Buffer Objects (FBOs), Pixel Buffer Objects (PBOs), and Vertex Buffer Objects (VBOs) to render data into a vertex array. A VBO is allocated with storage and indices for an N x N mesh. The content is then drawn into an N x N texture attached to an FBO. The pixel data is then copied from the FBO into the VBO by binding a PBO to the VBO and calling glReadPixels. The pixel RGBA colors are then used as vertex XYZW data.
Comments