OpenCL compute example with display

VSG extension Demonstates how to load and execute an OpenCL kernel in OpenInventor and how to display the result.

This demo loads a simple OpenCL kernel using the InventorCL API. The kernel is executed and the back is read back in SoGLBufferObject. The SoGLBufferObject is then displayed in the viewer.

The kernel performs a simple components swap on the RGB texture.

FILES:

SEE ALSO

SoGLBufferObject, SoOpenCL, SoOpenCLApi


Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/