Current Issue Cover

李尚林, 郑利平, 张静, 杨柳青(合肥工业大学计算机与信息学院, 合肥 230009)

摘 要
目的 针对全球大场景渲染中单精度浮点数的低精度导致的图像抖动和撕裂问题,提出了一套完整的解决方法。方法 首先,使用全球四叉树结构来寻找新的坐标原点,避免了现有算法需要频繁切换世界坐标原点的缺点;其次,在新坐标系下进行坐标转换和矩阵转换,解决了像素坐标计算的误差导致的抖动问题;最后,在GPU中使用基于对数的深度计算方式来提高深度的分辨率,解决了深度计算误差导致的Z-Fighting现象。结果 实验结果表明所提方法能很好地解决单精度浮点导致的渲染问题。结论 此方法具有适应性强、实现复杂度低、精度和效率可控等优点。
Correction method of single-precision floating-point error for digita Earth rendering

Li Shanglin, Zheng Liping, Zhang Jing, Yang Liuqing(School of Computer and Information, Hefei University of Technology, Hefei 230009, China)

Objective To solve the jitter and tear problems caused by single-precision floating-point errors in global scene rendering, a complete set of solutions is presented. Method First, a new coordinate origins is found by using the global quad-tree structure, avoiding the disadvantages of switching coordinate origins frequently; Second, the jitter problem is solved by transforming the coordinate and matrix in the new coordinate system; finally, the depth resolution is improved by using logarithmic calculation on the GPU, and the Z-Fighting problem is solved. Result The experiment results show that the proposed method can be a good solution to the problem caused by single-precision floating-point errors. Conclusion It has strong adaptability, low complexity, and it is controllable with accuracy and efficiency advantages.