PDA

View Full Version : Selection problem



Tex
09-17-2000, 11:21 PM
Hi all.
I'm little new with OpenGl and I'm using Visual C 6. I'd like to make a box with the mouse (clicking and moving it) in order to select the part of my ogl object (or one of the ogl objects) that is inside the box itself. After the selection I'd like to crop the selected part of the object. I think I've to use GL_SELECT but I can't understand in which way.
Any idea or piece of code please?
Thanks in advance
Tex

zed
09-18-2000, 12:46 AM
download glut under the examples directory theres an example of using the selection buffer also check out the red book

Zocleus
09-18-2000, 12:53 PM
You can also check chapter 14 of the OpenGL SuperBible book.