An algorithm for curved surfaces is presented that uses a searching technique to eliminate the hidden lines. The visibility determination for the grid points, and the bisection process for the intermediate points, are carried out in such a way that they are reduced to orthogonal range queries, a special form of range-searching problems. Given a point set in the plane and a rectangle, an orthogonal range query asks for the points that lie in the rectangle. A simple cell-list structure is used to process the queries. A linear time growth with respect to the number of grid points can be expected, as shown by test results given for grids of up to 60 000 points.