5 ms·
Rendering in 2D and summing per-pixel Z-spans. For a finely meshed shape and approx. result, it has by far the lowest cost.
by chrisjj 2mo ago
Rendering in 2D and summing per-pixel Z-spans. For a finely meshed shape and approx. result, it has by far the lowest cost.
- uecker 2mo agoYes, this makes more sense as you at least collapse the third dimensions, but I would assume this formula is still faster when implemented efficiently.