Hi all,
some days ago I has sent a question about cube’s faces selection. After discussion here I decided to use selection technique based on drawing of cube’s copy to back buffer with color faces ( my cube is drawing in GL_LINE polygon mode ). This technique, described in Red book now is partially working. But there remains strange artefact in application - cube’s left and right sides are selectable, but it seems boundaries of cube in back buffer before glutSwapBuffers() are different in front buffer (visible) after this function! Similarly, if I click on imaginable bottom face (which in my situation is invisible and culled), selection appears on upper face. Is there GLUT’s artefact? Or it is viewport coords mistake of me? If someone can look to my code (it is a bit large to show in this post)please replay…
XChanger