180 likes | 298 Vues
Dive into the intricacies of 3D game development using OpenGL ES on Android. This course covers essential topics including real-time rendering, geometry, object transformations, and light management. Learn about game engine architecture, physics simulation, and collision detection, with a hands-on project showcasing a dynamic tunnel experience. Gain insights into creating 3D objects, managing resources, and implementing advanced features such as AI and rendering techniques. Ideal for aspiring game developers looking to enhance their skills in a practical environment.
E N D
Crash course inGrafica 3DDezvoltare de jocurisiOpenGL ES pe Android Prezentare Droid in a Tunnel RazvanMadalin Oita crioro@yahoo.com
Real-time rendering • Lights, camera, action! • Real-time, 30/60 FPS • Scena, obiectestatice/dinamice
Geometrie • Vertex • Triunghi • Poligon • Primitiva • Mesh-urisimodele
Sisteme de coordonate • Object Space • World Space • Eye/Camera/View Space • Clip coordinates • NDC sicoordonateecran
Transformari • Translatie, scalare, rotatie • Proiectieortografica/perspectiva
Lumini • Parallel Lights • Point Lights • Spot Lights • Reflexii, refractii, transmisie • Iluminarelocala/globala, etc.
Game Engine Architecture • Renderer • Physics System • Animation System • Game objects • AI
Fizica • Simulare • Collision detection • Bounding objects
Game Objects • Class based/Object Oriented • Component Based • Property Based
OpenGL ES • Activity si View • extends GLSurfaceView / event-uri • implements GLSurfaceView.Renderer • onSurfaceCreated(), onSurfaceChanged(), onDrawFrame()
Obiecte 3D in OpenGL ES • Vertex Buffer • Index Buffer • Backface Culling • Color Buffer • Structura Vertex
Transformari OpenGL ES • GL_MODELVIEW, GL_PROJECTION, GL_TEXTUREGL_COLOR • glTranslatef(), glRotatef(), glScalef() • gluLookAt(eye, center, up)
Droid in a Tunnel • Idee • Experienta • Cunostinte
Activity si View • Vortex • VortexView • SensorManager, SensorListener • Control cu accelerometru
Primitive • Mesh • Cube
Tunelul • Un tor • Obstacolele • Camera/gluLookAt() • Collision Detection • Probleme (mari, de design)
Renderer • perspective() • Probleme