I’ve been charged with getting an OpenGL app that displays on SGIs to display on Linux boxes (Redhat Linux-x86_64 with NVIDIA driver Version 169.12). For the most part, it’s been a matter of making sure that RGB calls are made rather that color-map indexing calls. That part seems to be going fairly smoothly. However, I’ve been trying to get picking to work, without success. The code does a standard
GLuint pick_buffer; GLint hits; glSelectBuffer(sizeof(pick_buffer)/sizeof(GLint), pick_buffer); glRenderMode(GL_SELECT); glInitNames(); ... hits = glRenderMode(GL_RENDER);
On the SGIs, hits is positive and on the Linux Boxes, hits is 0. I logged various stages in the code, and both appear to be doing the same thing up to the final glRenderMode call. Any ideas?