OFF 3D File Format Parser for X_ITE
Include the script before X_ITE:
<script defer src="https://cdn.jsdelivr.net/npm/x_ite-off-parser@1.3.0/dist/x_ite-off-parser.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.js"></script>
<!-- or as ES module -->
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-off-parser@1.3.0/dist/x_ite-off-parser.min.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.mjs"></script>You can now load .off files directly using the src attribute, but you can also use .off files as source of an Inline node.
<x3d-canvas src="cube.off"></x3d-canvas>You can also install it from npm:
npm i x_ite-off-parserx_ite-off-parser is free software and licensed under the MIT License.