Crash course in Grafica 3D Dezvoltare de jocuri si OpenGL ES pe Android - PowerPoint PPT Presentation

yoko
crash course in grafica 3d dezvoltare de jocuri si opengl es pe android n.
Skip this Video
Loading SlideShow in 5 Seconds..
Crash course in Grafica 3D Dezvoltare de jocuri si OpenGL ES pe Android PowerPoint Presentation
Download Presentation
Crash course in Grafica 3D Dezvoltare de jocuri si OpenGL ES pe Android

play fullscreen
1 / 18
Download Presentation
Crash course in Grafica 3D Dezvoltare de jocuri si OpenGL ES pe Android
81 Views
Download Presentation

Crash course in Grafica 3D Dezvoltare de jocuri si OpenGL ES pe Android

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Crash course inGrafica 3DDezvoltare de jocurisiOpenGL ES pe Android Prezentare Droid in a Tunnel RazvanMadalin Oita crioro@yahoo.com

  2. Real-time rendering • Lights, camera, action! • Real-time, 30/60 FPS • Scena, obiectestatice/dinamice

  3. Geometrie • Vertex • Triunghi • Poligon • Primitiva • Mesh-urisimodele

  4. Sisteme de coordonate • Object Space • World Space • Eye/Camera/View Space • Clip coordinates • NDC sicoordonateecran

  5. Transformari • Translatie, scalare, rotatie • Proiectieortografica/perspectiva

  6. Lumini • Parallel Lights • Point Lights • Spot Lights • Reflexii, refractii, transmisie • Iluminarelocala/globala, etc.

  7. Game Engine Architecture • Renderer • Physics System • Animation System • Game objects • AI

  8. Fizica • Simulare • Collision detection • Bounding objects

  9. Game Objects • Class based/Object Oriented • Component Based • Property Based

  10. OpenGL ES • Activity si View • extends GLSurfaceView / event-uri • implements GLSurfaceView.Renderer • onSurfaceCreated(), onSurfaceChanged(), onDrawFrame()

  11. Obiecte 3D in OpenGL ES • Vertex Buffer • Index Buffer • Backface Culling • Color Buffer • Structura Vertex

  12. Transformari OpenGL ES • GL_MODELVIEW, GL_PROJECTION, GL_TEXTUREGL_COLOR • glTranslatef(), glRotatef(), glScalef() • gluLookAt(eye, center, up)

  13. Droid in a Tunnel • Idee • Experienta • Cunostinte

  14. Activity si View • Vortex • VortexView • SensorManager, SensorListener • Control cu accelerometru

  15. Primitive • Mesh • Cube

  16. Tunelul • Un tor • Obstacolele • Camera/gluLookAt() • Collision Detection • Probleme (mari, de design)

  17. Renderer • perspective() • Probleme