Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 2.24 KB

project_1.md

File metadata and controls

64 lines (45 loc) · 2.24 KB

NYU Tandon School of Engineering

CS-UY 3113 Summer 2023

Project 1: Simple 2D Scene

Due: 11:59pm, Saturday, June 15th, 2024

Submission instructions

  1. You must use delta time in your animations.
  2. You should submit a link to the repository containing your assignment on Brightspace.
  3. You should, of course, push that same version to your GitHub account. Note that any commits done after the deadline will be ignored.
  4. Do not use any OpenGL functionality that we have not learned in class.
  5. 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.

Sections

Requirements

  1. At Least Two Objects (50%)
  2. Movement (25%)
  3. Rotation (25%)

Tips

  1. Common Issues
  2. Extra Credit

Requirement 1: At Least Two Objects (50%)

  • 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.

Requirement 2: Movement (25%)

  • At least one of your objects must be moving in relation to other objects (i.e. translation).

Requirement 3: Rotation (25%)

  • At least one of your objects must be rotating.

Common Issues

If your screen is flickering, remember that you have to, in order:

  1. Call glClear.
  2. Draw every single one of your objects (i.e. everything you want to be in your scene)
  3. Call SDL_GL_SwapWindow.

Extra Credit

  • Have at least one of your objects change scale.
  • Have both of your objects translate in a pattern other than vertically and horizontally.