Add BaseImporterPlugin, @threepipe/plugin-extra-importers for .3ds, .3mf, .collada, .amf, .bvh, .vox, .gcode, .mdd, .pcd, .tilt, .wrl, .mpd, .vtk, .xyz
2 лет назад Add BaseImporterPlugin, @threepipe/plugin-extra-importers for .3ds, .3mf, .collada, .amf, .bvh, .vox, .gcode, .mdd, .pcd, .tilt, .wrl, .mpd, .vtk, .xyz
2 лет назад |
12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Tweakpane Editor</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <!-- Import maps polyfill -->
- <!-- Remove this when import maps will be widely supported -->
- <script async src="https://unpkg.com/es-module-shims@1.6.3/dist/es-module-shims.js"></script>
-
- <!-- Fonts -->
- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet">
- <link href="https://cdn.jsdelivr.net/gh/repalash/gilroy-free-webfont@master/Gilroy-Extrabold.css" rel="stylesheet">
-
- <script type="importmap">
- {
- "imports": {
- "three": "./../../dist/index.mjs",
- "threepipe": "./../../dist/index.mjs",
- "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs",
- "@threepipe/plugin-tweakpane-editor": "./../../plugins/tweakpane-editor/dist/index.mjs",
- "@threepipe/plugin-extra-importers": "./../../plugins/extra-importers/dist/index.mjs",
- "@threepipe/plugin-blend-importer": "./../../plugins/blend-importer/dist/index.mjs",
- "@threepipe/plugin-geometry-generator": "./../../plugins/geometry-generator/dist/index.mjs",
- "@threepipe/plugin-gaussian-splatting": "./../../plugins/gaussian-splatting/dist/index.mjs"
- }
- }
-
- </script>
- <style id="example-style">
- html {
- display: block;
- }
- </style>
- <script type="module" src="../examples-utils/simple-code-preview.mjs"></script>
- <script id="example-script" type="module" src="./script.js" data-scripts="./script.ts;./script.js"></script>
- </head>
- <body class="code-preview-container">
- <div id="canvas-container">
- <canvas id="mcanvas"></canvas>
- </div>
-
- </body>
|