eth-igl / gp2024-Assignments

0 stars 0 forks source link

update_handle_vertex_selection in deformation (1.1) #37

Closed yuhanliu-tech closed 4 months ago

yuhanliu-tech commented 4 months ago

I'm a bit confused by 1.1.

It sounds like we should finish the function entitled update_handle_vertex_selection, but the description has been implemented in main (other than dragging) and we don't have access to change anything else?

Could you please clarify what is expected for that function?

Thanks!

PeizhuoLi commented 4 months ago

Hi, the selection (including getting the new handle vertex positions after dragging and rotating) is already implemented in main.cpp as part of the provided framework. update_handle_vertex_selection() is to inform your Deformation class that the selection of handle vertices has changed. You will need at least to record the changes in your solution, so you can get the proper smoothed mesh ($\mathcal{B}$).