Lecture 8: Geometry Processing (20)
YIYANGCAI

This is a recursive structure. Given a Tri or Vert data the entire data of on the mesh can be found step by step.

YIYANGCAI

[deleted]

daniswords

I am a little confused as to why (or if) this is memory efficient. It seems to me that the Tri struct and Vert struct would have pointers to each other? I might be understanding wrong, but it seems as there will be redundant storage.

dbuer

Which triangle does the Vert struct reference? It seems like a single Vert could reference multiple triangles, but that's not accounted for here.

ziyicui2022

@ dbuer, by my guess, it should be corresponding to the triangle with same index: for example, v[1] would reference to t[1].

You must be enrolled in the course to comment