CPSC362A
Video Game Development

Activity 4

Create a Star Model File

Create a Wavefront .obj model file of a five-pointed star.

Details

  1. The vertex lines are the same as the ones used to draw the star using a vertex array.

  2. The face lines are different because the .obj file can’t represent triangle fans. Instead, create faces for each triangle in the star.

  3. Test your .obj file by viewing it online.

Example