COMP4610/8610-无代写
时间:2024-04-24
COMP4610/8610 Computer Grahpics
Tutorial 4
HW3 Mesh Processing
Haorui Ji
Haorui.ji@anu.edu.au
28/Mar/2024
Agenda
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 2
01 Overview
02 Task1
03 Task2
04 Q & A
01 Overview
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 3
Overview
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 4
• Topic: Mesh processing
• Totally 2 tasks.
• Take 12% of the final mark.
• No more report template and marking criteria.
• Declaration of Originality as the first page of report.
02 Task1 Half-Edge Data Structure
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 5
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 6
Half-Edge Data Structure
Task1 Half-Edge Data Structure
• Represent the mesh in the memory by a half-edge data structure.
• Implement traversal:
• Traverse all half edges that points away from given vertex
• Traverse all member vertices of given face
• Compute its topology properties (genus number).
• Compute its volume and surface areas.
• Compute the average degree of all the vertices.
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 7
Task1 Half-Edge Data Structure
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 8
In your report:
•Use the two OBJ meshes provided in ”model”
folder (bigguy2.obj, teeth.obj) to show the results.
•Put a screenshot of the mesh represented by half-
edge data structure
•Brief introduction describing the process of your
conversion (a pseudo-code will be best for better
clarification).
•Show the geometric properties (e.g. number of
vertices, faces, half-edges and edges) of the mesh
as well as the topology computation results.
03 Task2 Mesh Simplification
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 9
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 10
Task2 Mesh Simplification
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 11
Pair Contraction
Reference: https://www.cs.cmu.edu/~./garland/Papers/quadrics.pdf
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 12
Quadratic Error Metric
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 13
Edge Contraction (Edge Collapse)
Task2 Mesh Simplification
• Compute the coefficient vector q that represent the quadratic
coefficient of this vertex.
• Compute the following results for edge (v1, v2)
• Optimal contraction target v*
• The quadratic error metrics E(v∗) which is the combined
quadratic for the union of v1, v2. Note that the computed
results will become the cost of contracting this edge.
• Perform edge-collapse
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 14
Task2 Mesh Simplification
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 15
In your report:
• Use the two OBJ meshes provided
in ”model” folder (bigguy2.obj, teeth.obj)
to show the results.
• Display the original mesh as well as the
simplified mesh with MeshLab or Blender.
• In addition, take the screenshot of the
mesh information as well as the
verification results from the terminal
output of task2.cpp to demonstrate the
correctness of your implementation.
04 Q&A
COMP4610/COMP8610 COMPUTER GRAPHICS 1/4/2024 16
THANK YOU
1/4/2024 COMP4610/COMP8610 COMPUTER GRAPHICS 17


essay、essay代写