2D outline algorithm for projected 3D mesh

前端 未结 6 1558
执念已碎
执念已碎 2021-01-30 03:21

Given: A 3D mesh defined with a set of vertices and triangles building up the mesh with these points.

Problem: Find the 2d outline of the projected arbitrarily rotated m

6条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-30 03:54

    Just to add: A very intuitive way to find edges in a projection is back face culling! Any edge between a culled and non-culled face should be an outline. If you want to hide interior edges, just use the z-buffer. Back face culling is simply the post projection vertex order and very cheap to compute.

提交回复
热议问题