I am trying to create simple rendering program with IPP. I have scene with one triangle and I am casting rays one by one through the scene. When the ray hits the triangle I want to mark the position on the image plane with white color.
I went through all the examples I could find and I still cant get it working. I cant understand why my program is producing such strange images, but I think that I am not using the camera and the image plane properly.
Could you please give me some hints or explain how should I position the camera and the image plane properly.