Select only fully enclosed objects

I’d like to know if there is any way of makeing openGL (in GL_SELECT render mode) to only report hits when no part of a given object gets culled out. Currently my application reports selection hits when any primitive hits the view frustrum.

Thanks.

Hey,

Did you check the timing while rendering the objects inside your SELECTION method. if possible, plz do that and report the timing with the no. of polygons rendered inside…

I get a diff. if I render inside SELECT method and in RENDER method.

~Taurean

I’m sorry, but I don’t understand. What do timing and plz mean? Can you give me an example or some source codes?

Thanks!!!

[This message has been edited by teame (edited 11-16-2003).]

[This message has been edited by teame (edited 11-16-2003).]