View Full Version : selection mode
12-01-2003, 11:28 AM
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
12-01-2003, 12:23 PM
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.
12-02-2003, 01:23 PM
ok... it still wont allow me to click on it until i zoom in... yet i still can see it.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.