|
From: S.K.Bose <bo...@pa...> - 2001-09-29 05:47:19
|
On Fri, 28 Sep 2001, Javier Taibo wrote: > > Hello all, > > I am using OpenVRML 0.11.1 and I have detected a problem with the proximity sensors. > Sometimes the camera seems to go in and out of the sensor while it is completely inside. > The "inside" condition in the VrmlNodeProximitySensor::render method is computed > with the position of the camera obtained with a call to ViewerOpenGL::getPosition() > > What I have observed is that the getPosition() method computes the position of the > camera from the OpenGL matrices calling gluUnproject() > > The weird thing here is that while the position of the camera doesn't move, it only > rotates, the values of x, y and z returned by getPosition are different! Also, this values > are different from the position of the camera I establish in my program. > > Has anybody noticed this? What could be the problem? I have noticed in getOrientation() but not in getPosition(). For getOrientation() I have fixed it. Please can you put this bug in <http://sourceforge.net/tracker/?atid=107151&group_id=7151&func=browse> Thanks, Bose |