selection mode

im designing a game and i run into a problem when the selection mode does not detect a hit of an object that is way off in the distance… is there a way to increase the distance the selection mode can check?

it detects everything drawn in the frustum, so move your zFar

um… how might i do that?

somewhere you set the projection matrix, and there you set znear,zfar parameters…

yes, but if the object is drawn (you can see it) then it’s already in the frustum. OpenGL clamps the zNear, zFar values to 0.0, 1.0 I think.

ok… it still wont allow me to click on it until i zoom in… yet i still can see it.