1 / 18

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

Crash course in Grafica 3D Dezvoltare de jocuri si OpenGL ES pe Android. Prezentare Droid in a Tunnel. Razvan Madalin Oita crioro@yahoo.com. Real-time rendering. Lights, camera, action! Real-time, 30/60 FPS Scena , obiecte statice / dinamice. . Geometrie. Vertex Triunghi

yoko
Download Presentation

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

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

More Related