DanTulovsky / tracer

The Ray Tracer Challenge in Go
GNU General Public License v3.0
1 stars 0 forks source link

Implement Triangle Mesh #10

Open DanTulovsky opened 4 years ago

DanTulovsky commented 4 years ago

Implement Triangle Mesh instead of using a Group.

DanTulovsky commented 4 years ago

The triangle mesh is implemented, but it still just keeps a list of SmoothTriangle objects, as these are needed later in shading. A win here though is that I can easily normalize all the vertices, so imports come in all at the same size.