Skip to content

Latest commit

 

History

History
 
 

1-halfedge

Homework 1: Implement the Halfedge Structure

Task 1. Build Halfedge-based mesh structure in the buildMesh method, then render the mesh using the provided software rasterizer.

  • Hint: Don't work directly on a complex mesh, but try to start with a single triangle.
  • Think about how to turn the learned data structure to code.
  • Read blender's developer documentation, try to answer these questions:
  • What is the blender's internal mesh data structure?
  • How it works and what are the differences compare to Halfedge-based mesh strcture?

Write the answers here:

Answers go here...

Task 2. Write a reproducer of teaser image in teaser.py.

Task 3. Think about your individual project ideas.

Write initial ideas here:

Answers go here...

Submission Instruction

In short: Send a pull request.

To submit a solution, one should create a folder named by the corresponding GitHub username in the homeworks folder and that folder will serve for all future submissions.

For example, in the homeworks folder, there is an existing folder changkun that demonstrates how to organize submissions:

gp
├── README.md               <-- Top level README
├── 1-halfedge              <-- Project skeleton
└── homeworks
    └── changkun            <-- GitHub username
        └── 1-halfedge      <-- Actual submission