3 ms·
Note, it's only worth going through this trouble if you are drawing boxes with a CPU only API. If you have a GPU available, you might as well be using an ortho
by phire 10y ago
Note, it's only worth going through this trouble if you are drawing boxes with a CPU only API.
If you have a GPU available, you might as well be using an orthographic projection and the depth buffer.
- panic 10y agoUsing a depth buffer would also side-step the issue of cycles and support intersecting blocks.
- Retr0spectrum 10y agoEven on CPU, how much overhead would a depth buffer cost?
- phire 10y agoIt would basically double the memory bandwidth and cache requirements for drawing if you used a full 32bit depth buffer. But it would probably be worth it. A 16 bit buffer would probably be good enough for isometric drawing and would be faster.