eth-igl / gp2024-Assignments

0 stars 0 forks source link

Applying multiple functions in sequence #4

Open rubenwgs opened 4 months ago

rubenwgs commented 4 months ago

When applying multiple functions in sequence, e.g. sqrt(3)-subdivision and then connected components, are we supposed to run these functions on the same mesh? I.e., in the mentioned example, should we perform the connected components analysis on the subdivided mesh, or load the original mesh again before performing the connected components analysis?

Best and thanks in advance, Ruben

segaviv commented 4 months ago

Hey Ruben,

You should run the analysis on the updated mesh - the subdivision method should replace the mesh with the subdivided one (and you don't need to store the original mesh separately). Note that this also applies for subdividing a mesh multiple times - each subdivision should be applied to the result of the previous operation.

Best, Aviv