- You must use delta time in your animations.
- You should submit a link to the repository containing your assignment on Brightspace.
- You should, of course, push that same version to your GitHub account. Note that any commits done after the deadline will be ignored.
- Do not use any OpenGL functionality that we have not learned in class.
- The
main.cpp
file you submit should contain a header comment block as follows:
/**
* Author: [Your name here]
* Assignment: Simple 2D Scene
* Date due: 2024-06-15, 11:59pm
* I pledge that I have completed this assignment without
* collaborating with anyone else, in conformance with the
* NYU School of Engineering Policies and Procedures on
* Academic Misconduct.
**/
No late submissions will be accepted.
- There needs to be at least 2 different "objects" in the scene.
- Each object must use a different texture. These textures must not be solid colours, but images. You may use any images that you like.
- At least one of your objects must be moving in relation to other objects (i.e. translation).
- At least one of your objects must be rotating.
If your screen is flickering, remember that you have to, in order:
- Call
glClear
. - Draw every single one of your objects (i.e. everything you want to be in your scene)
- Call
SDL_GL_SwapWindow
.
- Have at least one of your objects change scale.
- Have both of your objects translate in a pattern other than vertically and horizontally.