3d web powered by nodejs & angularjs

18
3D web powered by Augusto Goncalves API Evangelist @ Autodesk @augustomaia

Upload: augusto-maia-goncalves

Post on 12-Apr-2017

747 views

Category:

Internet


4 download

TRANSCRIPT

Page 1: 3d web powered by NodeJS & AngularJS

3D web powered by

Augusto GoncalvesAPI Evangelist @ Autodesk

@augustomaia

Page 2: 3d web powered by NodeJS & AngularJS

The web is flat!So is the Earth!

Page 3: 3d web powered by NodeJS & AngularJS

Why live on a flat-web?Can I fit on

my car?

Does it fit my room?

What about the engine?

Page 4: 3d web powered by NodeJS & AngularJS

Enough! It’s time for 3DAnd make it easy, please!And mobile!With support for my models!

Page 5: 3d web powered by NodeJS & AngularJS

With real-world information!

There is the engine!

Page 6: 3d web powered by NodeJS & AngularJS

And information about the objects!

Yes, perfect fit!

Page 7: 3d web powered by NodeJS & AngularJS

The web is full of cool samples!• http://madebyevan.com/webgl-water/ • http://www.iamnop.com/particles/ • http://www.visualiser.fr/Babylon/character/ • http://seemore.playcanvas.com/ • http://www.mountainsofmouthness.com/ • http://lights.helloenjoy.com/

Page 8: 3d web powered by NodeJS & AngularJS

The e-commerce is getting onboard• http://customiser.pennyskateboards.com/us/ • https://human.biodigital.com/index.html • http://www.ford.com/cars/mustang/customizer

Page 9: 3d web powered by NodeJS & AngularJS

But what about developers?(repeat clapping hands!)

https://youtu.be/Vhh_GeBPOhs

Page 10: 3d web powered by NodeJS & AngularJS

Here it is!• WebGL: HTML5 + JavaScript

• Compatible with mostbrowsers

• And supported on mobile

Page 11: 3d web powered by NodeJS & AngularJS

Choose your weaponEasy

Customizable

File format

Library

Pure/raw

Page 12: 3d web powered by NodeJS & AngularJS

Give me some samples!• Three.js http://threejs.org/ • Cl3ver https://www.cl3ver.com/ • Sketch fab https://sketchfab.com/ • Autodesk View & Data http://lmv.rocks/

Try Autodesk V&D

Page 13: 3d web powered by NodeJS & AngularJS

Autodesk View & Data API• Back-end: REST API• Upload• Translation• Storage• Any language

(no WebGL equired)• Many formats

• Front-end: JavaScript• Three.js based• Embed on any page• Various APIs

IFC

OBJFBX

DXF

IGES

STEP

STL

Page 14: 3d web powered by NodeJS & AngularJS

Back-end: NodeJS• As usual:

npm install view-and-data(this package contains the REST API methods: upload, translate, etc.)

• Need a developer key & secrethttp://developer.autodesk.com

Page 15: 3d web powered by NodeJS & AngularJS

Front-end: AngularJSHTML5 + JavaScript• The viewer goes here

<div id="viewer"></div>

• JavaScriptautodeskviewer.com/viewers/2.2/viewer3D.min.js

• CSSdeveloper.api.autodesk.com/viewingservice/v1/viewers/style.css

Page 16: 3d web powered by NodeJS & AngularJS

Give me some sample code!• Check lot’s of samples at

https://github.com/Developer-Autodesk

• Gallery (NodeJS + AngularJS)http://viewer.autodesk.io/node/gallerySource: https://github.com/Developer-Autodesk/ng-gallery

• Get your key & secrethttp://developer.autodesk.com

Page 17: 3d web powered by NodeJS & AngularJS

17

June 15-16 at Fort Mason in San Francisco

Pre DevCon DevCon Post DevConJune 13-14 June 15-16 June 17-19

Accelerator

June 20-24

Come Early Stay Late