Help getting started combining CUDA and OpenGL

Hi guys,

I have a CUDA code that simulates the motion of particles, I would like to begin to visualise the particles as well with the use of openGL.

Can anyone point me in the direction of a good tutorial on OpenGL and CUDA? I have looked at the particles sample in the SDK and it seems to be a big leap.

Is there a very straight forward example somewhere that shows simply how to move one sphere (or even 2D circle) using CUDA?



There are a few sample programs that demonstrate CUDA-OpenGL interop and those ship for free with CUDA toolkit. You may want to look at those.

Hmm. Thanks. I guess I was looking for a softer introduction. I don’t know anything about OpenGL.