-
Notifications
You must be signed in to change notification settings - Fork 1
/
gltf-index.html
409 lines (378 loc) · 21.6 KB
/
gltf-index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="xeokit - SDK for Browser-Based 3D BIM Visualization">
<meta name="author" content="Lindsay Kay">
<meta name="keywords" content="BIM,IFC,WebGL,JavaScript,Browser,BCF,Web,xeolabs,3D,3D Viewer,Lindsay Kay,xeokit,MedViz,ArchViz,Open Source,Browser,Viewer">
<title>xeokit - 3D Web Programming Toolkit for BIM and Engineering Visualization</title>
<link href="./vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="./css/business-frontpage.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Rubik" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<!-- Bootstrap core JavaScript -->
<script src="./vendor/jquery/jquery.min.js"></script>
<script src="./vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<title></title></head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top ">
<span style="color: #ffffff;"><a class="navbar-home" href="http://xeolabs.com">xeolabs</a>/<a class="navbar-parent" href="https://xeokit.io">xeokit SDK</a>/<a class="navbar-brand" href="./index.html">Model Conversion</a></span>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="./index.html?foo=0">Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownDemos" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Demos </a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownLearn">
<a class="dropdown-item" href="https://xeokit.io/demo.html?projectId=RevitSamples&tab=models">Revit Sample glTF Model</a>
<a class="dropdown-item" href="https://xeokit.io/demo.html?projectId=MAPPointCloud">1.6M Point Cloud Model</a>
<a class="dropdown-item" href="https://xeokit.io/demo.html?projectId=MAP&tab=objects">Full-Precision glTF Model</a>
<a class="dropdown-item" href="https://xeokit.io/demo.html?projectId=OTCConferenceCenter&tab=storeys">Conference Center Model</a>
<a class="dropdown-item" href="https://xeokit.io/demo.html?projectId=Schependomlaan&tab=storeys">Schependomlaan Model</a>
<a class="dropdown-item" href="https://xeokit.io/demo.html?projectId=Schependomlaan_selectedStorey&tab=storeys">Schependomlaan Ground Floor</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="https://xeokit.io/index.html?foo=1#features">Features</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://xeokit.io/index.html?foo=1#faq">FAQ</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://xeokit.io/blog.html">Blog</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://xeokit.github.io/xeokit-sdk/examples/" target="_demos">Examples</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownLearn" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Developers </a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownLearn">
<a class="dropdown-item" href="https://www.notion.so/xeokit/xeokit-Documentation-4598591fcedb4889bf8896750651f74e">Documentation</a>
<a class="dropdown-item" href="https://xeokit.github.io/xeokit-sdk/examples/" target="_examples">Examples</a>
<a class="dropdown-item" href="https://xeokit.github.io/xeokit-sdk/docs/" target="_docs">API Reference</a>
<a class="dropdown-item" href="https://github.com/xeokit" target="_code">Source Code</a>
<a class="dropdown-item" href="https://xeokit.github.io/xeokit-model-conversion-tests/index.html">Model Conversion</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="https://xeokit.io/index.html?foo=2#pricing">Pricing</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://xeokit.io/download.html">Download</a>
</li>
</ul>
</div>
</nav>
<header class="bg-primary py-5 pipelines-header bg-black">
<div class="container h-100">
<div class="row h-100 align-items-center">
<div class="col-lg-12">
<h1 class="text-white mt-5 mb-2">Model Conversion</h1>
<p class="lead mb-5 text-white">Recipes for importing AEC model files into xeokit</p>
</div>
</div>
</div>
</header>
<section class="main-section alabaster" id="intro">
<div class="container">
<div class="row testimonial-row center-text">
<div class="col-lg-12">
<h1>Introduction</h1>
</div>
</div>
<div class="row">
<div class="col-12 mx-auto">
<p>The xeokit SDK allows us to load large, full-precision AEC models over the Web in seconds and view
them in the browser. To do that, we pre-convert our models to xeokit's fast-loading native
<i>XKT</i> format.</p>
<p>Listed below are several pipelines we can use to convert AEC files to XKT. Each pipeline involves
running the files through a chain of one or more CLI tools, in your local environment. The Community
pipelines use exclusively open source tools, while the CxConverter pipelines use a proprietary
tool for which a commercial license is required.</p>
<p>Periodically, we run our AEC test files through all the pipelines. That statically-generates the
<a href="./gltf-tests.html">Model Conversion Tests</a> page, where you can check if the latest pipelines
are converting our test models correctly.
</p>
</div>
</div>
<div class="row mt-5">
<div class="col-sm-12 text-center">
<a class="btn btn-lg btn-outline-primary border-2" href="./gltf-tests.html">glTF Conversion Tests >></a>
</div>
</div>
</div>
</section>
<section class="main-section" id="lasCXConverterPipeline1">
<div class="container">
<div class="row no-gutters">
<div class="col-md-12">
<h1 class="mb-4 text-center">CxConverter glTF Conversion Pipeline #1</h1>
</div>
</div>
<div class="row no-gutters">
<div class="col-md-5">
<img alt="..." class="card-img" src="./img/pipeline-gltf-enterprise1.png">
</div>
<div class="col-md-7">
<br><br>
<p>A high-performance pipeline that converts large <code>.gltf</code> files into <code>.xkt</code>, with
two CLI tools, using intermediate <code>.glb</code> and <code>.json</code> files.</p>
<h5>Features</h5>
<ul>
<li>Converts huge <code>.gltf</code> files of many gigabytes</li>
<li>Two CLI tools, written in C++ and JavaScript (NodeJS)</li>
<li>Option to split output into multiple files for easy loading in browsers</li>
<li>Creates intermediate <code>.glb</code> and <code>.json</code> metadata files
</li>
<li>View the <code>.xkt</code> or <code>.glb</code> in a xeokit
<a href="https://xeokit.github.io/xeokit-sdk/docs/class/src/viewer/Viewer.js~Viewer.html">Viewer</a>
with
<a href="https://xeokit.github.io/xeokit-sdk/docs/class/src/plugins/XKTLoaderPlugin/XKTLoaderPlugin.js~XKTLoaderPlugin.html">XKTLoaderPlugin</a>
or
<a href="https://xeokit.github.io/xeokit-sdk/docs/class/src/plugins/GLTFLoaderPlugin/GLTFLoaderPlugin.js~GLTFLoaderPlugin.html">GLTFLoaderPlugin</a>
</li>
</ul>
<h5>Tools used</h5>
<ul>
<li><a href="https://github.com/xeokit/xeokit-convert">las2gltf</a> (Closed source, from
<a href="https://creoox.com">Creoox AG</a>)
</li>
<li><a href="https://github.com/xeokit/xeokit-convert">convert2xkt</a> (AGPL3, from
<a href="https://xeokit.io">xeokit SDK</a>)
</li>
</ul>
<h5>More info</h5>
<ul>
<li>Tutorial:
<a href="https://www.notion.so/xeokit/Converting-glTF-to-XKT-using-las2gltf-a2e0005d00dc4f22b648f1237bc3245d">Converting
glTF to XKT using las2gltf</a>
</li>
</ul>
</div>
</div>
<div class="row mb-5">
<div class="col-sm-12 text-center">
<a class="btn btn-lg btn-outline-primary border-2" href="./gltf-tests.html">glTF Conversion Tests >></a>
</div>
</div>
</div>
</section>
<section class="main-section alabaster" id="lasCXConverterPipeline2">
<div class="container">
<div class="row no-gutters">
<div class="col-md-12">
<h1 class="mb-4 text-center">CxConverter glTF Conversion Pipeline #2</h1>
</div>
</div>
<div class="row no-gutters">
<div class="col-md-5">
<img alt="..." class="card-img" src="./img/pipeline-gltf-enterprise2.png">
</div>
<div class="col-md-7">
<br><br>
<p>A high-performance pipeline that converts large <code>.gltf</code> files directly into
<code>.xkt</code>, using a single CLI tool and no intermediate formats.</p>
<h5>Features</h5>
<ul>
<li>Converts huge <code>.gltf</code> files of many gigabytes</li>
<li>Converts <code>.gltf</code> directly into <code>.xkt</code>
<li>A single CLI tool written in C++</li>
<li>Option to split output into multiple <code>.xkt</code> files for easy loading in browsers</li>
</li>
<li>View the <code>.xkt</code> in a xeokit
<a href="https://xeokit.github.io/xeokit-sdk/docs/class/src/viewer/Viewer.js~Viewer.html">Viewer</a>
with
<a href="https://xeokit.github.io/xeokit-sdk/docs/class/src/plugins/XKTLoaderPlugin/XKTLoaderPlugin.js~XKTLoaderPlugin.html">XKTLoaderPlugin</a>
</li>
</ul>
<h5>Tools used</h5>
<ul>
<li><a href="https://github.com/xeokit/xeokit-convert">las2gltf</a> (Closed source, from
<a href="https://creoox.com">Creoox AG</a>)
</li>
</ul>
<h5>More info</h5>
<ul>
<li>Tutorial:
<a href="https://www.notion.so/xeokit/Converting-glTF-to-XKT-using-las2gltf-a2e0005d00dc4f22b648f1237bc3245d">Converting
glTF to XKT using las2gltf</a>
</li>
</ul>
</div>
</div>
</div>
</section>
<section class="main-section" id="lasCommunityPipeline1">
<div class="container">
<div class="row no-gutters">
<div class="col-md-12">
<h1 class="mb-4 center-text">Community glTF Conversion Pipeline</h1>
</div>
</div>
<div class="row testimonial-row">
<div class="col-md-5">
<img alt="..." class="card-img" src="./img/pipeline-gltf-community1.png">
</div>
<div class="col-md-7">
<br><br>
<p class="mb-4">A pipeline of open source CLI tools that converts medium-to-large
<code>.gltf</code> files to <code>.xkt</code>.</p>
<h5>Features</h5>
<ul>
<li>Converts medium-to-large <code>.gltf</code> files to <code>.xkt</code></li>
<li>All tools open source under AGPL3 and MIT</li>
<li>Creates intermediate <code>.glb</code> and <code>.json</code> metadata files on disk
</li>
<li>View the <code>.xkt</code> or <code>.glb</code> in a xeokit
<a href="https://xeokit.github.io/xeokit-sdk/docs/class/src/viewer/Viewer.js~Viewer.html">Viewer</a>
with
<a href="https://xeokit.github.io/xeokit-sdk/docs/class/src/plugins/XKTLoaderPlugin/XKTLoaderPlugin.js~XKTLoaderPlugin.html">XKTLoaderPlugin</a>
or
<a href="https://xeokit.github.io/xeokit-sdk/docs/class/src/plugins/GLTFLoaderPlugin/GLTFLoaderPlugin.js~GLTFLoaderPlugin.html">GLTFLoaderPlugin</a>
</li>
</ul>
<h5>Tools used</h5>
<ul>
<li><a href="http://lasopenshell.org/lasconvert">LasConvert</a> (MIT, from
<a href="http://lasopenshell.org/">LasOpenShell</a>)
</li>
<li><a href="https://github.com/bimspot/xeokit-metadata">xeokit-metadata</a> <i>(MIT License, from
<a href="https://bimspot.io">BIMSpot</a></i>)
</li>
<li><a href="https://github.com/xeokit/xeokit-convert">convert2xkt</a> (AGPL3, from
<a href="https://xeokit.io">xeokit SDK</a>)
</li>
</ul>
<h5>More info</h5>
<ul>
<li>Tutorial:
<a href="https://www.notion.so/xeokit/Converting-glTF-Models-to-XKT-using-Open-Source-Tools-A-Simpler-Pipeline-02d45ba457eb4f808f63bcacb71a4fb3">Converting
glTF Models to XKT using Open Source Tools - A Simpler Pipeline</a>
</li>
</ul>
</div>
</div>
</div>
</section>
<section class="main-section alabaster" id="xeokitMultiFormatPipeline">
<div class="container">
<div class="row no-gutters">
<div class="col-md-12">
<h1 class="mb-4 center-text">Community Multi-Format Conversion Pipeline</h1>
</div>
</div>
<div class="row no-gutters">
<div class="col-md-5">
<img alt="..." class="card-img" src="./img/pipeline-gltf-community2.png">
</div>
<div class="col-md-7">
<br><br>
<p class="mb-4">Convert multiple source formats into <code>.xkt</code> in a single step.</p>
<h5>Features</h5>
<ul>
<li>Converts <code>.gltf</code>, <code>.glb</code>, <code>.gltf</code>,
<code>.laz</code>, CityJSON and small <code>.gltf</code> files to <code>.xkt</code></li>
<li>Don't use with large <code>.gltf</code> files</li>
<li>Open source under AGPL3</li>
<li>Internally uses <a href="https://github.com/LASjs/web-gltf">web-gltf</a> when converting <code>.gltf</code>.
</li>
<li>Creates no intermediate files</li>
<li>View the <code>.xkt</code> in a xeokit
<a href="https://xeokit.github.io/xeokit-sdk/docs/class/src/viewer/Viewer.js~Viewer.html">Viewer</a>
using an
<a href="https://xeokit.github.io/xeokit-sdk/docs/class/src/plugins/XKTLoaderPlugin/XKTLoaderPlugin.js~XKTLoaderPlugin.html">XKTLoaderPlugin</a>
</li>
</ul>
<h5>Tools used</h5>
<ul>
<li><a href="https://github.com/xeokit/xeokit-convert">convert2xkt</a> (AGPL3, from
<a href="https://xeokit.io">xeokit SDK</a>)
</li>
</ul>
<h5>More info</h5>
<ul>
<li>Tutorial:
<a href="https://www.notion.so/xeokit/Converting-Models-to-XKT-with-convert2xkt-fa567843313f4db8a7d6535e76da9380">Converting
Models to XKT with convert2xkt</a>
</li>
</ul>
</div>
</div>
</div>
</section>
<footer class="py-5 bg-dark xeokit-footer">
<div class="container pt-5">
<div class="row">
<div class="col-md-4 col-sm-12 mb-3 text-left">
<h2>xeokit SDK</h2>
<p>Powering Engineering Graphics on the Web</p>
<img src="./img/xeokitLogoAlphaBG.png">
</div>
<div class="col-md-8 col-sm-12">
<div class="col-md-4 col-sm-6 col-6 p-0 float-left mb-3">
<h5 class="mb-4 font-weight-bold text-uppercase ">Learn</h5>
<ul class="list-group">
<li class="list-group-item bg-transparent border-0 p-0 mb-2"><a
href="https://xeokit.io/index.html#features">Features</a></li>
<li class="list-group-item bg-transparent border-0 p-0 mb-2 "><a
href="https://xeokit.io/demo.html?projectId=OTCConferenceCenter&tab=storeys">Demo</a></li>
<li class="list-group-item bg-transparent border-0 p-0 mb-2 "><a
href="https://xeokit.io/blog.html">Blog</a></li>
<li class="list-group-item bg-transparent border-0 p-0 mb-2"><a
href="https://xeokit.io/index.html#pricing">Pricing</a></li>
<li class="list-group-item bg-transparent border-0 p-0 mb-2"><a
href="https://xeokit.io/index.html#faq">FAQ</a></li>
</ul>
</div>
<div class="col-md-4 col-sm-6 col-6 p-0 mb-3 float-left">
<h5 class="mb-4 font-weight-bold text-uppercase ">Develop</h5>
<ul class="list-group">
<li class="list-group-item bg-transparent border-0 p-0 mb-2"><a
href="https://xeokit.io/download.html">Download</a></li>
<li class="list-group-item bg-transparent border-0 p-0 mb-2"><a
href="https://xeokit.github.io/xeokit-sdk/examples/">Examples</a></li>
<li class="list-group-item bg-transparent border-0 p-0 mb-2"><a
href="https://xeokit.github.io/xeokit-sdk/docs/">API Docs</a></li>
<li class="list-group-item bg-transparent border-0 p-0 mb-2"><a
href="https://github.com/xeokit">Source Code</a></li>
<li class="list-group-item bg-transparent border-0 p-0 mb-2"><a
href="https://www.notion.so/xeokit">Tutorials</a></li>
<li class="list-group-item bg-transparent border-0 p-0 mb-2"><a
href="https://github.com/xeokit/xeokit-sdk/issues">Issues</a></li>
<li class="list-group-item bg-transparent border-0 p-0 mb-2"><a
href="https://xeokit.github.io/xeokit-model-conversion-tests/index.html">Model Conversion</a></li>
</ul>
</div>
<div class="col-md-4 col-sm-6 col-6 mb-3 p-0 float-left">
<h5 class="mb-4 font-weight-bold text-uppercase ">Connect</h5>
<ul class="list-group">
<li class="list-group-item bg-transparent border-0 p-0 mb-2">
<a href="http://www.xeolabs.com"><i class="fa fa-globe mr-1"></i>
xeolabs.com</a>
</li>
<li class="list-group-item bg-transparent border-0 p-0 mb-2">
<a href="https://www.linkedin.com/company/xeolabs"><i class="fa fa-linkedin mr-1"></i>
LinkedIn</a>
</li>
<li class="list-group-item bg-transparent border-0 p-0 mb-2">
<a href="https://github.com/xeolabs" target="_code"><i class="fa fa-github mr-1"></i>
Github</a>
</li>
</ul>
</div>
</div>
<div class="col-md-12">
<div class="py-4 d-flex justify-content-center align-items-center">
<p class="m-0 text-center">Copyright © <a href="http://xeolabs.com">xeolabs</a> 2021</p>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>