Soldato
- Joined
- 23 May 2005
- Posts
- 2,964
- Location
- Auckland, New Zealand
I'm writing a real time ray tracer and as you probably know, pixel colour values are calculated individually. I need a way to render these pixels to the screen fast. I've tried windows GDI (updating the pixel values on the back buffer (in a double buffering system) but that is incredibly slow. I've also tried using openGL (storing all pixel values in a buffer, when a frame is rendered, throw all of those values into a texture and texture a quad with that texture) but that was even slower! I dont know how that was slower than windows GDI, maybe I was doing it worng. Any other suggestions?
cheers. Joe
cheers. Joe