arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1908.01742cs.GRhep-th
收藏

用球面和双曲三角法实时的绘制非欧几何图形

Rendering Non-Euclidean Geometry in Real-Time Using Spherical and Hyperbolic Trigonometry

Daniil Osudin, Christopher Child, Yang-Hui He

摘要:

本文介绍了一种在非欧二维空间中计算和绘制形状的方法。为了实现这一点,我们开发了一个物理和图形引擎,它使用双曲三角计算,并随后在实时的【形】恒定的负或正曲率的2D空间中渲染形状。我们选择使用极坐标来记录对象的参数,以及方位等距投影来将空间渲染到屏幕上,因为它们具有多个有用的属性。例如,极坐标系与三角计算配合良好,因为从参考点(类似于笛卡尔坐标系中的原点)的距离是定义的坐标之一。方位等距投影不是一种典型的投影,既不用于球面空间,也不用于双曲空间,但我们引擎的主要功能之一依赖于它:实时的【形】改变世界的曲率,而不停止应用程序的执行,以便重新计算世界。这是由于投影性质对球面空间和双曲空间的作用相同,如上图1所示。我们还将研究这种方法的复杂性分析以及引擎产生的渲染。最后,我们将讨论所创建的引擎的局限性和可能的应用,以及所描述的方法的潜在改进。

英文摘要:

This paper introduces a method of calculating and rendering shapes in a non-Euclidean 2D space. In order to achieve this, we developed a physics and graphics engine that uses hyperbolic trigonometry to calculate and subsequently render the shapes in a 2D space of constant negative or positive curvature in real-time. We have chosen to use polar coordinates to record the parameters of the objects as well as an azimuthal equidistant projection to render the space onto the screen because of the multiple useful properties they have. For example, polar coordinate system works well with trigonometric calculations, due to the distance from the reference point (analogous to origin in Cartesian coordinates) being one of the coordinates by definition. Azimuthal equidistant projection is not a typical projection, used for neither spherical nor hyperbolic space, however one of the main features of our engine relies on it: changing the curvature of the world in real-time without stopping the execution of the application in order to re-calculate the world. This is due to the projection properties that work identically for both spherical and hyperbolic space, as can be seen in the Figure 1 above. We will also be looking at the complexity analysis of this method as well as renderings that the engine produces. Finally we will be discussing the limitations and possible applications of the created engine as well as potential improvements of the described method.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