CS 420 Computer Graphics


Lab 7
Dr. Tong Yu, Fall 2004

Normals and Vertex Arrays

  • Login and open two windows, one for editing and one for compiling and executing programs.
  • A = ( 3, 0, 2 ) and B = ( 4, 1, 8 ). Find A x B, B x A, and A.B,

  • Find the normal vector to the plane that passes through the points (1, 1, 1), (1, 2, 1), and ( 3, 0, 4 )

  • (0.1 EC ) Write a simple program to find the normal to a plane passing through three points.
    Then use your program to check if the normal that you found in above is correct.