@realsee/dnalogel 0.1.3 → 0.1.4

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.
@@ -0,0 +1,55 @@
1
+ export declare const work: {
2
+ _signature: string;
3
+ allow_hosts: string[];
4
+ base_url: string;
5
+ certificate: string;
6
+ create_time: string;
7
+ expire_at: string;
8
+ initial: {
9
+ flag_position: number[];
10
+ fov: number;
11
+ heading: number;
12
+ latitude: number;
13
+ longitude: number;
14
+ pano: number;
15
+ pano_index: number;
16
+ };
17
+ model: {
18
+ file_url: string;
19
+ material_base_url: string;
20
+ material_textures: string[];
21
+ modify_time: string;
22
+ type: number;
23
+ };
24
+ observers: {
25
+ accessible_nodes: number[];
26
+ floor_index: number;
27
+ index: number;
28
+ offset_point_count: number;
29
+ position: number[];
30
+ quaternion: {
31
+ w: number;
32
+ x: number;
33
+ y: number;
34
+ z: number;
35
+ };
36
+ standing_position: number[];
37
+ visible_nodes: number[];
38
+ }[];
39
+ panorama: {
40
+ count: number;
41
+ list: {
42
+ back: string;
43
+ down: string;
44
+ front: string;
45
+ index: number;
46
+ left: string;
47
+ right: string;
48
+ up: string;
49
+ }[];
50
+ };
51
+ picture_url: string;
52
+ title_picture_url: string;
53
+ vr_code: string;
54
+ vr_type: string;
55
+ };
@@ -0,0 +1,348 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.work = void 0;
7
+ var work = {
8
+ _signature: 'jaPFmHdGbZbVMG3xG9pvme5lA/AlNOS4irZZWPLZ9CmQyZS1zeSG7zRv1fbnJ6I43Rt8xM26sNbzlrh78oCAdeinCrB6yIRTiuagjQ64TtpMFDsHwArZ3ppx+vzIxDwaMhZnr46CWy0o+Kt2AjcXTICyCX1dYKKVcpvct/4mx7Q=',
9
+ allow_hosts: ['*'],
10
+ base_url: 'https://vrlab-public.ljcdn.com/release/auto3dhd/9380ce27b46cbc5ba8d47fcf0e4c9e4f/',
11
+ certificate: '-----BEGIN CERTIFICATE-----\nMIIEMzCCAhsCCQDYAS/7ATZRmTANBgkqhkiG9w0BAQsFADCBkzELMAkGA1UEBhMC\nQ04xEDAOBgNVBAgMB0JlaWppbmcxEDAOBgNVBAcMB0JlaWppbmcxFDASBgNVBAoM\nC2xpYW5qaWEuY29tMRAwDgYDVQQLDAdSZWFsc2VlMREwDwYDVQQDDAhIYXJkd2Fy\nZTElMCMGCSqGSIb3DQEJARYWbml1aGFpcWluZ0BsaWFuamlhLmNvbTAeFw0yMTA5\nMTAwNTIwMDBaFw0zMTA5MDgwNTIwMDBaMIGmMQswCQYDVQQGEwJDTjEQMA4GA1UE\nCAwHQmVpSmluZzEQMA4GA1UEBwwHQmVpSmluZzEQMA4GA1UECgwHUmVhbHNlZTEZ\nMBcGA1UECwwQUmVhbHNlZUFwcEdldHdheTEgMB4GA1UEAwwXYXBwLWdhdGV3YXku\ncmVhbHNlZS5jb20xJDAiBgkqhkiG9w0BCQEWFWRldmVsb3BlckByZWFsc2VlLmNv\nbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuv/y3Ezsy/wh3LCA8vomPbgI\nSO9iO5kyR+oAetklD+epMU6J/ZbvTDEomZxuS5iyyKGBupzAh2ZFLIy7tsE71Vx1\nIIvT7Kdyq66lMU4YzdrpKUcxv7oOQnO8DA1orKluNa4jkyXBywHKs/Q+20LVc+RD\ngKXqFGJUdo8mAxEScs0CAwEAATANBgkqhkiG9w0BAQsFAAOCAgEAkMxsU4VLPd4J\n0rElBNBIyqPtvnlTs6VkhIK0l4oM58wtDKc1uG9UPSX5j29NguZM6LOe0jCsU2Vg\nEpUseMWQjx4o2yBg7MokQyjWc1zu6PppKhQ+RqHQy/biJ2zsIMpX3oMASXffvnW5\nn4Bjyo1JdDJiLm1fLvLlVVxQoraJD+rtpqWDEYixGVREUo5OIL5Y5dVjkHG2r9RQ\nQuu3yEiyr9gAW8yhz3YR6/sJ6boyGK8NC0v8Jih7NnCdT+9ML+3jn3P5F3TeXdSf\nVeYIm5oWAOTe3AjjKP8ARMb2RYACjg80/AcowD/dvRRjbwQmyucUNug2pXJynXpD\nNfx1IBmUmzSAT1Z5yNuY/f3VRBJvmIQ6Jpmef+g0/wUJpyS4SObguItyYlFPLqRH\nK1oKqNX/uV0GWWEQl6Lml986TzlHxc4ljtHBhjzlKYIYYZLWWipk4JiB8hxJcTK+\ncrgvclEQSxFlmAyoqxYFClrOOsPqZJdBhDTvoUWnnWuJLQt7DLHpyInp+S75Gg3o\n0zgHpt9m26B3YbjQGYMQlYmhl2VLQa+Ey0W8UZQXLcTvoRT4p+8crqr6cNNsxCyZ\nm08vBbEMIMvhBeLQvpM75oaMBmelegipFl2eelxVIHdGJWoyJSZQUdXN0uSidhZp\nI7AIgzhqK1Ku/IXK0OSXJonn+/9X/VI=\n-----END CERTIFICATE-----',
12
+ create_time: '2020-07-29T15:18:06+08:00',
13
+ expire_at: '1955439297523',
14
+ initial: {
15
+ flag_position: [-1.8683282713225706, -1.1184803014502747, -2.536637882840082],
16
+ fov: 95,
17
+ heading: 0,
18
+ latitude: 0,
19
+ longitude: 5.58602282229265,
20
+ pano: 4,
21
+ pano_index: 4
22
+ },
23
+ model: {
24
+ file_url: 'model/auto3d-syVb5hzy8ZL1gZut_VvGDo.at3d',
25
+ material_base_url: 'materials/',
26
+ material_textures: ['texture_0.jpg', 'texture_1.jpg', 'texture_2.jpg', 'texture_3.jpg', 'texture_4.jpg', 'texture_5.jpg', 'texture_6.jpg', 'texture_7.jpg', 'texture_8.jpg'],
27
+ modify_time: '2020-07-29T15:37:17+08:00',
28
+ type: 0
29
+ },
30
+ observers: [{
31
+ accessible_nodes: [1, 2, 3, 4, 6, 7, 8],
32
+ floor_index: 0,
33
+ index: 0,
34
+ offset_point_count: 551,
35
+ position: [-2.9148900508880615, 0, 1.392490029335022],
36
+ quaternion: {
37
+ w: 0.44238951628615497,
38
+ x: -0.0011834399273419546,
39
+ y: -0.8968221073969266,
40
+ z: -0.00045692663054024737
41
+ },
42
+ standing_position: [-2.9148900508880615, -1.1193245547539874, 1.392490029335022],
43
+ visible_nodes: [1, 2, 3, 4, 6, 7, 8]
44
+ }, {
45
+ accessible_nodes: [0, 2, 3, 4],
46
+ floor_index: 0,
47
+ index: 1,
48
+ offset_point_count: 1382,
49
+ position: [-1.780460000038147, -0.00217098998837173, 4.450079917907715],
50
+ quaternion: {
51
+ w: 0.46776604948048534,
52
+ x: -0.0011699393533674196,
53
+ y: -0.883851410579187,
54
+ z: -0.000490464139922521
55
+ },
56
+ standing_position: [-1.780460000038147, -1.1214462854241507, 4.450079917907715],
57
+ visible_nodes: [0, 2, 3, 4]
58
+ }, {
59
+ accessible_nodes: [0, 1, 3, 4],
60
+ floor_index: 0,
61
+ index: 2,
62
+ offset_point_count: 378,
63
+ position: [-1.3428200483322144, -0.0028426700737327337, 6.358610153198242],
64
+ quaternion: {
65
+ w: 0.6069850728938949,
66
+ x: -0.001073151580086956,
67
+ y: -0.7947122170838032,
68
+ z: -0.0006765059598702671
69
+ },
70
+ standing_position: [-1.3428200483322144, -1.1225737228916606, 6.358610153198242],
71
+ visible_nodes: [0, 1, 3, 4]
72
+ }, {
73
+ accessible_nodes: [0, 1, 2, 4, 6, 7, 8],
74
+ floor_index: 0,
75
+ index: 3,
76
+ offset_point_count: 0,
77
+ position: [-2.554189920425415, -0.005082080140709877, 6.343259811401367],
78
+ quaternion: {
79
+ w: -0.030997155509175898,
80
+ x: -0.0033666821765646494,
81
+ y: -0.9994984128781037,
82
+ z: -0.005546881036692224
83
+ },
84
+ standing_position: [-2.554189920425415, -1.1224907918710612, 6.343259811401367],
85
+ visible_nodes: [0, 1, 2, 4, 6, 7, 8]
86
+ }, {
87
+ accessible_nodes: [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11],
88
+ floor_index: 0,
89
+ index: 4,
90
+ offset_point_count: 941,
91
+ position: [-2.91471004486084, -0.0003035110130440444, 0.06049229949712753],
92
+ quaternion: {
93
+ w: 0.0513025987418296,
94
+ x: -0.0012676475973127641,
95
+ y: -0.9986823460816978,
96
+ z: 0.00004879134915086605
97
+ },
98
+ standing_position: [-2.91471004486084, -1.1184803014502747, 0.06049229949712753],
99
+ visible_nodes: [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11]
100
+ }, {
101
+ accessible_nodes: [4, 6, 9, 10],
102
+ floor_index: 0,
103
+ index: 5,
104
+ offset_point_count: 863,
105
+ position: [-1.0017000436782837, -0.005517140030860901, -1.6075899600982666],
106
+ quaternion: {
107
+ w: -0.0344319061946854,
108
+ x: -0.001258810265919515,
109
+ y: -0.9994062434209862,
110
+ z: 0.0001571970577815824
111
+ },
112
+ standing_position: [-1.0017000436782837, -1.1178040247150276, -1.6075899600982666],
113
+ visible_nodes: [4, 6, 9, 10]
114
+ }, {
115
+ accessible_nodes: [0, 3, 4, 5, 7, 8],
116
+ floor_index: 0,
117
+ index: 6,
118
+ offset_point_count: 1322,
119
+ position: [-2.846139907836914, -0.001211759983561933, -3.169840097427368],
120
+ quaternion: {
121
+ w: 0.32066123052403445,
122
+ x: -0.0012332355032137405,
123
+ y: -0.9471930957831524,
124
+ z: -0.00029739399948980815
125
+ },
126
+ standing_position: [-2.846139907836914, -1.1164889512469, -3.169840097427368],
127
+ visible_nodes: [0, 3, 4, 5, 7, 8]
128
+ }, {
129
+ accessible_nodes: [0, 3, 4, 6, 8],
130
+ floor_index: 0,
131
+ index: 7,
132
+ offset_point_count: 2356,
133
+ position: [-3.0448501110076904, -0.0010134399635717273, -4.505109786987305],
134
+ quaternion: {
135
+ w: 0.49087982982843503,
136
+ x: -0.001156616652291604,
137
+ y: -0.8712263733357108,
138
+ z: -0.0005211039435373182
139
+ },
140
+ standing_position: [-3.0448501110076904, -1.11562920091362, -4.505109786987305],
141
+ visible_nodes: [0, 3, 4, 6, 8]
142
+ }, {
143
+ accessible_nodes: [0, 3, 4, 6, 7],
144
+ floor_index: 0,
145
+ index: 8,
146
+ offset_point_count: 234,
147
+ position: [-2.9152801036834717, -0.01438829954713583, -6.370659828186035],
148
+ quaternion: {
149
+ w: -0.30469427695314993,
150
+ x: 0.0033588028429806095,
151
+ y: -0.952412964681632,
152
+ z: -0.007724194714338225
153
+ },
154
+ standing_position: [-2.9152801036834717, -1.1144715989725875, -6.370659828186035],
155
+ visible_nodes: [0, 3, 4, 6, 7]
156
+ }, {
157
+ accessible_nodes: [4, 5, 10, 11, 12, 13],
158
+ floor_index: 0,
159
+ index: 9,
160
+ offset_point_count: 4886,
161
+ position: [-4.0423102378845215, 0.003333129920065403, -0.03953389823436737],
162
+ quaternion: {
163
+ w: -0.18957592794754674,
164
+ x: 0.010895134657991246,
165
+ y: -0.9818002618819436,
166
+ z: -0.0032427031038127978
167
+ },
168
+ standing_position: [-4.0423102378845215, -1.118231507556375, -0.03953389823436737],
169
+ visible_nodes: [4, 5, 10, 11, 12, 13]
170
+ }, {
171
+ accessible_nodes: [4, 5, 9, 11],
172
+ floor_index: 0,
173
+ index: 10,
174
+ offset_point_count: 1773,
175
+ position: [-4.850550174713135, 0.004613489843904972, 0.1713390052318573],
176
+ quaternion: {
177
+ w: 0.12768161943121548,
178
+ x: -0.0012676586552423492,
179
+ y: -0.9918143930048722,
180
+ z: -0.00004849317962342722
181
+ },
182
+ standing_position: [-4.850550174713135, -1.1182253683511887, 0.1713390052318573],
183
+ visible_nodes: [4, 5, 9, 11]
184
+ }, {
185
+ accessible_nodes: [4, 9, 10],
186
+ floor_index: 0,
187
+ index: 11,
188
+ offset_point_count: 654,
189
+ position: [-5.53085994720459, -0.013371099717915058, -0.143778994679451],
190
+ quaternion: {
191
+ w: -0.0030183054753861976,
192
+ x: -0.00047414000140664293,
193
+ y: -0.9999897553992034,
194
+ z: -0.0033406236879980804
195
+ },
196
+ standing_position: [-5.53085994720459, -1.1179010210789888, -0.143778994679451],
197
+ visible_nodes: [4, 9, 10]
198
+ }, {
199
+ accessible_nodes: [9, 13],
200
+ floor_index: 0,
201
+ index: 12,
202
+ offset_point_count: 1237,
203
+ position: [-4.178860187530518, -0.013643399812281132, 1.3469799757003784],
204
+ quaternion: {
205
+ w: 0.06683888675991313,
206
+ x: -0.0047767000805582485,
207
+ y: -0.9977055393311836,
208
+ z: -0.00966420424898995
209
+ },
210
+ standing_position: [-4.178860187530518, -1.1190794461899993, 1.3469799757003784],
211
+ visible_nodes: [9, 13]
212
+ }, {
213
+ accessible_nodes: [9, 12],
214
+ floor_index: 0,
215
+ index: 13,
216
+ offset_point_count: 466,
217
+ position: [-4.963950157165527, -0.005961719900369644, 3.710700035095215],
218
+ quaternion: {
219
+ w: -0.19462188396064967,
220
+ x: 0.004454742146828046,
221
+ y: -0.9807853643462634,
222
+ z: -0.012749200565824454
223
+ },
224
+ standing_position: [-4.963950157165527, -1.12043610464341, 3.710700035095215],
225
+ visible_nodes: [9, 12]
226
+ }],
227
+ panorama: {
228
+ count: 14,
229
+ list: [{
230
+ back: 'images/cube_2048/0/9bf403506f2bc22eea0a81cdb09a8e22/0_b.jpg',
231
+ down: 'images/cube_2048/0/9bf403506f2bc22eea0a81cdb09a8e22/0_d.jpg',
232
+ front: 'images/cube_2048/0/9bf403506f2bc22eea0a81cdb09a8e22/0_f.jpg',
233
+ index: 0,
234
+ left: 'images/cube_2048/0/9bf403506f2bc22eea0a81cdb09a8e22/0_l.jpg',
235
+ right: 'images/cube_2048/0/9bf403506f2bc22eea0a81cdb09a8e22/0_r.jpg',
236
+ up: 'images/cube_2048/0/9bf403506f2bc22eea0a81cdb09a8e22/0_u.jpg'
237
+ }, {
238
+ back: 'images/cube_2048/1/cb8db51bc30afdd40cf6e4f3f7341c40/1_b.jpg',
239
+ down: 'images/cube_2048/1/cb8db51bc30afdd40cf6e4f3f7341c40/1_d.jpg',
240
+ front: 'images/cube_2048/1/cb8db51bc30afdd40cf6e4f3f7341c40/1_f.jpg',
241
+ index: 1,
242
+ left: 'images/cube_2048/1/cb8db51bc30afdd40cf6e4f3f7341c40/1_l.jpg',
243
+ right: 'images/cube_2048/1/cb8db51bc30afdd40cf6e4f3f7341c40/1_r.jpg',
244
+ up: 'images/cube_2048/1/cb8db51bc30afdd40cf6e4f3f7341c40/1_u.jpg'
245
+ }, {
246
+ back: 'images/cube_2048/2/67cdadb9caa0f844f56fee0aac7bb56d/2_b.jpg',
247
+ down: 'images/cube_2048/2/67cdadb9caa0f844f56fee0aac7bb56d/2_d.jpg',
248
+ front: 'images/cube_2048/2/67cdadb9caa0f844f56fee0aac7bb56d/2_f.jpg',
249
+ index: 2,
250
+ left: 'images/cube_2048/2/67cdadb9caa0f844f56fee0aac7bb56d/2_l.jpg',
251
+ right: 'images/cube_2048/2/67cdadb9caa0f844f56fee0aac7bb56d/2_r.jpg',
252
+ up: 'images/cube_2048/2/67cdadb9caa0f844f56fee0aac7bb56d/2_u.jpg'
253
+ }, {
254
+ back: 'images/cube_2048/3/791c38edaf6bbcc16e19682543745e9b/3_b.jpg',
255
+ down: 'images/cube_2048/3/791c38edaf6bbcc16e19682543745e9b/3_d.jpg',
256
+ front: 'images/cube_2048/3/791c38edaf6bbcc16e19682543745e9b/3_f.jpg',
257
+ index: 3,
258
+ left: 'images/cube_2048/3/791c38edaf6bbcc16e19682543745e9b/3_l.jpg',
259
+ right: 'images/cube_2048/3/791c38edaf6bbcc16e19682543745e9b/3_r.jpg',
260
+ up: 'images/cube_2048/3/791c38edaf6bbcc16e19682543745e9b/3_u.jpg'
261
+ }, {
262
+ back: 'images/cube_2048/4/ee318d536c51ef3de38c4aa059d65ef0/4_b.jpg',
263
+ down: 'images/cube_2048/4/ee318d536c51ef3de38c4aa059d65ef0/4_d.jpg',
264
+ front: 'images/cube_2048/4/ee318d536c51ef3de38c4aa059d65ef0/4_f.jpg',
265
+ index: 4,
266
+ left: 'images/cube_2048/4/ee318d536c51ef3de38c4aa059d65ef0/4_l.jpg',
267
+ right: 'images/cube_2048/4/ee318d536c51ef3de38c4aa059d65ef0/4_r.jpg',
268
+ up: 'images/cube_2048/4/ee318d536c51ef3de38c4aa059d65ef0/4_u.jpg'
269
+ }, {
270
+ back: 'images/cube_2048/5/b19d98dc23ec04d86df755dd1a15fdb3/5_b.jpg',
271
+ down: 'images/cube_2048/5/b19d98dc23ec04d86df755dd1a15fdb3/5_d.jpg',
272
+ front: 'images/cube_2048/5/b19d98dc23ec04d86df755dd1a15fdb3/5_f.jpg',
273
+ index: 5,
274
+ left: 'images/cube_2048/5/b19d98dc23ec04d86df755dd1a15fdb3/5_l.jpg',
275
+ right: 'images/cube_2048/5/b19d98dc23ec04d86df755dd1a15fdb3/5_r.jpg',
276
+ up: 'images/cube_2048/5/b19d98dc23ec04d86df755dd1a15fdb3/5_u.jpg'
277
+ }, {
278
+ back: 'images/cube_2048/6/b8f425e5f8943c38ad1386ab391b54bc/6_b.jpg',
279
+ down: 'images/cube_2048/6/b8f425e5f8943c38ad1386ab391b54bc/6_d.jpg',
280
+ front: 'images/cube_2048/6/b8f425e5f8943c38ad1386ab391b54bc/6_f.jpg',
281
+ index: 6,
282
+ left: 'images/cube_2048/6/b8f425e5f8943c38ad1386ab391b54bc/6_l.jpg',
283
+ right: 'images/cube_2048/6/b8f425e5f8943c38ad1386ab391b54bc/6_r.jpg',
284
+ up: 'images/cube_2048/6/b8f425e5f8943c38ad1386ab391b54bc/6_u.jpg'
285
+ }, {
286
+ back: 'images/cube_2048/7/a05b06a01171babb1aceb5aad8406ab8/7_b.jpg',
287
+ down: 'images/cube_2048/7/a05b06a01171babb1aceb5aad8406ab8/7_d.jpg',
288
+ front: 'images/cube_2048/7/a05b06a01171babb1aceb5aad8406ab8/7_f.jpg',
289
+ index: 7,
290
+ left: 'images/cube_2048/7/a05b06a01171babb1aceb5aad8406ab8/7_l.jpg',
291
+ right: 'images/cube_2048/7/a05b06a01171babb1aceb5aad8406ab8/7_r.jpg',
292
+ up: 'images/cube_2048/7/a05b06a01171babb1aceb5aad8406ab8/7_u.jpg'
293
+ }, {
294
+ back: 'images/cube_2048/8/2cd717b9c97f48ae79511855cc7e5138/8_b.jpg',
295
+ down: 'images/cube_2048/8/2cd717b9c97f48ae79511855cc7e5138/8_d.jpg',
296
+ front: 'images/cube_2048/8/2cd717b9c97f48ae79511855cc7e5138/8_f.jpg',
297
+ index: 8,
298
+ left: 'images/cube_2048/8/2cd717b9c97f48ae79511855cc7e5138/8_l.jpg',
299
+ right: 'images/cube_2048/8/2cd717b9c97f48ae79511855cc7e5138/8_r.jpg',
300
+ up: 'images/cube_2048/8/2cd717b9c97f48ae79511855cc7e5138/8_u.jpg'
301
+ }, {
302
+ back: 'images/cube_2048/9/0b634fe985df7011472b81c75babfd95/9_b.jpg',
303
+ down: 'images/cube_2048/9/0b634fe985df7011472b81c75babfd95/9_d.jpg',
304
+ front: 'images/cube_2048/9/0b634fe985df7011472b81c75babfd95/9_f.jpg',
305
+ index: 9,
306
+ left: 'images/cube_2048/9/0b634fe985df7011472b81c75babfd95/9_l.jpg',
307
+ right: 'images/cube_2048/9/0b634fe985df7011472b81c75babfd95/9_r.jpg',
308
+ up: 'images/cube_2048/9/0b634fe985df7011472b81c75babfd95/9_u.jpg'
309
+ }, {
310
+ back: 'images/cube_2048/10/40c1a6463b8c7462aadfca2a5f80f685/10_b.jpg',
311
+ down: 'images/cube_2048/10/40c1a6463b8c7462aadfca2a5f80f685/10_d.jpg',
312
+ front: 'images/cube_2048/10/40c1a6463b8c7462aadfca2a5f80f685/10_f.jpg',
313
+ index: 10,
314
+ left: 'images/cube_2048/10/40c1a6463b8c7462aadfca2a5f80f685/10_l.jpg',
315
+ right: 'images/cube_2048/10/40c1a6463b8c7462aadfca2a5f80f685/10_r.jpg',
316
+ up: 'images/cube_2048/10/40c1a6463b8c7462aadfca2a5f80f685/10_u.jpg'
317
+ }, {
318
+ back: 'images/cube_2048/11/9663b7885a119f2f06da06212986bc9b/11_b.jpg',
319
+ down: 'images/cube_2048/11/9663b7885a119f2f06da06212986bc9b/11_d.jpg',
320
+ front: 'images/cube_2048/11/9663b7885a119f2f06da06212986bc9b/11_f.jpg',
321
+ index: 11,
322
+ left: 'images/cube_2048/11/9663b7885a119f2f06da06212986bc9b/11_l.jpg',
323
+ right: 'images/cube_2048/11/9663b7885a119f2f06da06212986bc9b/11_r.jpg',
324
+ up: 'images/cube_2048/11/9663b7885a119f2f06da06212986bc9b/11_u.jpg'
325
+ }, {
326
+ back: 'images/cube_2048/12/01f84f2edd8642d0bf5e4874d01a28ac/12_b.jpg',
327
+ down: 'images/cube_2048/12/01f84f2edd8642d0bf5e4874d01a28ac/12_d.jpg',
328
+ front: 'images/cube_2048/12/01f84f2edd8642d0bf5e4874d01a28ac/12_f.jpg',
329
+ index: 12,
330
+ left: 'images/cube_2048/12/01f84f2edd8642d0bf5e4874d01a28ac/12_l.jpg',
331
+ right: 'images/cube_2048/12/01f84f2edd8642d0bf5e4874d01a28ac/12_r.jpg',
332
+ up: 'images/cube_2048/12/01f84f2edd8642d0bf5e4874d01a28ac/12_u.jpg'
333
+ }, {
334
+ back: 'images/cube_2048/13/e9ce1249af9000a33d566c653560c3d6/13_b.jpg',
335
+ down: 'images/cube_2048/13/e9ce1249af9000a33d566c653560c3d6/13_d.jpg',
336
+ front: 'images/cube_2048/13/e9ce1249af9000a33d566c653560c3d6/13_f.jpg',
337
+ index: 13,
338
+ left: 'images/cube_2048/13/e9ce1249af9000a33d566c653560c3d6/13_l.jpg',
339
+ right: 'images/cube_2048/13/e9ce1249af9000a33d566c653560c3d6/13_r.jpg',
340
+ up: 'images/cube_2048/13/e9ce1249af9000a33d566c653560c3d6/13_u.jpg'
341
+ }]
342
+ },
343
+ picture_url: 'https://vrlab-public.ljcdn.com/release/auto3dhd/9380ce27b46cbc5ba8d47fcf0e4c9e4f/screenshot/1596005211_4/pc0_3aoiit6zp.jpg',
344
+ title_picture_url: 'https://vrlab-public.ljcdn.com/release/auto3dhd/9380ce27b46cbc5ba8d47fcf0e4c9e4f/screenshot/1596005211_4/pc1_iQLf2N6a6_1.jpg',
345
+ vr_code: '8054djM0oR6ky3Ey8e',
346
+ vr_type: 'reality'
347
+ };
348
+ exports.work = work;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "0.1.3",
4
- "description": "Realsee Components(React) & Plugins(Five).",
3
+ "version": "0.1.4",
4
+ "description": "如视前端 Componets、Plugins 兼部分 SDKs \"Dnalogel\" 库。",
5
5
  "author": "BEIKE REALSEE TECHNOLOGY (HK) LIMITED",
