fl-web-component 2.0.19-beta.1 → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fl-web-component.common.1.js.map +1 -1
- package/dist/fl-web-component.common.2.js.map +1 -1
- package/dist/fl-web-component.common.js +868 -1050
- package/dist/fl-web-component.common.js.map +1 -1
- package/dist/fl-web-component.css +1 -1
- package/package.json +3 -4
- package/packages/components/com-graphics/box.json +77 -0
- package/packages/components/com-graphics/index.vue +6 -75
- package/packages/utils/StreamLoader.js +107 -250
- package/packages/utils/StreamLoaderParser.worker.js +76 -184
- package/src/utils/flgltf-parser.js +9 -21
- package/src/utils/instance-parser.js +75 -75
- package/packages/components/com-graphics/mock.json +0 -115
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"material": [
|
|
3
|
-
{
|
|
4
|
-
"id": "2:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
5
|
-
"color": [0, 0, 0, 1],
|
|
6
|
-
"visible": true,
|
|
7
|
-
"transp": 0,
|
|
8
|
-
"documentId": "33ffd3ca-2567-48fe-9651-c8db640f4414"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"id": "5:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
12
|
-
"color": [0, 0, 0, 1],
|
|
13
|
-
"visible": true,
|
|
14
|
-
"transp": 0,
|
|
15
|
-
"documentId": "33ffd3ca-2567-48fe-9651-c8db640f4414"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"mergeMaterial": [],
|
|
19
|
-
"primitive": [
|
|
20
|
-
{
|
|
21
|
-
"id": "5_0:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
22
|
-
"documentId": "33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
23
|
-
"material": "5:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
24
|
-
"geomText": "",
|
|
25
|
-
"isCompressed": 0,
|
|
26
|
-
"position": [40, 1030, 0, 40, -970, 0],
|
|
27
|
-
"normal": [],
|
|
28
|
-
"indices": [],
|
|
29
|
-
"dataType": "00111",
|
|
30
|
-
"min": [40, -970, 0],
|
|
31
|
-
"max": [40, 1030, 0],
|
|
32
|
-
"geomType": 57351
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"id": "5_1:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
36
|
-
"documentId": "33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
37
|
-
"material": "5:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
38
|
-
"geomText": "",
|
|
39
|
-
"isCompressed": 0,
|
|
40
|
-
"position": [-460, 30, 0, 540, 30, 0],
|
|
41
|
-
"normal": [],
|
|
42
|
-
"indices": [],
|
|
43
|
-
"dataType": "00111",
|
|
44
|
-
"min": [-460, -970, 0],
|
|
45
|
-
"max": [540, 1030, 0],
|
|
46
|
-
"geomType": 57351
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"id": "5_2:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
50
|
-
"documentId": "33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
51
|
-
"material": "5:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
52
|
-
"geomText": "",
|
|
53
|
-
"isCompressed": 0,
|
|
54
|
-
"position": [40, 1030, 0, 35, 990, 0],
|
|
55
|
-
"normal": [],
|
|
56
|
-
"indices": [],
|
|
57
|
-
"dataType": "00111",
|
|
58
|
-
"min": [-460, -970, 0],
|
|
59
|
-
"max": [540, 1030, 0],
|
|
60
|
-
"geomType": 57351
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"id": "5_3:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
64
|
-
"documentId": "33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
65
|
-
"material": "5:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
66
|
-
"geomText": "",
|
|
67
|
-
"isCompressed": 0,
|
|
68
|
-
"position": [40, 1030, 0, 45, 990, 0],
|
|
69
|
-
"normal": [],
|
|
70
|
-
"indices": [],
|
|
71
|
-
"dataType": "00111",
|
|
72
|
-
"min": [-460, -970, 0],
|
|
73
|
-
"max": [540, 1030, 0],
|
|
74
|
-
"geomType": 57351
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
"mesh": [
|
|
78
|
-
{
|
|
79
|
-
"id": "5:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
80
|
-
"documentId": "33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
81
|
-
"primitives": [
|
|
82
|
-
{
|
|
83
|
-
"prmid": "5_0:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
84
|
-
"matrix": [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1],
|
|
85
|
-
"min": [-460, -970, 0],
|
|
86
|
-
"max": [540, 1030, 0]
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"prmid": "5_1:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
90
|
-
"matrix": [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1],
|
|
91
|
-
"min": [-460, -970, 0],
|
|
92
|
-
"max": [540, 1030, 0]
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"prmid": "5_2:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
96
|
-
"matrix": [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1],
|
|
97
|
-
"min": [-460, -970, 0],
|
|
98
|
-
"max": [540, 1030, 0]
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"prmid": "5_3:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
102
|
-
"matrix": [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1],
|
|
103
|
-
"min": [-460, -970, 0],
|
|
104
|
-
"max": [540, 1030, 0]
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"prmid": "5_4:33ffd3ca-2567-48fe-9651-c8db640f4414",
|
|
108
|
-
"matrix": [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1],
|
|
109
|
-
"min": [-460, -970, 0],
|
|
110
|
-
"max": [540, 1030, 0]
|
|
111
|
-
}
|
|
112
|
-
]
|
|
113
|
-
}
|
|
114
|
-
]
|
|
115
|
-
}
|