Hi,
(again me and cudaGraphicsGLRegisterImage)
I’d like to know what types are allowed in cudaGraphicsGLRegisterImage.
In [url=“http://forums.nvidia.com/index.php?showtopic=164987”]The Official NVIDIA Forums | NVIDIA 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 !
– pium