Coarse Tracing does multiple renders

Good day,

I have implemented the coarseTrace function from the adaptive_pinhole_camera.cu file into my program. The coarse tracing works, but there are multiple traces of my 3d model across the screen. The actual model can be seen in the middle, but multiple others can be seen above, under and next (both sides) to the actual model.

My RT_PROGRAM looks like this:

RT_PROGRAM void mycamera()
{
    if(frame_number == 0)
    {
        coarseTrace(launch_index, 4u);
    }

    else
    {
         //My own code.
    }

}

Any ideas on what could be wrong? What could cause this?

Regards

Mike

It is probably your miss program that is not configured correctly.

That was the problem, thanks!

Mike