Graphics Engine Creation Joseph Hallahan Computer Systems Lab 2009-2010. Reusing code is good. Already works – smaller chance of generating an error Don’t have to do as much work Engines provide generic code Graphics code is hard, let’s put it in an engine!. Abstract.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Reusing code is good.
Already works – smaller chance of generating an error
Don’t have to do as much work
Engines provide generic code
Graphics code is hard, let’s put it in an engine!
The goal is to make a program that contains all the OpenGL code needed to do various things, such as get user input, check collisions, and render graphics. Also, to make a second program that successfully uses these methods.
Engine is one of the most important parts of a program
The more work done by the engine, the less programmers need to do
Provides functionality for various processes
Ex. Physics calculations, rendering graphics
Fig. 1: Pong
Not really a good way to get numerical data
If it works then it's good
The main issues here will be linking the source files together so the Pong program won’t generate errors (method “” undefined in this scope…)
The program works the way it was meant to.
Lots of things to improve on
Put more functionality into engine
Collision detection methods