Abstract. Computing the visibility polygon, VP, of a point in a polygonal scene, is a classical problem that has been studied extensively. In this paper, we consider the problem of computing VP for any query point efficiently, with some additional preprocessing phase. The scene consists of a set of obstacles, of total complexity O(n). We show for a query point q, V P(q) can be computed in logarithmic time using O(n4 ) space and O(n4 log n) preprocessing time. Furthermore to decrease space usage and preprocessing time, we make a tradeoff between space usage and query time; so by spending O(m) space, we can achieve O(n2 log( m/n)/ m) query time, where n2 m n4 . These results are also applied to angular sorting of a set of points around a query point.