1 / 11

Three.js

Three.js. Faciliter le WebGL. Three. Framework Comme Jquerry Pour faire de la 3D. Exemple. http://acko.net/ http://inear.se/beanstalk/ http://lab.sehsucht.de/ http://substack.net/projects/voxel-forest/. Exercice 1. Faites appel à three

tatum
Télécharger la présentation

Three.js

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. Three.js Faciliter le WebGL

  2. Three • Framework • Comme Jquerry • Pour faire de la 3D

  3. Exemple • http://acko.net/ • http://inear.se/beanstalk/ • http://lab.sehsucht.de/ • http://substack.net/projects/voxel-forest/

  4. Exercice 1 • Faites appel à three • "https://rawgithub.com/mrdoob/three.js/master/build/three.js"

  5. Exercice 2 • Créer une scène • Scène • Camera • Render

  6. Exercice 3 • Créer un cube dans la scène

  7. Exercice 4 • Afficher la scène

  8. Exercice 5 • Faites tourner le cube

  9. Exercice 6 • Se servir du script • OrbitControls.js Pour faire pivoter la scene

  10. <script src = "OrbitControls.js"></script> • controls = new THREE.OrbitControls( camera, renderer.domElement ); • Dans la fonction render • controls.update();

  11. Exercice 7 • Ajouter un plan pour que la rotation soit plus visible

More Related