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 by FEI reference manual, generated on 2 Sep 2019
Copyright © FEI S.A.S. All rights reserved.