Well, I talked - it could be one year ago - with Marco Grubert about Z-Buffer visualization but I did'nt had the time for it because of a lot of work I had to do that time.

In this image:


.. the white pixels are meant to be the nearer pixels and the black one are the pixels more far away. How good is the performance? I mean, what fps do i get? Can you simplify the script so that it is less intensive with a similar result on an average fps on average computers (30 fps or so?).

Thanks in advance
Christian