I try to get the screen coords of a point with a feedback rendering, but it doesn’t work.
glFeedbackBuffer(4, GL_3D, buffer);
glBegin( GL_POINTS );
glVertex3f( 1, 1, -1);
Check error is stopped by a GL_INVALID_OPERATION code (???).
Should anyone help me, please, taking care i need to get the depth (0->1.0) to read the w-buffer after, for the determination of the visibility of that point.
Please, help me !
Gabriel RABHI / Z-OXYDE / France