Return to Video

Return of the Square - Interactive 3D Graphics

  • 0:00 - 0:04
    In this exercise, the vertices themselves are not the problem. The first
  • 0:04 - 0:07
    triangle is the one that appears on the screen. You can verify this by
  • 0:07 - 0:10
    commenting out this triangle and seeing that nothing then appears. The second
  • 0:10 - 0:14
    triangle is then the one that's causing problems. We've been told the triangle
  • 0:14 - 0:18
    disappears when culling is turned on, so it's probably the vertex order. By
  • 0:18 - 0:22
    swapping any two of these indices. You reverse the order of the triangle. Here
  • 0:22 - 0:27
    I've swapped the first two. Doing this solves the problem and gives us the right
  • 0:27 - 0:27
    answer.
Title:
Return of the Square - Interactive 3D Graphics
Video Language:
English
Team:
Udacity
Project:
CS291 - Intro to 3D Computer Graphics
Duration:
0:28

English subtitles

Revisions Compare revisions