Abstract
The depth buffer algorithm, as a method at pixel level of computer graphics, can assist in realizing object collision detection and interference calculation in virtual space. It calculates the depth value of the object in a 3D scene to help construct the view model, while the traditional depth buffer algorithm cannot work without pixel-by-pixel operation and has the disadvantages of slow speed, low computational efficiency, and large space occupation. In this paper, the parallel depth buffer algorithm based on a ternary optical computer (TOC) is proposed by taking advantage of giant data-bit parallel computing, the reconfigurable processor of TOC. The parallel calculation scheme is designed using image segmentation to realize pixel drawing and interference detection. We analyze the resources and time consumption, and verify its correctness through experiment. The algorithm has better time performance and computing efficiency. It gives full play to the advantages of TOC for computing-intensive tasks.
© 2022 Optica Publishing Group
Full Article | PDF ArticleMore Like This
Kai Song, Yongjun Sun, Huaqiong Ma, and Liping Yan
Appl. Opt. 62(36) 9591-9598 (2023)
Kai Song, Yi Zhang, Liping Yan, Qingqing Jin, and Gong Chen
Appl. Opt. 59(16) 4953-4963 (2020)
Honghong Zhang, Shan Ouyang, and Weimin Lian
Appl. Opt. 63(4) 1048-1057 (2024)