index-local.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Babylon.js Sandbox - View glTF, glb, obj and babylon files</title>
  5. <meta name="description" content="Viewer for glTF, glb, obj and babylon files powered by Babylon.js" />
  6. <meta name="keywords" content="Babylon.js, Babylon, BabylonJS, glTF, glb, obj, viewer, online viewer, 3D model viewer, 3D, webgl" />
  7. <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
  8. <link rel="stylesheet" href="https://use.typekit.net/cta4xsb.css">
  9. <link rel="shortcut icon" href="https://www.babylonjs.com/favicon.ico">
  10. <script src="https://code.jquery.com/pep/0.4.2/pep.min.js"></script>
  11. <script src="../../dist/preview%20release/libktx.js"></script>
  12. <script src="../../Tools/DevLoader/BabylonLoader.js"></script>
  13. <style>
  14. html,
  15. body {
  16. width: 100%;
  17. height: 100%;
  18. padding: 0;
  19. margin: 0;
  20. overflow: hidden;
  21. }
  22. #host-element {
  23. width: 100%;
  24. height: 100%;
  25. }
  26. </style>
  27. </head>
  28. <body>
  29. <div id="host-element">
  30. </div>
  31. <script>
  32. // Load the scripts + map file to allow vscode debug.
  33. BABYLONDEVTOOLS.Loader
  34. .require("index.js")
  35. .load(() => {
  36. });
  37. </script>
  38. </body>
  39. </html>