3D Geometry Processing Exercise 1 – Introduction
January 21, 2022
A .zip compressed file renamed to Exercisen-TeamMemberNames.zip where n is the number of the current exercise sheet. It should contain:
• Hand in only the files you changed (headers and source). It is up to you to make sure that all files that you have changed are in the zip.
Copyright By PowCoder代写 加微信 powcoder
• A readme.txt file containing a description on how you solved each exercise (use the same numbers and titles) and the encountered problems.
• Other files that are required by your readme.txt file. For example, if you mention some screenshot images in readme.txt, these images need to be submitted too.
• Submit your solutions to Gradescope before the submission deadline.
Coding Exercise (10 pts)
The goal of this exercise is to set up coding environment for the exercises in the course and to get started with Eigen library.
• Download dgp-exercise1.zip and extract into OpenFlipper folder.
• Compile OpenFlipper together with the plugin Plugin-DGPExercise. Do this by simply placing the Plugin-DGPExercises folder in the OpenFlipper-Free folder alongside the other plugin source folders, and then running cmake and make in the build folder.
• ReadEigendocumentationandsolvethesmallsparselinearalgebrasystemAx=b,
2 3 0 0 0
3 0 4 0 6 A=0 −1 −3 2 0 0 0 1 0 0
and b = 8 45 −3 3 19T. You should set up the linear system with Eigen.
Choose a proper sparse solver to solve for the variable x and output the result as 1
well as the matrix A and vector b. For the exercise, you will need to fill in the missing code in the EigenTutorial.hh and EigenTutorial.cc files.
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com