Y
Hacker News
new
|
ask
|
show
|
jobs
by
uecker
96 days ago
I really hope nobody computes the volume by rendering in 3D and counting pixels.
1 comments
chrisjj
96 days 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.
link
uecker
95 days ago
Yes, this makes more sense as you at least collapse the third dimensions, but I would assume this formula is still faster when implemented efficiently.
link