Affiliation:
1. East China Jiao Tong University
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.
Funder
National Natural Science Foundation of China
Subject
Atomic and Molecular Physics, and Optics,Engineering (miscellaneous),Electrical and Electronic Engineering