game engine Game Engine 1 rendering engine 2

  • Slides: 33
Download presentation

χρησιμοποιηθούν για την ευκολότερη ανάπτυξη παιχνιδιών Η βασική λειτουργικότητα που παρέχεται τυπικά από μία

χρησιμοποιηθούν για την ευκολότερη ανάπτυξη παιχνιδιών Η βασική λειτουργικότητα που παρέχεται τυπικά από μία game engine περιλαμβάνει: Ορισμός Game Engine (1) • rendering engine (2 D/ 3 D) • scene graph • collision detection (and response) • physics engine • scripting • animation • artificial intelligence • sound • networking • streaming • memory management • threading

Platform and Hardware Abstraction Many game engines provide platform abstraction (i. e. they can

Platform and Hardware Abstraction Many game engines provide platform abstraction (i. e. they can be run multiple platforms – including PCs, consoles, handhelds, mobile devices, etc. ). Typically the rendering system in a game engine is built on top of a defined graphics API (e. g. Direct 3 D or Open. GL) providing access to the GPU. Other libraries such as Direct. X, Open. AL, etc. may also be supported to provide hardware-independent access to input devices, sound cards, network cards, physics accelerators, etc.

 • Unreal Engine (Epic Games) – Unreal 4, UDK Παραδείγματα game engines •

• Unreal Engine (Epic Games) – Unreal 4, UDK Παραδείγματα game engines • Unity 3 D (Unity Technologies) • Source Engine (Valve Corporation) • Counterstrike, Half-Life • Gamebryo Engine (Emergent Game Technologies) • Fallout • id Tech 6 (id Software) • Doom, Quake • Cry. Engine (Crytek) • Far Cry

GAME ENGINE ΑΡΧΙΤΕΚΤΟΝΙΚΗ Overview of Typical Game Engine Architecture

GAME ENGINE ΑΡΧΙΤΕΚΤΟΝΙΚΗ Overview of Typical Game Engine Architecture

Game Specific Subsystems Gameplay Foundations Rendering engine Front-end Animation Human Interface Devices Visual Effects

Game Specific Subsystems Gameplay Foundations Rendering engine Front-end Animation Human Interface Devices Visual Effects Audio Scene Graph / Culling Collision and Physics Networking Renderer Resource Management and Game Assets Core Support and Utility Systems Platform Independence Layer SDKs / Drivers / OS Hardware

Core Systems Core Support and Utility Systems Προκειμένου να λειτουργούν σωστά, οι game engines

Core Systems Core Support and Utility Systems Προκειμένου να λειτουργούν σωστά, οι game engines εξαρτώνται συνήθως από συγκεκριμένες κλάσεις. Ανάλογα με τη game engine, μπορεί να έχουμε: Core Support and Utility Systems Memory Allocation Assertions Math Library Debug Printing and Logging Localization Services Profiling / Stats Gathering Random Number Generator Parsers Movie Player Network Transport Layer RTTI / Reflection & Serialization Asynchronous File I/O

Η rendering engine μέσα σε μια game engine τείνει να είναι ένα μεγάλο και

Η rendering engine μέσα σε μια game engine τείνει να είναι ένα μεγάλο και τμήμα, το οποίο συχνά χωρίζεται σε διαφορετικά επίπεδα. Rendering engine Rendering Engine Front-end Visual Effects Scene Graph / Culling Renderer

Η μηχανή rendering μπορεί να παρέχει υποστήριξη για τους παρακάτω τύπους ψηφιακών εφέ: Visual

Η μηχανή rendering μπορεί να παρέχει υποστήριξη για τους παρακάτω τύπους ψηφιακών εφέ: Visual Effects • Particle effects • Decal system • Dynamic shadows • Light/environmental mapping • Full-screen post render effects (e. g. HDR, FSAA, colour correction, etc. ). Visual Effects

Ένα στοιχείο front end παρέχει ένα μέσο rendering γραφικών 2 D (συνήθως πάνω από

Ένα στοιχείο front end παρέχει ένα μέσο rendering γραφικών 2 D (συνήθως πάνω από μια σκηνή 3 D), παρέχοντας: Front End • Game front end and menus • In game Head-up-display (HUD) • In game graphical user interface (e. g. for inventory screens, etc. ) • Debugging and other tools (e. g. console) Front-end

Animation Οι περισσότερες σύγχρονες game engines υποστηρίζουν skeletal animation, επιτρέποντας σε ένα mesh να

Animation Οι περισσότερες σύγχρονες game engines υποστηρίζουν skeletal animation, επιτρέποντας σε ένα mesh να κινείται χρησιμοποιώντας ένα σύστημα bones. Animation State Trees Inverse Kinematics LERP and additive blending Animation Playback Sub-skeletal Animation Decompression

TOOLS ANDTHE ASSET PIPELINE Game Engine Tools and the Asset Pipeline

TOOLS ANDTHE ASSET PIPELINE Game Engine Tools and the Asset Pipeline

Tools and the Asset Pipeline Game engines consume a lot of data in order

Tools and the Asset Pipeline Game engines consume a lot of data in order to construct and play a game, including game assets, configuration files, scripts, etc: Sound Bank Animation Tree Textures Skeletal Hierarchy Particle System Mesh Asset Conditioning Pipeline World Editor Game Engine

Μερικά παραδείγματα είναι τα εξής: • Autodesk Maya (models and animation) Εργαλεία δημιουργίας περιεχομένου

Μερικά παραδείγματα είναι τα εξής: • Autodesk Maya (models and animation) Εργαλεία δημιουργίας περιεχομένου • 3 ds Max (models and animation) • Blender (models and animation) • Cinema 4 D (models and animation) • Adobe Photoshop (textures) • Sound. Forge (audio)