index.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>BabylonJS - Sandbox</title>
  5. <link href="index.css" rel="stylesheet" />
  6. <script src="https://code.jquery.com/pep/0.4.2/pep.min.js"></script>
  7. <script src="https://babylonjs.azurewebsites.net/cannon.js"></script>
  8. <script src="https://babylonjs.azurewebsites.net/Oimo.js"></script>
  9. <script src="https://babylonjs.azurewebsites.net/babylon.js"></script>
  10. <script src="https://babylonjs.azurewebsites.net/lib/babylon.glTFFileLoader.js"></script>
  11. <script src="https://babylonjs.azurewebsites.net/lib/babylon.objFileLoader.js"></script>
  12. <script src="https://babylonjs.azurewebsites.net/lib/babylon.stlFileLoader.js"></script>
  13. </head>
  14. <body>
  15. <canvas id="renderCanvas"></canvas>
  16. <div id="logo">
  17. </div>
  18. <div id="help01" class="help">
  19. <span class="helpText">Press this button to open your assets' files</span>
  20. <img id="helpArrow" src="./Assets/FlecheTuto.png" />
  21. </div>
  22. <div id="help02" class="help2">
  23. <span class="helpText">Or directly drag'n'drop your files in the browser</span>
  24. </div>
  25. <div class="footer">
  26. <div class="footerLeft">
  27. Powered by <a href="http://www.babylonjs.com/" target="_blank">Babylon.js</a><br />
  28. </div>
  29. <div class="footerRight">
  30. <ul>
  31. <li id="btnFullscreen">
  32. <img src="./Assets/BtnFullscreen.png" alt="Switch the scene to full screen" title="Switch the scene to full screen" />
  33. </li>
  34. <li id="btnPerf">
  35. <img src="./Assets/BtnPerf.png" alt="Display debug & performance layer" title="Display debug & performance layer" />
  36. </li>
  37. <li id="btnFiles">
  38. <div class="custom-upload" title="Open your .babylon scene from your hard drive">
  39. <input type="file" id="files" multiple />
  40. </div>
  41. </li>
  42. </ul>
  43. </div>
  44. </div>
  45. <div id="loadingText" class="loadingText"></div>
  46. <script src="index.js"></script>
  47. </body>
  48. </html>