Working on OpenCL Ray-tracer

My open-source OpenCL ray-tracer is on github now:

Currently only support Windows under Visual Studio 2015.

The reason to choose OpenCL over CUDA is majorly because I only have an AMD R9 Nano card. Also, OpenCL support both Intel and AMD CPU so I think OpenCL is compatible with more hardware than CUDA.

Now the renderer support sphere and plane render. Material support lambert and simple microfacet metal, using Torrance-Sparrow model. Not much optimization for GPU yet but I already gain huge performance boost, rendering 1.1 million samples in just about half-hour.

My code has take reference from these places:

Small GPU by David Bucciarelli:

An OpenCL path-tracing tutorial written by :

Leave a Reply

Your email address will not be published. Required fields are marked *