Hi,
I often see people asking about how to use VBOs, pass Vertex Attributes to GLSL
or update VBO at realtime. Since I recently had to cope with these problems,
I provided in the Tutorials section (at the External Examples) a small example
of a morphing cube which shows how to do these techniques in OSG.
http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials
More specifically:
Example programm of a morphing cube with option to do the morphing using Vertex
Buffer Objects (VBO) either on the CPU or on the GPU (GLSL).
Shows how to setup and pass vertex attributes to GLSL in OSG and setup VBO
geometry for GLSL (GPU) moprhing.
Shows how to setup VBO and do updates for CPU morphing.
Cheers
Dimi
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org