computer-graphics-meshes icon indicating copy to clipboard operation
computer-graphics-meshes copied to clipboard

sphere top and bottom vertex

Open zyining opened this issue 6 years ago • 2 comments

Hi,

I was wondering for the sphere, since the north and south pole vertices are at the same two locations for all quads around it, should we just have two vertex points to represent them? Or have many duplicates at the same location?

I.e. should/can a quad face have the same vertex index repeated?

zyining avatar Oct 22 '19 14:10 zyining

Yes, either method works.

abhimadan avatar Oct 22 '19 15:10 abhimadan

For anyone wondering, here's what Prof @dilevin mentioned was allowed during office hours:

  • As you visualize how to break-down the sphere, let's just pretend you're building a cylinder
  • For the top/bottom row (near a pole), you are allowed to have:
    • Duplicate vertices in V for the north/south pole
    • 1 face point to two different vertex indices, which represent the same point (the pole)

Technically, there are other approaches you can take where you don't have duplicate vertices, but it's not necessary. Visually, it should look good (where as you zoom in, there's no big hole missing) and that's enough for A5!

dakmcinnis avatar Feb 15 '22 21:02 dakmcinnis