|
|
Version: 1.4 Posted: 2009-09-24 Build Requirements: Mac OS X v10.6, Xcode 3.2 Runtime Requirements: Mac OS X v10.6 Download Sample Code (OpenCL_Procedural_Geometric_Displacement_Example.zip, 6.87M) |
||||||||||
DescriptionThis example shows how OpenCL can bind to existing OpenGL buffers to avoid copying data back off a compute device when using the results for rendering. This is demonstrated by displacing the vertices of an OpenGL managed vertex buffer object (VBO) using a compute kernel which calculates several octaves of procedural noise to push the resulting vertex positions outwards and calculate new normal directions using finite differences. Document Revision History
|