PDA

View Full Version : Select only fully enclosed objects



teame
11-16-2003, 01:04 AM
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.

taurean
11-16-2003, 01:39 AM
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

teame
11-16-2003, 02:22 AM
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).]