Searching in opengl/java