# HOMEWORK 1 Use marching cubes algorithm

HOMEWORK 1 (DUE 01/28/2020)

Please submit all your work as a PDF electronically on the blackboard website.
Problem 1. (4pt) Use marching cubes algorithm to generate (1) Sphere, (2) Cylin￾der. A good resource is the isosurface function of Matlab, or skimage.measure.marching_cubes
function in Python. Report a screenshot, # of triangles and # vertices, # edges
for each of them (sphere, cylinder) (3pt). Compute normal for each triangle using
cross product (1pt) and display them.
Problem 2. (1pt) Compute surface areas of the four surfaces by computing the
areas of each triangle and sum over all triangles.
Repository: http://visionair.ge.imati.cnr.it/ontologies/shapes/. Display it. Apply
45 degree rotation w.r.t z-axis and display it (1pt). Apply 2x scaling in x direction
and display it (1pt). Report the number of triangles, number of faces and number
of unique edges and the Euler number (2pt).
Problem. (Extra Credit 1 pts), generate a Torus mesh using marching cubes or
other methods.

• QQ：99515681
• 邮箱：99515681@qq.com
• 工作时间：8:00-23:00
• 微信：codehelp