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.



SoGLBufferObject, SoOpenCL, SoOpenCLApi

Open Inventor Toolkit reference manual, generated on 16 Jul 2020
Copyright © Thermo Fisher Scientific All rights reserved.