Hi, I used it and it looks like my depth buffer is correct.
Thank you for your help
But now a new issue appears to me.
The following Quotes comme from " fast triangle rasterization using
irregular z-buffer on cuda " wich is an article published in 2010.
Textures or render buffers can be attached onto the depth
attachment point of FBOs to accommodate the depth values. However, as far as
we have tested, they cannot be accessed by CUDA kernels.
Is this still true ?
we managed to use the color attachment points on the FBO. Apparently
in this case we have to write a simple shader program to dump the depth values onto
the color channels of the frame buffer. According to the GLSL specification [KBR06],
the special variable gl_FragCoord"
Does anyone used already this strategy ? is this not a more simple day nowadays to do that ?
Thank you for your help, feel free to comment or to give me ideas about a new strategy or about the one
presented in the article.