(again me and cudaGraphicsGLRegisterImage)
I’d like to know what types are allowed in cudaGraphicsGLRegisterImage.
In http://forums.nvidia.com/index.php?showtopic=164987 we can find few OK formats. But If I want a texture of gray level usable in openGL, which format must I choose ?
I am playing for a long time with all king of format and I can’t achieve a gray level texture…
glTexImage3D(GL_TEXTURE_3D, 0, GL_ALPHA, 512,512,512, 0, GL_ALPHA, GL_BYTE, myArray); works in opengl but can't be used with cudaGraphicsGLRegisterImage
Please can you help me !