News for hackers. Stuff that matters.
Re:3D Wireframes Using SVG by ZenPsycho on Tuesday July 09, 2019 @01:46AM (#20389280)
perhaps you could preprocess the shape using the Binary Space Partitioning (BSP) algorithm. there’s a step in the algorithm that finds polygons that would cause z-sorting conflict and splits them along the exact line you need to resolve the conflict. you end up with a data structure that gives you the z sorting order for any camera angle.

There are no comments on this comment yet.