Skip to content
Research Article Open access CC BY 4.0

Enhanced Ray Tracing Algorithm for Depth Image Generation

Hanan Ahmed, Howida A. Shedeed, Doaa Hegazy

Journal of Advances in Mathematics and Computer Science · pp. 1–11 · Published 31 Aug 2015

10.9734/BJMCS/2015/19879

Abstract

Ray tracing is a method to convert 3D image to high quality 2D realistic image. In traditional Ray tracing technique generating an image is an expensive process due to the large number of transmitted rays and the intersection tests of these rays with the scene primitives. This paper introduces an enhanced ray tracing (Enhanced RT) algorithm. In the proposed algorithm, merge sort algorithm is used to order triangles according to the minimum x coordinate. Then Binary Search algorithm is used to find the end index of the first triangle that has minimum x coordinate greater than the pixel x coordinate. This search limits the subset of the triangles that may intersect the ray, and hence, reduces the intersection calculation time. Experimental results show that the proposed algorithm decreased the execution time by 99.8% than the traditional ray tracing algorithm with high quality for the produced depth images for a standard Benchmark models. The implementation was done on an ordinary hardware without need to use the highly expensive parallel architecture hardware (as GPUs or Clusters) as in the other research in the same application. The proposed algorithm also achieved the highest successful hit rate in comparing to the most recent ray tracing algorithms.

Depth images ray tracing merge sort algorithm binary search algorithm.

Cited by 0

No indexed citations yet.

Article metrics

Real usage data collected on this platform.

0

Page views

0

PDF downloads

0

Outbound clicks

0

Citations

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

No views recorded yet.

Traffic sources

Referring site, by host.

No traffic recorded yet.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.