Implemented raytracing in cuda for opengl pixel buffers