View Full Version : Object Picking

02-21-2003, 09:25 AM
I have a number of objects in scene, and only a number of them (spheres) are objects that can be picked by the mouse. However, I also have a skybox, a simple quad cuboid that surrounds all these objects/spheres. BUT, if I try and select any of these objects with the mouse, the picker can only see the skybox, and returns that ID. Is there a way to draw the skybox such that it's ignored by any depth/object picking functions?
Hope that's explained clear enough ... http://www.opengl.org/discussion_boards/ubb/smile.gif

02-21-2003, 11:12 PM
Hi !

When you do the picking, don't render the objects that shouldn't be pickable.