English subtitles

← Return of the Square - Interactive 3D Graphics

Get Embed Code
2 Languages

Showing Revision 3 created 05/25/2016 by Udacity Robot.

  1. In this exercise, the vertices themselves are not the problem. The first
  2. triangle is the one that appears on the screen. You can verify this by
  3. commenting out this triangle and seeing that nothing then appears. The second
  4. triangle is then the one that's causing problems. We've been told the triangle
  5. disappears when culling is turned on, so it's probably the vertex order. By
  6. swapping any two of these indices. You reverse the order of the triangle. Here
  7. I've swapped the first two. Doing this solves the problem and gives us the right
  8. answer.