Change search
ReferencesLink to record
Permanent link

Direct link
Ray Tracing on GPU: Performance comparison between the CPU and the Compute Shader with DirectX 11
Blekinge Institute of Technology, School of Computing.
Blekinge Institute of Technology, School of Computing.
2010 (English)Independent thesis Basic level (degree of Bachelor)Student thesis
Abstract [en]

The game industry have always looked for rendering techniques that makes the games as good looking and realistic as possible. The common approach is to use triangles built up by vertices and apply many different techniques to make it look as good as possible. When triangles are used to draw objects, there is always edges and those edges often make the objects look less realistic than desired. To reduce these visible edges the amount of triangles for an object have to be increased, but with more triangles more processing power from the graphics cards is needed. Another way to approach rendering is ray tracing which can render an extremely photo realistic image but to the cost of unbearable low performance if you would use it in a realtime application. The reason raytracing is so slow is the massive amount of calculations that needs to be made. In DirectX 11 a few new shaders where announced and one of them were the compute shader, the compute shader allows you to calculate data on the graphics card which is not bound to the pipeline. The compute shader allows you to use the hundreds of cores that the graphic card has and is therefore well suited for a raytracing algorithm. One application is used to see if the hypothesis is correct. A flag is used to define if the application runs on the CPU and the GPU. The same algorithm is used in both versions. Three test where done on each processing unit to confirm the hypothesis. Three more tests where done on the GPU to see how the performance scaled on the GPU depending on the number of rendered objects. The tests proved throughout that the compute shader performs considerably better than the CPU when running our ray tracing algorithm.

Place, publisher, year, edition, pages
2010. , 20 p.
Keyword [en]
Ray Tracing, Compute shader, DirectX, Direct3D, Rendering, Real-time
National Category
Computer Science Human Computer Interaction
URN: urn:nbn:se:bth-2514Local ID: diva2:829795
Available from: 2015-04-22 Created: 2010-06-14 Last updated: 2015-06-30Bibliographically approved

Open Access in DiVA

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

By organisation
School of Computing
Computer ScienceHuman Computer Interaction

Search outside of DiVA

GoogleGoogle Scholar
Total: 392 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: 110 hits
ReferencesLink to record
Permanent link

Direct link