Repository navigation
Expand file tree
/
Copy pathview.html
More file actions
1441 lines (1361 loc) · 79 KB
/
Copy pathview.html
File metadata and controls
1441 lines (1361 loc) · 79 KB
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
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<!-- connect-src carries `https:` (like /open/): the model, and the textures and
buffers a .gltf references, come from whatever host the link names. -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' 'wasm-unsafe-eval' https://www.googletagmanager.com; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https:; font-src 'self' data:; connect-src 'self' blob: https: https://www.google-analytics.com https://*.google-analytics.com https://*.analytics.google.com; worker-src 'self' blob:; base-uri 'self'; form-action 'self'; object-src 'none'">
<script>
(function() {
try {
var t = localStorage.getItem('sceneview-theme');
if (t !== 'dark' && t !== 'light') {
t = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
}
document.documentElement.setAttribute('data-theme', t);
} catch(e) {
document.documentElement.setAttribute('data-theme', 'dark');
}
})();
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<!-- Site analytics — GA4 loader shared by every static page (G-HX1JWGSMTH).
Synchronous on purpose: /go/* interstitials call gtag() right after it. -->
<script src="/assets/analytics.js"></script>
<title>3D Viewer — open a 3D model from a link | SceneView</title>
<meta name="description" content="Open a .glb, .gltf or .3mf model from any https link, in 3D in the browser and in AR on your phone. Free, no upload, no account.">
<meta name="robots" content="index, follow">
<link rel="canonical" href="https://sceneview.github.io/view">
<meta property="og:title" content="SceneView 3D Viewer — open a 3D model from a link">
<meta property="og:description" content="Paste the link of a .glb, .gltf or .3mf file and see it in 3D, then in AR on your phone.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://sceneview.github.io/view">
<meta property="og:image" content="https://sceneview.github.io/og-image.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta name="twitter:card" content="summary_large_image">
<meta name="theme-color" content="#005bc1">
<meta property="og:site_name" content="SceneView">
<meta property="og:locale" content="en_US">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="styles.css">
<style>
/* ===== 3D VIEWER BY LINK =====
Tokens come from styles.css (see DESIGN.md). The only page-local values are the
stage's: DESIGN.md `stage-studio-*`. The model stands in a lit photo studio that
follows the theme (SceneView `setStudio`): a bright seamless backdrop in light, a
charcoal showroom in dark. The stage ground, the loading veil and the pills over
the picture take the studio's colours, and the horizon band is the canvas clear
colour, so nothing changes tone when the 3D takes over. */
:root {
--vp-studio-top: #cdd3db;
--vp-studio-horizon: #e7eaef;
--vp-studio-floor: #f2f4f7;
--vp-studio-pool: #fdfdfe;
--vp-studio-glass: rgba(255, 255, 255, 0.72);
--vp-studio-glass-ring: rgba(30, 50, 86, 0.14);
--vp-radius-sm: 12px;
--vp-radius-md: 16px;
--vp-radius-xl: 28px;
--vp-danger: #ea4335;
}
[data-theme="dark"] {
--vp-studio-top: #0b0e13;
--vp-studio-horizon: #222833;
--vp-studio-floor: #2b323e;
--vp-studio-pool: #3a4250;
--vp-studio-glass: rgba(255, 255, 255, 0.14);
--vp-studio-glass-ring: rgba(255, 255, 255, 0.24);
}
.vp-stage, .vp-overlay {
/* The backdrop as the studio draws it: the wall darkening upwards from the
horizon, the floor below it, and the pool of light the model stands in. Shown
while the 3D starts and behind the veil. */
--vp-studio-ground:
radial-gradient(ellipse 62% 40% at 50% 64%, var(--vp-studio-pool), transparent),
linear-gradient(180deg, var(--vp-studio-top) 0%, var(--vp-studio-horizon) 30%,
var(--vp-studio-floor) 100%);
}
.vp-page {
padding-top: var(--nav-height);
min-height: 100vh;
}
.vp-container {
max-width: 960px;
margin: 0 auto;
padding: 24px var(--container-padding) 64px;
}
.vp-sr {
position: absolute; width: 1px; height: 1px; overflow: hidden;
clip: rect(0 0 0 0); white-space: nowrap;
}
[hidden] { display: none !important; }
/* ── Empty state ─────────────────────────────────────────────── */
.vp-empty { padding-top: 24px; }
.vp-title {
font-size: clamp(1.75rem, 6vw, 2.75rem);
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.1;
margin-bottom: 12px;
background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-tertiary) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.vp-lead {
font-size: clamp(1rem, 2vw, 1.125rem);
color: var(--color-on-surface-variant);
max-width: 620px;
margin-bottom: 24px;
}
.vp-form {
display: flex;
flex-direction: column;
gap: 8px;
}
.vp-input {
width: 100%;
min-height: 52px;
padding: 0 16px;
border-radius: var(--vp-radius-sm);
border: 1px solid var(--color-outline);
background: var(--color-surface-container-lowest);
color: var(--color-on-surface);
font: inherit;
font-size: 1rem;
}
.vp-input::placeholder { color: var(--color-on-surface-variant); opacity: 0.8; }
.vp-input:focus {
outline: 2px solid var(--color-primary);
outline-offset: 1px;
border-color: var(--color-primary);
}
.vp-input[aria-invalid="true"] { border-color: var(--vp-danger); }
.vp-form-error {
display: flex; gap: 8px; align-items: flex-start;
margin-top: 8px;
font-size: 0.9rem;
color: var(--color-on-surface);
}
.vp-form-error svg { flex-shrink: 0; color: var(--vp-danger); margin-top: 2px; }
.vp-privacy {
display: flex; gap: 8px; align-items: flex-start;
margin-top: 12px;
font-size: 0.85rem;
color: var(--color-on-surface-variant);
}
.vp-privacy svg { flex-shrink: 0; margin-top: 2px; }
.vp-section-title {
font-size: 1.125rem;
font-weight: 700;
letter-spacing: -0.01em;
margin: 40px 0 16px;
}
.vp-samples {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.vp-sample {
display: flex;
flex-direction: column;
border-radius: var(--vp-radius-md);
overflow: hidden;
background: var(--color-surface-container-low);
box-shadow: var(--shadow-card);
transition: transform var(--duration-short) var(--ease-spring);
}
.vp-sample:hover { transform: translateY(-2px); }
.vp-sample:active { transform: scale(0.97); }
.vp-sample:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.vp-sample img {
width: 100%;
aspect-ratio: 1;
object-fit: contain;
padding: 8%;
background: radial-gradient(circle at 50% 42%, var(--color-surface-container-lowest), var(--color-surface-container-high) 78%);
}
.vp-sample span {
display: flex;
flex-direction: column;
gap: 2px;
padding: 10px 12px;
font-size: 0.9rem;
font-weight: 600;
line-height: 1.25;
}
.vp-sample small {
font-size: 0.78rem;
font-weight: 500;
color: var(--color-on-surface-variant);
}
.vp-catalogue-lead {
margin: -8px 0 16px;
font-size: 0.95rem;
color: var(--color-on-surface-variant);
}
.vp-cats {
display: flex;
gap: 8px;
overflow-x: auto;
margin: 0 -16px 8px;
padding: 4px 16px 8px;
scrollbar-width: none;
}
.vp-cats::-webkit-scrollbar { display: none; }
.vp-cat-chip {
flex-shrink: 0;
min-height: 36px;
padding: 0 14px;
border-radius: 999px;
border: 1px solid var(--color-outline-variant);
background: var(--color-surface-container-low);
color: var(--color-on-surface);
font: inherit;
font-size: 0.875rem;
font-weight: 600;
cursor: pointer;
}
.vp-cat-chip[aria-pressed="true"] {
background: var(--color-secondary-container);
border-color: transparent;
color: var(--color-on-secondary-container);
}
.vp-cat-chip:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.vp-cat-title {
display: flex;
align-items: baseline;
gap: 8px;
margin: 24px 0 12px;
font-size: 1rem;
font-weight: 700;
}
.vp-cat-title span {
font-size: 0.8rem;
font-weight: 600;
color: var(--color-on-surface-variant);
}
.vp-cat[hidden] { display: none; }
.vp-format {
margin-top: 40px;
padding: 16px;
border-radius: var(--vp-radius-md);
background: var(--color-surface-container-low);
border: 1px solid var(--color-outline-variant);
font-size: 0.9rem;
color: var(--color-on-surface-variant);
}
.vp-format strong { color: var(--color-on-surface); }
.vp-format code {
display: block;
margin: 8px 0;
font-family: var(--font-mono);
font-size: 0.8rem;
color: var(--color-on-surface);
word-break: break-all;
}
/* ── Viewer state ────────────────────────────────────────────── */
.vp-stage {
position: relative;
width: 100%;
height: min(62vh, 520px);
min-height: 300px;
border-radius: var(--vp-radius-xl);
overflow: hidden;
background: var(--vp-studio-ground);
box-shadow: var(--shadow-card);
}
#vp-canvas {
width: 100%;
height: 100%;
display: block;
touch-action: none;
cursor: grab;
}
#vp-canvas:active { cursor: grabbing; }
.vp-overlay {
position: absolute;
inset: 0;
z-index: 2;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
padding: 24px;
text-align: center;
background: var(--vp-studio-ground);
color: var(--color-on-surface);
}
/* The veil lifts once the model is dressed, as the studio's camera moves in. */
.vp-overlay.is-leaving {
opacity: 0;
pointer-events: none;
transition: opacity var(--duration-medium) var(--ease-expressive);
}
.vp-overlay p { color: var(--color-on-surface-variant); font-size: 0.95rem; max-width: 440px; }
.vp-overlay strong { font-size: 1.125rem; font-weight: 700; }
.vp-overlay code {
font-family: var(--font-mono);
font-size: 0.75rem;
/* on-surface, not -variant: on the dark glass over the pool -variant is 4.3:1. */
color: var(--color-on-surface);
background: var(--vp-studio-glass);
padding: 6px 10px;
border-radius: 8px;
max-width: 100%;
word-break: break-all;
}
.vp-overlay .vp-error-icon { color: var(--vp-danger); }
.vp-spinner {
width: 36px; height: 36px;
border-radius: 50%;
border: 3px solid var(--vp-studio-glass-ring);
border-top-color: var(--color-on-surface);
animation: vp-spin 800ms linear infinite;
}
@keyframes vp-spin { to { transform: rotate(360deg); } }
.vp-hint {
position: absolute;
left: 50%; bottom: 12px;
transform: translateX(-50%);
z-index: 1;
padding: 6px 12px;
border-radius: 9999px;
background: var(--vp-studio-glass);
box-shadow: 0 0 0 1px var(--vp-studio-glass-ring);
color: var(--color-on-surface);
font-size: 0.8rem;
white-space: nowrap;
pointer-events: none;
transition: opacity var(--duration-medium) var(--ease-expressive);
}
.vp-hint.is-faded { opacity: 0; }
.vp-meta { margin: 20px 0 16px; min-width: 0; }
.vp-name {
font-size: clamp(1.25rem, 4vw, 1.75rem);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.2;
overflow-wrap: anywhere;
}
.vp-source {
margin-top: 4px;
font-size: 0.9rem;
color: var(--color-on-surface-variant);
overflow-wrap: anywhere;
}
.vp-actions {
display: flex;
flex-direction: column;
gap: 10px;
}
.vp-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 48px;
padding: 0 24px;
border-radius: 9999px;
font: inherit;
font-size: 1rem;
font-weight: 600;
text-align: center;
cursor: pointer;
transition: transform var(--duration-short) var(--ease-spring),
background var(--duration-short), box-shadow var(--duration-short);
}
.vp-btn:active { transform: scale(0.97); }
.vp-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.vp-btn--primary {
background: var(--color-primary);
color: var(--color-on-primary);
box-shadow: 0 2px 8px rgba(0, 91, 193, 0.3);
}
.vp-btn--primary:hover { background: var(--color-primary-dim); }
.vp-btn--tonal {
background: var(--color-surface-container);
color: var(--color-on-surface);
box-shadow: inset 0 0 0 1px var(--color-outline-variant);
}
.vp-btn--tonal:hover { background: var(--color-surface-container-high); }
.vp-btn--on-stage {
background: var(--vp-studio-glass);
color: var(--color-on-surface);
box-shadow: 0 0 0 1px var(--color-outline);
}
.vp-ar-note {
margin-top: 12px;
font-size: 0.9rem;
color: var(--color-on-surface-variant);
}
.vp-ar-note code { font-family: var(--font-mono); font-size: 0.8rem; }
.vp-qr {
margin-top: 16px;
display: flex;
gap: 16px;
align-items: center;
padding: 16px;
border-radius: var(--vp-radius-md);
background: var(--color-surface-container-low);
border: 1px solid var(--color-outline-variant);
}
.vp-qr__code {
flex-shrink: 0;
width: 144px; height: 144px;
padding: 8px;
background: #ffffff;
border-radius: var(--vp-radius-sm);
}
.vp-qr__code svg { width: 100%; height: 100%; display: block; }
.vp-qr p { font-size: 0.9rem; color: var(--color-on-surface-variant); }
.vp-qr strong { display: block; color: var(--color-on-surface); margin-bottom: 4px; }
.vp-footnote {
margin-top: 24px;
padding-top: 16px;
border-top: 1px solid var(--color-outline-variant);
display: flex;
flex-direction: column;
gap: 12px;
font-size: 0.85rem;
color: var(--color-on-surface-variant);
}
.vp-footnote a {
color: var(--color-primary);
font-weight: 600;
}
.vp-footnote a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vp-toast {
position: fixed;
left: 50%;
bottom: calc(24px + env(safe-area-inset-bottom, 0px));
transform: translate(-50%, 16px);
z-index: 120;
padding: 12px 20px;
border-radius: 9999px;
background: var(--color-inverse-surface);
color: var(--color-surface);
font-size: 0.9rem;
font-weight: 600;
opacity: 0;
pointer-events: none;
transition: opacity var(--duration-short), transform var(--duration-medium) var(--ease-spring);
}
.vp-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
/* ── Wider screens ───────────────────────────────────────────── */
@media (min-width: 600px) {
.vp-form { flex-direction: row; }
.vp-form .vp-btn { flex-shrink: 0; }
.vp-samples { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vp-cats { flex-wrap: wrap; overflow-x: visible; margin: 0 0 8px; padding: 4px 0 8px; }
.vp-actions { flex-direction: row; flex-wrap: wrap; }
.vp-footnote { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 900px) {
.vp-container { padding-top: 40px; }
.vp-stage { height: min(68vh, 600px); }
}
@media (prefers-reduced-motion: reduce) {
.vp-spinner { animation-duration: 2.4s; }
.vp-overlay.is-leaving { transition: none; }
.vp-sample:hover, .vp-sample:active, .vp-btn:active { transform: none; }
}
</style>
</head>
<body>
<nav class="nav" id="nav">
<div class="nav__container">
<a href="/" class="nav__brand" aria-label="SceneView SDK — home">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="28" height="28" aria-hidden="true" style="flex-shrink:0">
<defs>
<linearGradient id="navTopGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="#8AB4F8"/><stop offset="100%" stop-color="#42A5F5"/></linearGradient>
<linearGradient id="navRightGrad" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="#4A90D9"/><stop offset="100%" stop-color="#005BC1"/></linearGradient>
<linearGradient id="navLeftGrad" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="#005BC1"/><stop offset="100%" stop-color="#0D47A1"/></linearGradient>
</defs>
<polygon points="256,272 122,194 122,340 256,418" fill="url(#navLeftGrad)"/>
<polygon points="256,272 390,194 390,340 256,418" fill="url(#navRightGrad)"/>
<polygon points="256,126 390,204 256,282 122,204" fill="url(#navTopGrad)"/>
<polyline points="96,120 96,82 134,82" fill="none" stroke="#005BC1" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
<polyline points="416,120 416,82 378,82" fill="none" stroke="#005BC1" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
<polyline points="96,392 96,430 134,430" fill="none" stroke="#005BC1" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
<polyline points="416,392 416,430 378,430" fill="none" stroke="#005BC1" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<span>SceneView SDK</span>
</a>
<div class="nav__links" id="navLinks">
<a href="/#features" class="nav__link">Features</a>
<a href="/showcase.html" class="nav__link">Showcase</a>
<a href="/playground.html" class="nav__link">Playground</a>
<a href="/web-demo/" class="nav__link" target="_blank" rel="noopener">Web Demo</a>
<a href="/docs.html" class="nav__link" target="_blank" rel="noopener">Docs</a>
<button class="nav__theme-toggle" id="themeToggle" aria-label="Toggle dark mode">
<svg class="icon-sun" viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="5"/><path d="M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42"/>
</svg>
<svg class="icon-moon" viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/>
</svg>
</button>
</div>
<div class="nav__actions">
<a href="https://github.com/sceneview/sceneview" class="nav__icon-btn" target="_blank" rel="noopener" aria-label="View on GitHub">
<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" aria-hidden="true">
<path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z"/>
</svg>
</a>
<button class="nav__hamburger nav__hamburger--mobile" id="hamburgerMobile" aria-label="Toggle menu">
<span></span><span></span><span></span>
</button>
</div>
</div>
</nav>
<main class="vp-page">
<div class="vp-container">
<!-- ── Empty state: no ?url= ─────────────────────────────────── -->
<section id="vp-empty" class="vp-empty" aria-labelledby="vp-empty-title" hidden>
<h1 id="vp-empty-title" class="vp-title">Open a 3D model from a link</h1>
<p class="vp-lead">Paste the https link of a <strong>.glb</strong>, <strong>.gltf</strong> or <strong>.3mf</strong> file. It opens here in 3D, and in AR on your phone.</p>
<form id="vp-form" class="vp-form" novalidate>
<label for="vp-input" class="vp-sr">Link to a 3D model</label>
<input id="vp-input" class="vp-input" type="url" inputmode="url" name="url"
placeholder="https://example.com/model.glb"
autocomplete="off" autocapitalize="off" spellcheck="false"
aria-describedby="vp-form-error">
<button type="submit" class="vp-btn vp-btn--primary">Open in 3D</button>
</form>
<p id="vp-form-error" class="vp-form-error" role="alert" hidden>
<svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"/></svg>
<span id="vp-form-error-text"></span>
</p>
<p class="vp-privacy">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><rect x="4" y="11" width="16" height="10" rx="2"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/></svg>
<span>Your browser loads the file straight from where it is hosted. Nothing is uploaded to SceneView.</span>
</p>
<h2 class="vp-section-title">Or open a real product</h2>
<p class="vp-catalogue-lead">61 real products, each at its real-world size — open one in 3D, then place it in your room in AR.</p>
<div class="vp-cats" role="group" aria-label="Filter the catalogue">
<button type="button" class="vp-cat-chip" data-cat="all" aria-pressed="true">All</button>
<button type="button" class="vp-cat-chip" data-cat="furniture" aria-pressed="false">Furniture</button>
<button type="button" class="vp-cat-chip" data-cat="cars" aria-pressed="false">Cars</button>
<button type="button" class="vp-cat-chip" data-cat="bikes" aria-pressed="false">Bikes & scooters</button>
<button type="button" class="vp-cat-chip" data-cat="home" aria-pressed="false">Kitchen & home</button>
<button type="button" class="vp-cat-chip" data-cat="tech" aria-pressed="false">Tech</button>
<button type="button" class="vp-cat-chip" data-cat="fashion" aria-pressed="false">Fashion, sport & leisure</button>
<button type="button" class="vp-cat-chip" data-cat="history" aria-pressed="false">Space, museum & sci-fi</button>
</div>
<section class="vp-cat" data-cat="furniture" aria-labelledby="vp-cat-furniture">
<h3 id="vp-cat-furniture" class="vp-cat-title">Furniture <span>11</span></h3>
<ul class="vp-samples">
<li><a class="vp-sample" data-sample="ikea_nockeby_sofa.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fikea_nockeby_sofa.glb">
<img src="/models/platforms/thumbnails/ikea_nockeby_sofa.webp" alt="" width="256" height="256" loading="lazy"><span>IKEA NOCKEBY sofa<small>2.30 m</small></span></a></li>
<li><a class="vp-sample" data-sample="ikea_kallax_shelf.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fikea_kallax_shelf.glb">
<img src="/models/platforms/thumbnails/ikea_kallax_shelf.webp" alt="" width="256" height="256" loading="lazy"><span>IKEA KALLAX shelf<small>1.47 m</small></span></a></li>
<li><a class="vp-sample" data-sample="ikea_linnmon_alex_desk.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fikea_linnmon_alex_desk.glb">
<img src="/models/platforms/thumbnails/ikea_linnmon_alex_desk.webp" alt="" width="256" height="256" loading="lazy"><span>IKEA LINNMON / ALEX desk<small>1.50 m</small></span></a></li>
<li><a class="vp-sample" data-sample="ikea_trensum_mirror.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fikea_trensum_mirror.glb">
<img src="/models/platforms/thumbnails/ikea_trensum_mirror.webp" alt="" width="256" height="256" loading="lazy"><span>IKEA TRENSUM mirror<small>33 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="rivet_sloane_sofa.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Frivet_sloane_sofa.glb">
<img src="/models/platforms/thumbnails/rivet_sloane_sofa.webp" alt="" width="256" height="256" loading="lazy"><span>Rivet Sloane sofa<small>2.14 m</small></span></a></li>
<li><a class="vp-sample" data-sample="stone_beam_dalton_sofa.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fstone_beam_dalton_sofa.glb">
<img src="/models/platforms/thumbnails/stone_beam_dalton_sofa.webp" alt="" width="256" height="256" loading="lazy"><span>Stone & Beam Dalton sofa<small>2.37 m</small></span></a></li>
<li><a class="vp-sample" data-sample="rivet_aiden_armchair.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Frivet_aiden_armchair.glb">
<img src="/models/platforms/thumbnails/rivet_aiden_armchair.webp" alt="" width="256" height="256" loading="lazy"><span>Rivet Aiden armchair<small>93 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="wishbone_chair.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fwishbone_chair.glb">
<img src="/models/platforms/thumbnails/wishbone_chair.webp" alt="" width="256" height="256" loading="lazy"><span>Wishbone dining chair<small>74 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="rivet_arc_floor_lamp.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Frivet_arc_floor_lamp.glb">
<img src="/models/platforms/thumbnails/rivet_arc_floor_lamp.webp" alt="" width="256" height="256" loading="lazy"><span>Rivet arc floor lamp<small>1.93 m</small></span></a></li>
<li><a class="vp-sample" data-sample="rivet_anne_desk.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Frivet_anne_desk.glb">
<img src="/models/platforms/thumbnails/rivet_anne_desk.webp" alt="" width="256" height="256" loading="lazy"><span>Rivet Anne desk<small>1.57 m</small></span></a></li>
<li><a class="vp-sample" data-sample="rivet_media_console.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Frivet_media_console.glb">
<img src="/models/platforms/thumbnails/rivet_media_console.webp" alt="" width="256" height="256" loading="lazy"><span>Rivet media console<small>1.22 m</small></span></a></li>
</ul>
</section>
<section class="vp-cat" data-cat="cars" aria-labelledby="vp-cat-cars">
<h3 id="vp-cat-cars" class="vp-cat-title">Cars <span>4</span></h3>
<ul class="vp-samples">
<li><a class="vp-sample" data-sample="tesla_model_3.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Ftesla_model_3.glb">
<img src="/models/platforms/thumbnails/tesla_model_3.webp" alt="" width="256" height="256" loading="lazy"><span>Tesla Model 3<small>4.69 m</small></span></a></li>
<li><a class="vp-sample" data-sample="peugeot_2008.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fpeugeot_2008.glb">
<img src="/models/platforms/thumbnails/peugeot_2008.webp" alt="" width="256" height="256" loading="lazy"><span>Peugeot 2008<small>4.30 m</small></span></a></li>
<li><a class="vp-sample" data-sample="mini_cooper_s.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fmini_cooper_s.glb">
<img src="/models/platforms/thumbnails/mini_cooper_s.webp" alt="" width="256" height="256" loading="lazy"><span>MINI Cooper S<small>3.63 m</small></span></a></li>
<li><a class="vp-sample" data-sample="fiat_500_classic.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Ffiat_500_classic.glb">
<img src="/models/platforms/thumbnails/fiat_500_classic.webp" alt="" width="256" height="256" loading="lazy"><span>Fiat 500 (classic)<small>2.97 m</small></span></a></li>
</ul>
</section>
<section class="vp-cat" data-cat="bikes" aria-labelledby="vp-cat-bikes">
<h3 id="vp-cat-bikes" class="vp-cat-title">Bikes & scooters <span>4</span></h3>
<ul class="vp-samples">
<li><a class="vp-sample" data-sample="mongoose_tyax_mtb.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fmongoose_tyax_mtb.glb">
<img src="/models/platforms/thumbnails/mongoose_tyax_mtb.webp" alt="" width="256" height="256" loading="lazy"><span>Mongoose Tyax mountain bike<small>1.75 m</small></span></a></li>
<li><a class="vp-sample" data-sample="tier_escooter.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Ftier_escooter.glb">
<img src="/models/platforms/thumbnails/tier_escooter.webp" alt="" width="256" height="256" loading="lazy"><span>TIER e-scooter<small>1.15 m</small></span></a></li>
<li><a class="vp-sample" data-sample="vespa_et3.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fvespa_et3.glb">
<img src="/models/platforms/thumbnails/vespa_et3.webp" alt="" width="256" height="256" loading="lazy"><span>Vespa Primavera ET3<small>1.69 m</small></span></a></li>
<li><a class="vp-sample" data-sample="city_bike.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fcity_bike.glb">
<img src="/models/platforms/thumbnails/city_bike.webp" alt="" width="256" height="256" loading="lazy"><span>City bike<small>1.75 m</small></span></a></li>
</ul>
</section>
<section class="vp-cat" data-cat="home" aria-labelledby="vp-cat-home">
<h3 id="vp-cat-home" class="vp-cat-title">Kitchen & home <span>6</span></h3>
<ul class="vp-samples">
<li><a class="vp-sample" data-sample="kitchenaid_stand_mixer.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fkitchenaid_stand_mixer.glb">
<img src="/models/platforms/thumbnails/kitchenaid_stand_mixer.webp" alt="" width="256" height="256" loading="lazy"><span>KitchenAid stand mixer<small>53 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="smeg_toaster.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fsmeg_toaster.glb">
<img src="/models/platforms/thumbnails/smeg_toaster.webp" alt="" width="256" height="256" loading="lazy"><span>SMEG toaster<small>31 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="dyson_hot_cool_fan.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fdyson_hot_cool_fan.glb">
<img src="/models/platforms/thumbnails/dyson_hot_cool_fan.webp" alt="" width="256" height="256" loading="lazy"><span>Dyson Hot+Cool fan<small>63 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="amazonbasics_portable_ac.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Famazonbasics_portable_ac.glb">
<img src="/models/platforms/thumbnails/amazonbasics_portable_ac.webp" alt="" width="256" height="256" loading="lazy"><span>AmazonBasics portable AC<small>61 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="glass_kettle.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fglass_kettle.glb">
<img src="/models/platforms/thumbnails/glass_kettle.webp" alt="" width="256" height="256" loading="lazy"><span>Glass kettle<small>25 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="glass_door_fridge.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fglass_door_fridge.glb">
<img src="/models/platforms/thumbnails/glass_door_fridge.webp" alt="" width="256" height="256" loading="lazy"><span>Glass-door fridge<small>2.18 m</small></span></a></li>
</ul>
</section>
<section class="vp-cat" data-cat="tech" aria-labelledby="vp-cat-tech">
<h3 id="vp-cat-tech" class="vp-cat-title">Tech <span>18</span></h3>
<ul class="vp-samples">
<li><a class="vp-sample" data-sample="iphone_13_pro_max.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fiphone_13_pro_max.glb">
<img src="/models/platforms/thumbnails/iphone_13_pro_max.webp" alt="" width="256" height="256" loading="lazy"><span>iPhone 13 Pro Max<small>16 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="galaxy_s21_ultra.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fgalaxy_s21_ultra.glb">
<img src="/models/platforms/thumbnails/galaxy_s21_ultra.webp" alt="" width="256" height="256" loading="lazy"><span>Samsung Galaxy S21 Ultra<small>17 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="macbook_pro_13.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fmacbook_pro_13.glb">
<img src="/models/platforms/thumbnails/macbook_pro_13.webp" alt="" width="256" height="256" loading="lazy"><span>MacBook Pro 13"<small>30 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="ipad_mini_6.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fipad_mini_6.glb">
<img src="/models/platforms/thumbnails/ipad_mini_6.webp" alt="" width="256" height="256" loading="lazy"><span>iPad mini 6<small>20 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="apple_watch_series_7.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fapple_watch_series_7.glb">
<img src="/models/platforms/thumbnails/apple_watch_series_7.webp" alt="" width="256" height="256" loading="lazy"><span>Apple Watch Series 7<small>4.5 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="airpods_pro.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fairpods_pro.glb">
<img src="/models/platforms/thumbnails/airpods_pro.webp" alt="" width="256" height="256" loading="lazy"><span>AirPods Pro<small>8.0 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="nintendo_switch_oled.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fnintendo_switch_oled.glb">
<img src="/models/platforms/thumbnails/nintendo_switch_oled.webp" alt="" width="256" height="256" loading="lazy"><span>Nintendo Switch OLED<small>24 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="xbox_wireless_controller.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fxbox_wireless_controller.glb">
<img src="/models/platforms/thumbnails/xbox_wireless_controller.webp" alt="" width="256" height="256" loading="lazy"><span>Xbox Wireless Controller<small>16 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="sony_mdr_7506.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fsony_mdr_7506.glb">
<img src="/models/platforms/thumbnails/sony_mdr_7506.webp" alt="" width="256" height="256" loading="lazy"><span>Sony MDR-7506 headphones<small>22 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="skullcandy_crusher.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fskullcandy_crusher.glb">
<img src="/models/platforms/thumbnails/skullcandy_crusher.webp" alt="" width="256" height="256" loading="lazy"><span>Skullcandy Crusher headphones<small>19 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="jbl_tour_one_m3_v2.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fjbl_tour_one_m3_v2.glb">
<img src="/models/platforms/thumbnails/jbl_tour_one_m3_v2.webp" alt="" width="256" height="256" loading="lazy"><span>JBL Tour One M3 headphones<small>19 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="jbl_charge_speaker.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fjbl_charge_speaker.glb">
<img src="/models/platforms/thumbnails/jbl_charge_speaker.webp" alt="" width="256" height="256" loading="lazy"><span>JBL Charge speaker<small>18 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="ue_boom_speaker.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fue_boom_speaker.glb">
<img src="/models/platforms/thumbnails/ue_boom_speaker.webp" alt="" width="256" height="256" loading="lazy"><span>Ultimate Ears BOOM speaker<small>26 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="gopro_hero_8.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fgopro_hero_8.glb">
<img src="/models/platforms/thumbnails/gopro_hero_8.webp" alt="" width="256" height="256" loading="lazy"><span>GoPro HERO8<small>6.6 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="canon_eos_rp_v2.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fcanon_eos_rp_v2.glb">
<img src="/models/platforms/thumbnails/canon_eos_rp_v2.webp" alt="" width="256" height="256" loading="lazy"><span>Canon EOS RP camera<small>13 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="instax_mini_8.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Finstax_mini_8.glb">
<img src="/models/platforms/thumbnails/instax_mini_8.webp" alt="" width="256" height="256" loading="lazy"><span>Instax Mini 8 camera<small>12 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="dji_mavic_3_v2.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fdji_mavic_3_v2.glb">
<img src="/models/platforms/thumbnails/dji_mavic_3_v2.webp" alt="" width="256" height="256" loading="lazy"><span>DJI Mavic 3 drone<small>35 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="desktop_3d_printer.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fdesktop_3d_printer.glb">
<img src="/models/platforms/thumbnails/desktop_3d_printer.webp" alt="" width="256" height="256" loading="lazy"><span>Desktop 3D printer<small>45 cm</small></span></a></li>
</ul>
</section>
<section class="vp-cat" data-cat="fashion" aria-labelledby="vp-cat-fashion">
<h3 id="vp-cat-fashion" class="vp-cat-title">Fashion, sport & leisure <span>11</span></h3>
<ul class="vp-samples">
<li><a class="vp-sample" data-sample="air_jordan_1.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fair_jordan_1.glb">
<img src="/models/platforms/thumbnails/air_jordan_1.webp" alt="" width="256" height="256" loading="lazy"><span>Nike Air Jordan 1<small>30 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="nike_pegasus_36.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fnike_pegasus_36.glb">
<img src="/models/platforms/thumbnails/nike_pegasus_36.webp" alt="" width="256" height="256" loading="lazy"><span>Nike Air Zoom Pegasus 36<small>29 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="converse_chuck_taylor.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fconverse_chuck_taylor.glb">
<img src="/models/platforms/thumbnails/converse_chuck_taylor.webp" alt="" width="256" height="256" loading="lazy"><span>Converse Chuck Taylor<small>29 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="adidas_high_top.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fadidas_high_top.glb">
<img src="/models/platforms/thumbnails/adidas_high_top.webp" alt="" width="256" height="256" loading="lazy"><span>adidas high-top sneaker<small>30 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="reebok_fueltrain.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Freebok_fueltrain.glb">
<img src="/models/platforms/thumbnails/reebok_fueltrain.webp" alt="" width="256" height="256" loading="lazy"><span>Reebok FUELTRAIN<small>27 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="ugg_classic_tall.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fugg_classic_tall.glb">
<img src="/models/platforms/thumbnails/ugg_classic_tall.webp" alt="" width="256" height="256" loading="lazy"><span>UGG Classic Tall boot<small>33 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="jansport_backpack.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fjansport_backpack.glb">
<img src="/models/platforms/thumbnails/jansport_backpack.webp" alt="" width="256" height="256" loading="lazy"><span>JanSport backpack<small>44 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="rolex_watch_v2.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Frolex_watch_v2.glb">
<img src="/models/platforms/thumbnails/rolex_watch_v2.webp" alt="" width="256" height="256" loading="lazy"><span>Rolex watch<small>7.5 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="moto_helmet_v2.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fmoto_helmet_v2.glb">
<img src="/models/platforms/thumbnails/moto_helmet_v2.webp" alt="" width="256" height="256" loading="lazy"><span>Motorcycle helmet<small>33 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="tennis_racket.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Ftennis_racket.glb">
<img src="/models/platforms/thumbnails/tennis_racket.webp" alt="" width="256" height="256" loading="lazy"><span>Tennis racket<small>69 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="photorealistic_guitar_v2.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fphotorealistic_guitar_v2.glb">
<img src="/models/platforms/thumbnails/photorealistic_guitar_v2.webp" alt="" width="256" height="256" loading="lazy"><span>Electric guitar<small>1 m</small></span></a></li>
</ul>
</section>
<section class="vp-cat" data-cat="history" aria-labelledby="vp-cat-history">
<h3 id="vp-cat-history" class="vp-cat-title">Space, museum & sci-fi <span>7</span></h3>
<ul class="vp-samples">
<li><a class="vp-sample" data-sample="perseverance_rover.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fperseverance_rover.glb">
<img src="/models/platforms/thumbnails/perseverance_rover.webp" alt="" width="256" height="256" loading="lazy"><span>Perseverance Mars rover<small>3.11 m</small></span></a></li>
<li><a class="vp-sample" data-sample="bell_x1.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fbell_x1.glb">
<img src="/models/platforms/thumbnails/bell_x1.webp" alt="" width="256" height="256" loading="lazy"><span>Bell X-1 (1947)<small>10.41 m</small></span></a></li>
<li><a class="vp-sample" data-sample="triceratops_skeleton.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Ftriceratops_skeleton.glb">
<img src="/models/platforms/thumbnails/triceratops_skeleton.webp" alt="" width="256" height="256" loading="lazy"><span>Triceratops skeleton<small>5.88 m</small></span></a></li>
<li><a class="vp-sample" data-sample="fangyi_bronze.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Ffangyi_bronze.glb">
<img src="/models/platforms/thumbnails/fangyi_bronze.webp" alt="" width="256" height="256" loading="lazy"><span>Fangyi bronze vessel<small>35 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="canon_at1.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fcanon_at1.glb">
<img src="/models/platforms/thumbnails/canon_at1.webp" alt="" width="256" height="256" loading="lazy"><span>Canon AT-1 (1977)<small>14 cm</small></span></a></li>
<li><a class="vp-sample" data-sample="citroen_h_van.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fcitroen_h_van.glb">
<img src="/models/platforms/thumbnails/citroen_h_van.webp" alt="" width="256" height="256" loading="lazy"><span>Citroën H-style van<small>4.30 m</small></span></a></li>
<li><a class="vp-sample" data-sample="mech_drone.glb" href="?url=https%3A%2F%2Fsceneview.github.io%2Fmodels%2Fplatforms%2Fmech_drone.glb">
<img src="/models/platforms/thumbnails/mech_drone.webp" alt="" width="256" height="256" loading="lazy"><span>Mech drone (sci-fi)<small>60 cm</small></span></a></li>
</ul>
</section>
<div class="vp-format">
<strong>Share or generate a link</strong>
<code>https://sceneview.github.io/view?url=<encoded https link to a .glb, .gltf or .3mf></code>
Add <code style="display:inline">&usdz=<link to a .usdz></code> to open AR on iPhone and iPad. The file's host must allow cross-origin requests (CORS).
</div>
</section>
<!-- ── Viewer state: ?url= given ─────────────────────────────── -->
<section id="vp-viewer" aria-labelledby="vp-name" hidden>
<div class="vp-stage" id="vp-stage">
<canvas id="vp-canvas" aria-label="3D model — drag to orbit, scroll to zoom"></canvas>
<div id="vp-hint" class="vp-hint" hidden>Drag to orbit · scroll to zoom</div>
<div id="vp-loading" class="vp-overlay" role="status" aria-live="polite">
<div class="vp-spinner" aria-hidden="true"></div>
<p id="vp-loading-text">Loading the model…</p>
</div>
<div id="vp-error" class="vp-overlay" role="alert" hidden>
<svg class="vp-error-icon" viewBox="0 0 24 24" width="40" height="40" fill="currentColor" aria-hidden="true"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"/></svg>
<strong id="vp-error-title">This model could not be opened</strong>
<p id="vp-error-text"></p>
<code id="vp-error-url"></code>
<a class="vp-btn vp-btn--on-stage" id="vp-error-back" href="?">Open another link</a>
</div>
</div>
<div class="vp-meta">
<h1 id="vp-name" class="vp-name">3D model</h1>
<p id="vp-source" class="vp-source"></p>
</div>
<div class="vp-actions" id="vp-actions" hidden>
<button type="button" class="vp-btn vp-btn--primary" id="vp-ar" hidden>
<svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" aria-hidden="true"><path d="M12 2 3 7v10l9 5 9-5V7l-9-5Z"/><path d="m3 7 9 5 9-5M12 12v10"/></svg>
View in AR
</button>
<button type="button" class="vp-btn vp-btn--tonal" id="vp-copy">
<svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7"/><path d="M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7"/></svg>
Copy link
</button>
<a class="vp-btn vp-btn--tonal" id="vp-armv" hidden>Open in 3D AR Model Viewer</a>
</div>
<p id="vp-ar-note" class="vp-ar-note" hidden></p>
<div id="vp-qr" class="vp-qr" hidden>
<div class="vp-qr__code" id="vp-qr-code" aria-hidden="true"></div>
<p><strong>Scan with your phone</strong>This link opens the same model on your phone, where you can place it in your room in AR.</p>
</div>
<div class="vp-footnote">
<span>Fetched directly from <span id="vp-host">its host</span> by your browser. Nothing is uploaded to SceneView.</span>
<a href="?">Open another model</a>
</div>
</section>
</div>
</main>
<div id="vp-toast" class="vp-toast" role="status" aria-live="polite"></div>
<footer class="footer">
<div class="footer__container">
<div class="footer__grid">
<div class="footer__brand-col">
<div class="footer__brand-name">SceneView SDK</div>
<p class="footer__brand-desc">The architectural logic for building high-performance 3D spatial experiences across all modern platforms.</p>
<div class="footer__copyright">© 2026 SceneView SDK. Architectural Logic.</div>
</div>
<div class="footer__col">
<h4 class="footer__col-title">Documentation</h4>
<ul class="footer__col-list">
<li><a href="/docs.html" target="_blank" rel="noopener">Examples</a></li>
<li><a href="/showcase.html">Showcase</a></li>
<li><a href="/view.html">3D Viewer</a></li>
</ul>
</div>
<div class="footer__col">
<h4 class="footer__col-title">Community</h4>
<ul class="footer__col-list">
<li><a href="https://github.com/sceneview/sceneview" target="_blank" rel="noopener">GitHub</a></li>
<li><a href="https://discord.gg/UbNDDBTNqb" target="_blank" rel="noopener">Discord</a></li>
</ul>
</div>
<div class="footer__col">
<h4 class="footer__col-title">Legal</h4>
<ul class="footer__col-list">
<li><a href="/privacy.html">Privacy</a></li>
<li><a href="https://github.com/sceneview/sceneview/blob/main/LICENSE" target="_blank" rel="noopener">Terms</a></li>
<li><a href="https://github.com/sceneview/sceneview/blob/main/LICENSE" target="_blank" rel="noopener">License</a></li>
<li><a href="/credits.html">3D asset credits</a></li>
</ul>
</div>
</div>
</div>
</footer>
<script src="script.js"></script>
<!-- 3D viewer by link. No eval, no innerHTML from input: every string that comes
from the query string reaches the DOM through textContent or a validated URL. -->
<script>
(function () {
'use strict';
// Same pair /open/ loads: the site's Filament build and the sceneview.js viewer.
var VIEWER_SCRIPTS = ['/js/filament/filament.js', '/js/sceneview.js?v=4.56.0'];
// The compiled SceneView KMP core, loaded ONLY to convert a .3mf into a GLB
// (`sceneview.threeMfToGlb`), exactly as /open/ does. It never renders.
var THREEMF_SCRIPT = '/js/sceneview-web.js?v=4.34.0';
// The 3D AR Model Viewer app declares a verified App Link on https://ar.sceneview.dev/open?url=
// (VIEW + BROWSABLE, autoVerify), so an Android intent can hand it the model.
var ARMV_PACKAGE = 'com.gorisse.thomas.arcamera';
var ARMV_LINK_HOST = 'ar.sceneview.dev';
var MAX_URL_LENGTH = 2048;
var SUPPORTED = { glb: true, gltf: true, '3mf': true };
var KNOWN_UNSUPPORTED = { usdz: 1, usd: 1, obj: 1, stl: 1, fbx: 1, ply: 1, dae: 1, '3ds': 1, blend: 1, step: 1, stp: 1 };
var params = new URLSearchParams(location.search);
var rawUrl = (params.get('url') || '').trim();
var rawUsdz = (params.get('usdz') || '').trim();
var ua = navigator.userAgent || '';
var isAndroid = /Android/i.test(ua);
var isIOS = /iPad|iPhone|iPod/i.test(ua) ||
(navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);
var $ = function (id) { return document.getElementById(id); };
// ── URL validation ────────────────────────────────────────────────
// https only. The single exception is this page's own origin, so the samples it
// hosts also load when the site is served over plain http on a dev machine.
function checkModelUrl(raw) {
if (!raw) return { error: 'Paste the link to a .glb, .gltf or .3mf file.' };
if (raw.length > MAX_URL_LENGTH) return { error: 'This link is too long.' };
var candidate = raw;
if (!/^[a-z][a-z0-9+.-]*:/i.test(candidate)) candidate = 'https://' + candidate;
var parsed;
try { parsed = new URL(candidate); } catch (e) {
return { error: 'This is not a valid link.' };
}
var sameOrigin = parsed.origin === location.origin;
if (parsed.protocol !== 'https:' && !sameOrigin) {
return { error: parsed.protocol === 'http:'
? 'Only secure https:// links can be opened. Try the same link with https://.'
: 'Only https:// links to a 3D file can be opened.' };
}
if (parsed.username || parsed.password) {
return { error: 'Links with a user name or password cannot be opened.' };
}
return { url: parsed };
}
function extensionOf(url) {
var path = url.pathname.toLowerCase();
var dot = path.lastIndexOf('.');
var slash = path.lastIndexOf('/');
return dot > slash ? path.substring(dot + 1) : '';
}
function fileNameOf(url) {
var path = url.pathname;
var name = path.substring(path.lastIndexOf('/') + 1);
try { name = decodeURIComponent(name); } catch (e) { /* keep raw */ }
return name || url.hostname;
}
function shareUrlFor(modelUrl, usdzUrl) {
var base = location.hostname === 'sceneview.github.io'
? 'https://sceneview.github.io/view'
: location.origin + location.pathname;
var q = '?url=' + encodeURIComponent(modelUrl);
if (usdzUrl) q += '&usdz=' + encodeURIComponent(usdzUrl);
return base + q;
}
// ── Theme-aware stage ─────────────────────────────────────────────
// The studio follows the page theme: 'light' or 'dark' (SceneView setStudio()).
function stageStudio() {
return document.documentElement.getAttribute('data-theme') === 'dark' ? 'dark' : 'light';
}
// DESIGN.md `stage-studio-horizon`, as displayed (sRGB), read from the stage's own
// CSS token. The studio paints the whole frame; the clear colour shows only before
// it is built, or under a cached script that predates it.
function stageClearColor() {
var hex = getComputedStyle(document.documentElement).getPropertyValue('--vp-studio-horizon');
var m = /#([0-9a-f]{6})/i.exec(hex || '');
var n = parseInt(m ? m[1] : 'f2f4f7', 16);
return [(n >> 16 & 255) / 255, (n >> 8 & 255) / 255, (n & 255) / 255, 1.0];
}
// ── Script loading ────────────────────────────────────────────────
var viewerScripts = null;
var threeMfScript = null;
function loadScript(src) {
return new Promise(function (resolve, reject) {
var el = document.createElement('script');
el.src = src;
el.onload = function () { resolve(); };
el.onerror = function () { reject(new Error('failed to load ' + src)); };
document.head.appendChild(el);
});
}
function loadViewerScripts() {
if (!viewerScripts) {
viewerScripts = VIEWER_SCRIPTS.reduce(function (chain, src) {
return chain.then(function () { return loadScript(src); });
}, Promise.resolve());
}
return viewerScripts;
}
function fail(code, detail) {
var err = new Error(detail || code);
err.code = code;
return err;
}
// ── Download with progress ────────────────────────────────────────
function download(url, onProgress) {
return fetch(url, { mode: 'cors', credentials: 'omit', referrerPolicy: 'no-referrer' })
.catch(function () { throw fail('network'); })
.then(function (response) {
if (!response.ok) throw fail('http', String(response.status));
var total = Number(response.headers.get('content-length')) || 0;
if (!response.body || !response.body.getReader) return response.arrayBuffer();
var reader = response.body.getReader();
var chunks = [];
var received = 0;
function pump() {
return reader.read().then(function (step) {
if (step.done) {
var out = new Uint8Array(received);
var offset = 0;
chunks.forEach(function (c) { out.set(c, offset); offset += c.length; });
return out.buffer;
}
chunks.push(step.value);
received += step.value.length;
onProgress(received, total);
return pump();
});
}
return pump().catch(function (e) { if (e && e.code) throw e; throw fail('network'); });
});
}
// ── Format handling ───────────────────────────────────────────────
function sniff(buffer) {
var b = new Uint8Array(buffer, 0, Math.min(4, buffer.byteLength));
if (b.length === 4 && b[0] === 0x67 && b[1] === 0x6c && b[2] === 0x54 && b[3] === 0x46) return 'glb';
if (b.length === 4 && b[0] === 0x50 && b[1] === 0x4b && b[2] === 0x03 && b[3] === 0x04) return '3mf';
var head = new Uint8Array(buffer, 0, Math.min(64, buffer.byteLength));
for (var i = 0; i < head.length; i++) {
var c = head[i];
if (c === 0x20 || c === 0x09 || c === 0x0a || c === 0x0d || c === 0xef || c === 0xbb || c === 0xbf) continue;
return c === 0x7b ? 'gltf' : '';
}
return '';
}
function blobUrl(bytes, type) {
return URL.createObjectURL(new Blob([bytes], { type: type }));
}
// A .gltf names its buffers and textures relative to ITSELF, and Filament's own
// resource fetch starts decoding before the textures arrive ("Unable to load
// resources"). So this page downloads every buffer and image itself and packs the
// lot into one GLB, which then loads exactly like a .glb link. JSON.parse only.
function decodeDataUri(uri) {
var m = /^data:([^;,]*)((?:;[^;,]*)*?)(;base64)?,(.*)$/i.exec(uri);
if (!m) throw fail('parse');
if (!m[3]) return new TextEncoder().encode(decodeURIComponent(m[4]));