Mail Archives: djgpp/2000/05/25/13:45:57
Alexei A. Frounze <alex DOT fru AT mtu-net DOT ru> wrote:
> You don't really need any Z-buffers. At least Z-buffer is a computer gfx
> term usually used in 3d gfx.
Usually, but not only there. In the situation the original poster
describes, he *does* need a z buffer. You didn't read the question
completely, I think: he was talking about multiple _concurrent_
threads blitting windows to a common framebuffer. In that case he
cannot z-sort the windows, simply because there's no point in time
when they're all available, so they can be sorted and output.
His situation requires either a z-buffer or a datastructure that
partitions the plane into rectangles or similar areas of common
'depth', which is somewhat equivalent to the 'dirty rectangles'
blitting method for sprites.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -