PDA

View Full Version : Selection problems



AleksX
07-16-2002, 05:02 AM
I've got problems with object selection. I don't now how can I choose objects made with glVertex i GL_SELECT render mode. Does anybody know the answer or know where can i find it?

cwc36
07-31-2002, 07:20 PM
Normally i apply GL_SELECT on the picking method..

#define BUFSIZE 1000
GLuint selectBuf[BUFSIZE];
glGetIntergerv(GL_VIEWPORT, viewport);
glSelectBuffer(BUFSIZE,selectBuf);
void glRenderMode(GL_SELECT);
glInitName(0);
glPushName(0);
....
try to find it in red book in page 541

AleksX
07-31-2002, 10:26 PM
Thanks for a tip but already solve that problem. But I've got another one. Is it possible to select object made with GLUquadricObj pointer??