CS 419v/519v -- Winter Quarter 2023

Project #1

100 Points

Due: January 20

Create Your Own Vulkan Vertex Data


This page was last updated: December 31, 2022


Introduction

If you look at the file SampleVertexData.cpp, you will see how the cube from the sample code was defined. Your job is to do the same thing, but with a different object.

I recommend you copy the Sample2019 folder and replace the file SampleVertexData.cpp with your own definition. I also recommend you use nothing but triangles. That way, nothing else needs to change from the Sample2019.

Define your object using a continuous stream of vertices. Vulkan can also do Index Buffers, but we will come to that later.

Replace the existing texture image with one of your own.

Keyboard Keys

'l' (ell)Toggle lighting on and off
'm'Toggle display mode (textures vs. colors)
'p'Pause/resume the animation
'r'Toggle rotation-animation and using the mouse
Esc, 'q'Exit the program

Turn-in:

Use the Teach to turn in your:

  1. Your SampleVertexData.cpp file
  2. A one-page PDF with a title, your name, your email address, a nice screen shot from your program, and the link to the Kaltura video demonstrating that your project does what the requirements ask for. Narrate your video so that you can tell me what you did.
  3. Turn these two in as separate files. Don't zip anything!

Grading:

FeaturePoints
New geometry80
New texture image20
Potential Total100