1.26k likes | 1.49k Views
CIS 350 – I Game Programming Instructor: Rolf Lakaemper. Review and Questions. About. The following slides give a review over most of the topics we talked about. There are questions you should be able to answer, if not: the answers are given, too. German. We learned some German words….
E N D
CIS 350 – I Game Programming Instructor: Rolf Lakaemper
Review and Questions
About The following slides give a review over most of the topics we talked about. There are questions you should be able to answer, if not: the answers are given, too.
German We learned some German words…
German • So: • What’s the meaning of • Erfrischungskaltgetränk ? • Joystick • Soda • Flower Power
German • So: • What’s the meaning of • Erfrischungskaltgetränk ? • Joystick • Soda • Flower Power
History History of Computer Games
History Which of the following games can be considered to be the first computer game ?
History • Mission Elevator • Tennis for Two • Pong • Halo 2
History • Mission Elevator • Tennis for Two (1958) • Pong • Halo 2
History Which game started the commercial success of computer games ?
History • Mission Elevator • Tennis for Two • Pong • Halo 2
History • Mission Elevator • Tennis for Two • Pong (1972) • Halo 2
History The Sinclair Spectrum, being a British 8 bit (Z80) computer in 1982, came with a RAM of …
History • 40 Byte • 4 kB • 16 kB • 512 kB • 4 MB
History • 40 Byte • 4 kB • 16 kB (Graphics included !) • 512 kB • 4 MB
Genres Game Genres
Genres Name 5 Genres !
Genres • Adventure (Text/Graphic/Action) • Education • Fight • FPS • MMOG • Platform • Puzzle • Racing • RPG • Simulation • Sports • Strategy • Traditional
Fractals Fractal Landscapes
Fractals • Definiton of Fractals • Self Similarity • Fractal Dimension • Midpoint Replacement • van Koch Snowflake • Diamond Square Algorithm
Fractals On which of the following arrays would the DS algorithm be able to operate ?
Fractals • 12 x 12 • 128 x 32 • 128 x 128 • 129 x 33 • 129 x 129 • 17 x 17 x 17
Fractals • 12 x 12 • 128 x 32 • 128 x 128 • 129 x 33 • 129 x 129 • 17 x 17 x 17
Fractals In a 5 x 5 grid, having the corners pre-inititialized, what are the coordinates of the first point computed by the Diamond Step ?
Fractals • (0,0) denotes the upper left point, rows first. • (2,2) • (3,3) • (2,3) • (4,0)
Fractals • (0,0) denotes the upper left point, rows first. • (2,2) • (3,3) • (2,3) • (4,0)
3D Math 3D MATH BASICS
3D Math • Scalar / Dot / Cross Product • Transformations- Scaling, Rotation, Translation • Homogeneous Coordinate System • Projections, Parallel and Perspective
3D Math Which product is needed to scale (stretch) a vector ?
3D Math • Scalar • Dot • Cross
3D Math • Scalar • Dot • Cross
3D Math Which product is needed to compute the normal vector of a plane ?
3D Math • Scalar • Dot • Cross
3D Math • Scalar • Dot • Cross
3D Math The DOT product can be utilized to …
3D Math • Compute the angle between two vectors • Compute the AREA spanned by two vectors • Rotate a vector around another
3D Math • Compute the angle between two vectors • Compute the AREA spanned by two vectors • Rotate a vector around another
3D Math Which of the following matrices stretches a vector by factor 3 in all directions ?
3D Math Homogeneous Coordinates (=> 4x4 Matrices) are used to…
3D Math • Rotate a vector without any information about the angle • Decrease the dimensionality of a vector • Represent the translation as a matrix multiplication • Unify all dimensions
3D Math • Rotate a vector without any information about the angle • Decrease the dimensionality of a vector • Represent the translation as a matrix multiplication • Unify all dimensions
3D Math The PARALLEL projection along an axis of the coordinate system…
3D Math • Reduces the dimensionality from 3D to 2D • Increases the dimensionality from 2D to 3D • Shows objects being closer bigger than others being far away
3D Math • Reduces the dimensionality from 3D to 2D • Increases the dimensionality from 2D to 3D • Shows objects being closer bigger than others being far away
3D Math The PERSPECTIVE projection …
3D Math • Shows all objects scaled to the same size • Increases the dimensionality from 2D to 3D • Shows objects being closer bigger than others being far away
3D Math • Shows all objects scaled to the same size • Increases the dimensionality from 2D to 3D • Shows objects being closer bigger than others being far away