I’ve followed the interop example in both the Cuda By Example book and in the Simple OpenGL sample project on the Nvidia website. However, both examples use freeglut as a general OpenGL library. I’d like to get the same functionality working by using GLFW instead of freeglut.
I first tried to implement this myself as follows:
Some info on my setup: Windows 7, Win32, Visual Studio 2013
I start with the ‘Simple OpenGL’ Visual Studio project from Nvidia and I’m trying to switch it over to use GLFW instead of freeglut. I’m having some issues … I"m still working it.
However, I was hoping to short-circuit my debug of this by finding an example project that demonstrates simple Cuda - to OpenGL interoperability (interop) using GLFW. Can anyone point me to a good resource?