I am having (what I hope is) a basic OpenGL user-interface issue with a
sample program I am working on.
This glut program has a visualized OpenCL data structure whose points are
calculated via an OpenCL kernel. The scene is then combined with a standard
Utah Teapot and dodecahedron straight out of the glut library.
The teapot and polyhedron are rendered using shaders--so if anyone is looking
for an example using OpenCL with shader visualizations this example might be
The problem I have is that if you manipulate the scene with the mouse you can
tell that the OpenCL particle fountain is always moving according to the mouse
input, but the teapot and polyhedron sometimes seem to move in the opposite
I know this isn't an OpenCL question per se, but it's almost impossible to find
OpenGL people who are set up to also run and evaluate OpenCL code, but people
who understand and use OpenCL are often times also able to run OpenGL samples.
Can someone help me figure out what I'm doing wrong?