Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Turbulenz WebGl Camp Europe 2012

652 views

Published on

  • Be the first to comment

  • Be the first to like this

Turbulenz WebGl Camp Europe 2012

  1. 1. turbulenzWebGL Camp Europe · David Galeano · July 2012
  2. 2. David GaleanoCo-founder of Turbulenz Limited in 2009Technical Director of EA Tech Graphics Team leader of RenderWare GraphicsGame developer at Dinamic Multimedia
  3. 3. BETWEEN US WE’VEMADE A TON OF GAMES(and RenderWare, an industry leading game engine)
  4. 4. Turbulenz is a vertical solution fordeveloping and publishing high quality games on the web.
  5. 5. Three game demos 3D3D 2D FPS Tech Demo Score Rush Space Ark
  6. 6. Demo: Score Rush
  7. 7. Score Rush• 8000 bullets on INSANE mode, hundreds of enemies ✓ Using sprite sheets / texture atlas for batching• Massive textures, some 4096x4096 ✓ DXT compression critical for laptops with lower VRAM ✓ Reduced dimensions when quality not critical• Fullscreen post FXs, GPU limited ✓ Minimize samples per pixel in fragment shaders
  8. 8. Demo: Space Ark
  9. 9. Space Ark• Massive GC pauses of ~500ms ✓ Reduced total number of objects from 4 million to 250k ✓ Using Typed Arrays ✓ Saved several hundred MB and GC pauses are now <50ms• ~100MB of textures resident ✓ Using compressed DXT textures for fast loading and rendering performance• Unused assets not always garbage collected between levels ✓ Explicit destruction of WebGL objects when no longer needed• Some meshes have >100k vertices ✓ Splitting in 64K chunks
  10. 10. FPS Tech Demo
  11. 11. FPS Tech Demo• 1694 assets to load ✓ Compression: 7-Zip better than gzip ✓ Caching: assets with unique names to be cached for 10 years ✓ Archives: group textures on tar files• 353 lights, 346 particle systems ✓ Culling: portals, bounding box trees• 55 shading techniques, 451 materials ✓ Flexible rendering system: CgFX files converted to JSON + GLSL ✓ Minimize state changes: sort by technique and material• Multiple file formats (.md5 .prog .map .cm .ase) ✓ Unified JSON based format
  12. 12. HTTP API SERVICES MULTIPLAYER MESSAGING AND BROADCASTING SERVICE ENGINE AND SITE NOTIFICATION SERVICE ARCHITECTURE // GAME SERVICE APPLICATION + HTTP APIs INTERNET NOTIFICATIONS LOCATION LEADER- VIRTUAL PROFILE BOARDS BADGES PHOTOS PLAYER FRIEND MULTI- STORE STATEGENERATION GAME USER FEED FEED ITEM LIVE GAME ENGINE // GAME SITE APPLICATION + SOCIAL APIs JAVASCRIPT GAME CODE CLASSIC GAME STREAMING ANIMATION RESOURCE GRAPHICS SERVICES WORKING LOADING PHYSICS ENGINE SCENE AUDIO INPUT MATH NET- WEB BROWSER + HTML5 NATIVE APP ADJOINED HTML5 SERVICES C++ OS (WINDOWS, MAC OS X, ANDROID, IOS, LINUX) HARDWARE
  13. 13. PLATFORM OVERVIEW AND WORKFLOW HUB. Analytics 3RD PARTY APPS TURBULENZ Publishing TURBULENZ Publishing Platform A/B Testing Game Platform HTTP HTTP API API SDK Scores Game Data LOCAL. Social Data Invitations HTTP TURBULENZ API Notifications Play Metrics Analytics Messages Assets Code TESTER MACHINES Play Data ARTIST DEVELOPER MACHINES MACHINES Feedback COMPANION PLAYING CLIENTS CLIENTS TOOLS + PIPELINES
  14. 14. Game site (beta live now)turbulenz.com
  15. 15. Developer site and SDK downloadhub.turbulenz.com
  16. 16. Online SDK documentationdocs.turbulenz.com
  17. 17. Thanks for listening! Questions? Game site (beta live now) turbulenz.com Developer site and SDK download hub.turbulenz.com Online SDK documentation docs.turbulenz.com David Galeanodavidgaleano@turbulenz.com

×