1 / 126

CIS 350 – I Game Programming Instructor: Rolf Lakaemper

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

gwendolyn
Download Presentation

CIS 350 – I Game Programming Instructor: Rolf Lakaemper

An Image/Link below is provided (as is) to download presentation 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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CIS 350 – I Game Programming Instructor: Rolf Lakaemper

  2. Review and Questions

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

  4. German We learned some German words…

  5. German • So: • What’s the meaning of • Erfrischungskaltgetränk ? • Joystick • Soda • Flower Power

  6. German • So: • What’s the meaning of • Erfrischungskaltgetränk ? • Joystick • Soda • Flower Power

  7. History History of Computer Games

  8. History Which of the following games can be considered to be the first computer game ?

  9. History • Mission Elevator • Tennis for Two • Pong • Halo 2

  10. History • Mission Elevator • Tennis for Two (1958) • Pong • Halo 2

  11. History Which game started the commercial success of computer games ?

  12. History • Mission Elevator • Tennis for Two • Pong • Halo 2

  13. History • Mission Elevator • Tennis for Two • Pong (1972) • Halo 2

  14. History The Sinclair Spectrum, being a British 8 bit (Z80) computer in 1982, came with a RAM of …

  15. History • 40 Byte • 4 kB • 16 kB • 512 kB • 4 MB

  16. History • 40 Byte • 4 kB • 16 kB (Graphics included !) • 512 kB • 4 MB

  17. Genres Game Genres

  18. Genres Name 5 Genres !

  19. Genres • Adventure (Text/Graphic/Action) • Education • Fight • FPS • MMOG • Platform • Puzzle • Racing • RPG • Simulation • Sports • Strategy • Traditional

  20. Fractals Fractal Landscapes

  21. Fractals • Definiton of Fractals • Self Similarity • Fractal Dimension • Midpoint Replacement • van Koch Snowflake • Diamond Square Algorithm

  22. Fractals On which of the following arrays would the DS algorithm be able to operate ?

  23. Fractals • 12 x 12 • 128 x 32 • 128 x 128 • 129 x 33 • 129 x 129 • 17 x 17 x 17

  24. Fractals • 12 x 12 • 128 x 32 • 128 x 128 • 129 x 33 • 129 x 129 • 17 x 17 x 17

  25. 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 ?

  26. Fractals • (0,0) denotes the upper left point, rows first. • (2,2) • (3,3) • (2,3) • (4,0)

  27. Fractals • (0,0) denotes the upper left point, rows first. • (2,2) • (3,3) • (2,3) • (4,0)

  28. 3D Math 3D MATH BASICS

  29. 3D Math • Scalar / Dot / Cross Product • Transformations- Scaling, Rotation, Translation • Homogeneous Coordinate System • Projections, Parallel and Perspective

  30. 3D Math Which product is needed to scale (stretch) a vector ?

  31. 3D Math • Scalar • Dot • Cross

  32. 3D Math • Scalar • Dot • Cross

  33. 3D Math Which product is needed to compute the normal vector of a plane ?

  34. 3D Math • Scalar • Dot • Cross

  35. 3D Math • Scalar • Dot • Cross

  36. 3D Math The DOT product can be utilized to …

  37. 3D Math • Compute the angle between two vectors • Compute the AREA spanned by two vectors • Rotate a vector around another

  38. 3D Math • Compute the angle between two vectors • Compute the AREA spanned by two vectors • Rotate a vector around another

  39. 3D Math Which of the following matrices stretches a vector by factor 3 in all directions ?

  40. 3D Math

  41. 3D Math

  42. 3D Math Homogeneous Coordinates (=> 4x4 Matrices) are used to…

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

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

  45. 3D Math The PARALLEL projection along an axis of the coordinate system…

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

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

  48. 3D Math The PERSPECTIVE projection …

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

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

More Related