首页> 外文期刊>The Visual Computer >Algorithms for computing diffuse reflection paths in polygons
【24h】

Algorithms for computing diffuse reflection paths in polygons

机译:计算多边形中漫反射路径的算法

获取原文
获取原文并翻译 | 示例
           

摘要

Let s be a point source of light inside a polygon P of n vertices. A polygonal path from s to some point t inside P is called a diffuse reflection path if the turning points of the path lie on edges of P. A diffuse reflection path is said to be optimal if it has the minimum number of reflections on the path. The problem of computing a diffuse reflection path from s to t inside P has not been considered explicitly in the past. We present three different algorithms for this problem which produce suboptimal paths. For constructing such a path, the first algorithm uses a greedy method, the second algorithm uses a transformation of a minimum link path, and the third algorithm uses the edge-edge visibility graph of P. The first two algorithms are for polygons without holes, and they run in O(n + k logn) time, where k denotes the number of reflections in the constructed path. The third algorithm is for polygons with or without holes, and it runs in O(n~2) time. The number of reflections in the path produced by this third algorithm can be at most three times that of an optimal diffuse reflection path. Though the combinatorial approach used in the third algorithm gives a better bound on the number of reflections on the path, the first and the second algorithms stand on the merit of their elegant geometric approaches based on local geometric information.
机译:假设s为n个顶点的多边形P内的点光源。如果从s到P内某个点t的多边形路径的折点位于P的边缘,则称为漫反射路径。如果漫反射路径在路径上的反射次数最少,则称其为最佳路径。过去尚未明确考虑计算P内部从s到t的漫反射路径的问题。针对此问题,我们提出了三种不同的算法,这些算法会产生次优路径。为了构造这样的路径,第一种算法使用贪婪方法,第二种算法使用最小链接路径的变换,第三种算法使用P的边沿可见性图。前两种算法用于没有孔的多边形,它们以O(n + k logn)时间运行,其中k表示构造路径中的反射次数。第三种算法适用于有孔或无孔的多边形,其运行时间为O(n〜2)。由该第三算法产生的路径中的反射次数最多可以是最佳漫反射路径的三倍。尽管第三种算法中使用的组合方法可以更好地限制路径上的反射次数,但是第一种和第二种算法仍具有基于局部几何信息的优雅几何方法的优点。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号