Open jordan-heemskerk opened 8 years ago
Looks like there is some good code here that shows how you can take the colors
and map the to a OpenGL texture and then render them on a quad.
http://www.gamedev.net/blog/1241/entry-2254210-realtime-raytracing-with-opencl-ii/
In the surface predicition pipeline block, add a new output called
colors
.When a pixel's vertex and normal have been computed, use phong shading to determine a
color
.Ship this array of colors back to the CPU (?) and render them to an OpenCV frame? Or do we need to use another pathway?