Original Post
Hi, In my app, I have a set of cubes to draw. The order of cubes is determined by my algorithm. What is important is this: When a cube has been draw to the screen, this part of the screen should not be overdrawn by other cubes. I'm using a stencil buffer for this now and it works great, however the speed gets down when rendering lots of cubes. I believe that a standard stencil buffer is too sophiosticated for that. What I need is just a fast test whether a cube needs to be drawn to screen or not. Any ideas? Sebastian