6
6
  "peerDependencies": {
7
7
  "@realsee/five": "^5.0.0-alpha.52",
@@ -95,16 +95,16 @@ var PanoMaskSelectorPlugin = function PanoMaskSelectorPlugin(five) {
95
95
  }, _callee);
96
96
  }));
97
97
 
98
- return function load(_x) {
98
+ return function load(_x2) {
99
99
  return _ref.apply(this, arguments);
100
100
  };
101
101
  }();
102
102
 
103
103
  var select = /*#__PURE__*/function () {
104
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(x, y) {
104
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(_x, _y) {
105
105
  var _state$data;
106
106
 
107
- var element, pixel, renderTarget, pickingBuffer, camera, renderer, newScence, observer, newBox, unit8ArrayGroup, i, selectedColor, colorMaps, object;
107
+ var element, pixel, x, y, renderTarget, pickingBuffer, camera, renderer, newScence, observer, newBox, unit8ArrayGroup, i, selectedColor, colorMaps, object;
108
108
  return regeneratorRuntime.wrap(function _callee2$(_context2) {
109
109
  while (1) {
110
110
  switch (_context2.prev = _context2.next) {
@@ -141,17 +141,27 @@ var PanoMaskSelectorPlugin = function PanoMaskSelectorPlugin(five) {
141
141
  return _context2.abrupt("return", false);
142
142
 
143
143
  case 8:
144
+ if (five.renderer) {
145
+ _context2.next = 10;
146
+ break;
147
+ }
148
+
149
+ return _context2.abrupt("return", false);
150
+
151
+ case 10:
144
152
  element = five.getElement();
145
153
 
146
154
  if (element) {
147
- _context2.next = 11;
155
+ _context2.next = 13;
148
156
  break;
149
157
  }
150
158
 
151
159
  return _context2.abrupt("return", false);
152
160
 
153
- case 11:
161
+ case 13:
154
162
  pixel = 1;
163
+ x = _x * five.renderer.getPixelRatio();
164
+ y = _y * five.renderer.getPixelRatio();
155
165
  renderTarget = new THREE.WebGLRenderTarget(pixel, pixel);
156
166
  pickingBuffer = new Uint8Array(4 * pixel * pixel);
157
167
  camera = five.camera.clone();
@@ -183,20 +193,20 @@ var PanoMaskSelectorPlugin = function PanoMaskSelectorPlugin(five) {
183
193
  });
184
194
 
185
195
  if (object) {
186
- _context2.next = 34;
196
+ _context2.next = 38;
187
197
  break;
188
198
  }
189
199
 
190
200
  return _context2.abrupt("return", false);
191
201
 
192
- case 34:
202
+ case 38:
193
203
  state.box.material.forEach(function (m) {
194
204
  return m.uniforms.selectedColor.value = selectedColor;
195
205
  });
196
206
  five.needsRender = true;
197
207
  return _context2.abrupt("return", object);
198
208
 
199
- case 37:
209
+ case 41:
200
210
  case "end":
201
211
  return _context2.stop();
202
212
  }
@@ -204,7 +214,7 @@ var PanoMaskSelectorPlugin = function PanoMaskSelectorPlugin(five) {
204
214
  }, _callee2);
205
215
  }));
206
216
 
207
- return function select(_x2, _x3) {
217
+ return function select(_x3, _x4) {
208
218
  return _ref2.apply(this, arguments);
209
219
  };
210
220
  }();