1 / 9

Game Engine

Game Engine. Math library. Vector – 3, 4 dimensions Matrix – 3, 4 dimensions Quaternions for rotations. Structure(1). One main class: Root Has links to all subsystems Controls the game loop Controls timers Initializes subsystems. Scene Management.

Télécharger la présentation

Game Engine

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. Game Engine

  2. Math library • Vector – 3, 4 dimensions • Matrix – 3, 4 dimensions • Quaternions for rotations

  3. Structure(1) • One main class: Root • Has links to all subsystems • Controls the game loop • Controls timers • Initializes subsystems

  4. Scene Management • SceneManager keeps track of objects, cameras and lights • Makes visibility checks • Updates cameras • Sends objects to renderer for rendering

  5. Rendering • Done by renderer • Can render objects that use vertex buffers and index buffers • Each frame is rendered for every viewport available • Communication with SceneManager is done through a queue

  6. Resources(1) • Materials, textures, meshes • A material has information about the surface of an object; can have multiple textures; for now they are created manually • Textures are loaded with a texture manager with a default loader; the loader can be changed;

  7. Resources(2) • Meshes contain geometric information about objects in space; • They are loaded with the MeshManager; the MeshManager can have multiple loaders registered; • Each mesh can have multiple materials and submeshes; each submesh has only one material

  8. Animation • With AnimationManager and Nvidia PhysX • The AnimationManager updates the animations for meshes that have animation • PhysX is used for simulating physical interaction between objects

More Related