ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
BABYLON.JS
Unleash 3Dgamesforthe WEB
davca@microsoft.com - @deltakosh - http://aka.ms/davca
DAVIDCATUHE
Senior ProgramManager ¨CIE/Open Web Standards
Developer Experience and Evangelism
2
FIRSTCONTACT
Hello worldBabylon.js
LEARN AND EXPERIMENT
Playground
CREATE YOUROWN SHADER
CYOS
CREATING ASSETS
Using Blender
PLAYING WITH INPUT
Touch
Camera based on
pointer events
Device Orientation
Camera based on
Device Orientation
API
Virtual Joysticks
Using pointer events,
this camera
generates two
joysticks on top of
the scene
Anaglyph
Use this camera with
Red/Green glasses
Oculus
Control camera
orientation with
Oculus Rift device
UNIVERSALAPP
Creating Windows andWindows Phone with Babylon.js
ABOUTASSASSIN¡¯S CREED PIRATESRACE
UbiSoft used Babylon.js to create a complete racinggame forthe web
Contest for developers
Create a shader for the pirate ship at
http://www.babylonjs.com/cyos/acpr
Submit your entry by June 20, 2014
http://race.assassinscreedpirates.com/
BABYLON.JS FEATURES
1 Easy to use
? Simplicity as a foundation
? Minimal amount of code
? Pure JavaScript
? Open-source
? Optimizations engines (Octree, clipping,
offline mode)
2 Advanced shaders
? Smart shaders
? Per-pixel lighting
? Video / dynamic textures
? Bump
? Shadows
? Etc..
3 Collisions / physics engine
? Complete collisions engine
? Physics drivers (cannon.js)
4 And so many more
? Oculus Rift / Touch / Device Orientation
? Local cache using IDB
? Network optimizations with incremental loading
? Particles
? Mirrors
? Skyboxes
? Postprocesses
? Sprites
BABYLON.JS TOOLS
1 Playground
Learn and experiment Babylon.js in your
browser:
http://www.babylonjs.com/playground
For shaders:
http://www.babylonjs.com/cyos
2 Sandbox
Simply test your scene with drag¡¯n¡¯drop:
http://www.babylonjs.com/sandbox
3 Exporters
? Blender
? 3DS Max (thanks to UbiSoft)
? FBX converter
? OBJ converter
? Collada converter
4 WIKI
? https://github.com/BabylonJS/Babylon.js
? Tutorials
? Documentation
? Forum:
http://www.html5gamedevs.com/forum/16-
babylonjs/
USEFUL LINKS
http://www.babylonjs.com
http://www.babylonjs.com/playground
http://www.babylonjs.com/cyos
https://github.com/BabylonJS/Babylon.js/wiki
http://www.html5gamedevs.com/forum/16-babylonjs
THANK
YOU!

More Related Content

Unleash 3D games with Babylon.js - JSConf 2014 talk

Editor's Notes

  1. Create a simple project Add reference to Babylon.js Start with a really simple scene (camera, light, sphere) Then add a material and a bump texture
  2. Select code from Playground and copy/paste to previous page
  3. http://babylonjs.com/cyos/acpr/#OHRBR#24 http://babylonjs.com/cyos/acpr/#GWJ6S#1
  4. Create small scene with collisions and physics in Blender Use it in sandbox
  5. Exemple de camera
  6. Copy/paste code from playground (load skull) to page