Change search
ReferencesLink to record
Permanent link

Direct link
Implementing and Evaluating CPU/GPU Real-Time Ray Tracing Solutions
Mälardalen University, School of Innovation, Design and Engineering.
2016 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Ray tracing is a popular algorithm used to simulate the behavior of light and is commonly used to render images with high levels of visual realism. Modern multicore CPUs and many-core GPUs can take advantage of the parallel nature of ray tracing to accelerate the rendering process and produce new images in real-time. For non-specialized hardware however, such implementations are often limited to low screen resolutions, simple scene geometry and basic graphical effects. In this work, a C++ framework was created to investigate how the ray tracing algorithm can be implemented and accelerated on the CPU and GPU, respectively. The framework is capable of utilizing two third-party ray tracing libraries, Intel’s Embree and NVIDIA’s OptiX, to ray trace various 3D scenes. The framework also supports several effects for added realism, a user controlled camera and triangle meshes with different materials and textures. In addition, a hybrid ray tracing solution is explored, running both libraries simultaneously to render subsections of the screen. Benchmarks performed on a high-end CPU and GPU are finally presented for various scenes and effects. Throughout these results, OptiX on a Titan X performed better by a factor of 2-4 compared to Embree running on an 8-core hyperthreaded CPU within the same price range. Due to this imbalance of the CPU and GPU along with possible interferences between the libraries, the hybrid solution did not give a significant speedup, but created possibilities for future research.

Place, publisher, year, edition, pages
2016. , 43 p.
Keyword [en]
ray tracing, computer graphics, graphics, embree, optix, opengl
National Category
Computer Science
URN: urn:nbn:se:mdh:diva-32076OAI: diva2:939130
Subject / course
Computer Science
2016-06-25, Kappa, Mälardalens Högskola, Västerås, 11:35 (English)
Available from: 2016-06-21 Created: 2016-06-17 Last updated: 2016-06-21Bibliographically approved

Open Access in DiVA

fulltext(16052 kB)18 downloads
File information
File name FULLTEXT01.pdfFile size 16052 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Other links

Search in DiVA

By author/editor
Norgren, David
By organisation
School of Innovation, Design and Engineering
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 18 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 68 hits
ReferencesLink to record
Permanent link

Direct link