@yangyongtao/gaea 1.0.3 → 1.1.0
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/README.md +158 -67
- package/package.json +28 -7
- package/public/Gaea.apple-touch-icon.png +0 -0
- package/public/Gaea.apple-touch-icon.png.import +35 -0
- package/public/Gaea.audio.worklet.js +211 -0
- package/public/Gaea.html +245 -0
- package/public/Gaea.icon.png +0 -0
- package/public/Gaea.icon.png.import +35 -0
- package/public/Gaea.js +782 -0
- package/public/Gaea.png +0 -0
- package/public/Gaea.png.import +35 -0
- package/public/Gaea.worker.js +1 -0
- package/public/GaeaApp.html +275 -0
- package/public/GaeaMethods.js +4342 -0
- package/public/GaeaModule.html +276 -0
- package/public/config.js +76 -0
- package/public/constants.js +185 -0
- package/public/favicon.ico +0 -0
- package/public/image/1.png +0 -0
- package/public/image/12-min-min.gif +0 -0
- package/public/image/3.png +0 -0
- package/public/image/labelImg//345/217/263/350/276/271.png +0 -0
- package/public/image/labelImg//345/267/246/350/276/271.png +0 -0
- package/public/image/labelImg//346/260/264/344/275/215.png +0 -0
- package/public/image/screenIcon//345/205/266/344/273/226.png +0 -0
- package/public/image/screenIcon//345/256/211/345/205/250/347/233/221/346/265/213/350/201/232/345/220/210-/347/272/242.png +0 -0
- package/public/image/screenIcon//345/256/211/345/205/250/347/233/221/346/265/213/350/201/232/345/220/210-/347/273/277.png +0 -0
- package/public/image/screenIcon//346/212/242/351/231/251/345/215/225/344/275/215.png +0 -0
- package/public/image/screenIcon//346/226/255/351/235/242.png +0 -0
- package/public/image/screenIcon//346/227/240/344/272/272/346/234/272.png +0 -0
- package/public/image/screenIcon//346/227/240/344/272/272/346/234/272/345/237/272/345/234/260.png +0 -0
- package/public/image/screenIcon//346/260/264/345/272/223/347/253/231.png +0 -0
- package/public/image/screenIcon//346/260/264/346/226/207/346/265/213/347/253/231.png +0 -0
- package/public/image/screenIcon//346/260/264/351/227/270.png +0 -0
- package/public/image/screenIcon//346/262/263/351/201/223/347/253/231-/346/227/240/346/225/260/346/215/256.png +0 -0
- package/public/image/screenIcon//346/262/263/351/201/223/347/253/231-/346/255/243/345/270/270.png +0 -0
- package/public/image/screenIcon//346/262/263/351/201/223/347/253/231-/350/266/205/344/277/235.png +0 -0
- package/public/image/screenIcon//346/262/263/351/201/223/347/253/231-/350/266/205/350/255/246.png +0 -0
- package/public/image/screenIcon//346/263/265/347/253/231-/347/201/260.png +0 -0
- package/public/image/screenIcon//346/263/265/347/253/231-/347/273/277.png +0 -0
- package/public/image/screenIcon//346/265/201/351/207/217/346/265/213/347/253/231.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-1/347/272/247.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-2/347/272/247.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-3/347/272/247.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-4/347/272/247.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-5/347/272/247.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-/346/251/231.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-/347/272/242.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-/347/273/277.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-/350/247/204/346/250/241/344/273/245/344/270/213.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-/351/273/204.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230.png +0 -0
- package/public/image/screenIcon//346/275/256/344/275/215.png +0 -0
- package/public/image/screenIcon//346/275/256/344/275/215/347/253/231-/346/227/240/346/225/260/346/215/256.png +0 -0
- package/public/image/screenIcon//346/275/256/344/275/215/347/253/231-/346/255/243/345/270/270.png +0 -0
- package/public/image/screenIcon//346/275/256/344/275/215/347/253/231-/350/266/205/344/277/235.png +0 -0
- package/public/image/screenIcon//346/275/256/344/275/215/347/253/231-/350/266/205/350/255/246.png +0 -0
- package/public/image/screenIcon//347/211/251/350/265/204/344/273/223/345/272/223.png +0 -0
- package/public/image/screenIcon//347/220/203/346/234/272-/345/205/263.png +0 -0
- package/public/image/screenIcon//347/220/203/346/234/272-/345/274/200.png +0 -0
- package/public/image/screenIcon//347/220/203/346/234/272-/347/272/242.png +0 -0
- package/public/image/screenIcon//350/247/206/351/242/221/347/233/221/346/216/247.png +0 -0
- package/public/image/screenIcon//351/227/270/351/227/250-/347/201/260.png +0 -0
- package/public/image/screenIcon//351/227/270/351/227/250-/347/273/277.png +0 -0
- package/public/image/screenIcon//351/230/262/346/264/252/344/273/223/345/272/223.png +0 -0
- package/public/image/screenIcon//351/232/220/346/202/243.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/346/265/205/350/223/235.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/347/201/260.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/347/262/211.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/347/272/242.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/347/273/277.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/350/223/235.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/351/273/204.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/351/273/221.png +0 -0
- package/public/image/screenIcon//351/243/216/351/200/237.png +0 -0
- package/public/image/screenIcon//351/243/216/351/200/237/346/265/213/347/253/231.png +0 -0
- package/public/image//346/260/264/346/226/207.gif +0 -0
- package/public/image//350/211/262/345/270/246.png +0 -0
- package/public/index.html +22 -0
- package/public/index.js +185662 -0
- package/public/jsWebControl-1.0.0.min.js +31 -0
- package/public/jsencrypt.min.js +1 -0
- package/public/math/Box2.js +203 -0
- package/public/math/Box3.js +532 -0
- package/public/math/Color.js +605 -0
- package/public/math/ColorManagement.js +74 -0
- package/public/math/Cylindrical.js +61 -0
- package/public/math/EngineUtils.js +81 -0
- package/public/math/Euler.js +315 -0
- package/public/math/Frustum.js +162 -0
- package/public/math/Interpolant.js +241 -0
- package/public/math/Line3.js +115 -0
- package/public/math/MathUtils.js +345 -0
- package/public/math/Matrix3.js +365 -0
- package/public/math/Matrix4.js +858 -0
- package/public/math/Plane.js +205 -0
- package/public/math/Quaternion.js +724 -0
- package/public/math/Ray.js +493 -0
- package/public/math/Sphere.js +243 -0
- package/public/math/Spherical.js +86 -0
- package/public/math/SphericalHarmonics3.js +243 -0
- package/public/math/Triangle.js +299 -0
- package/public/math/Vector2.js +464 -0
- package/public/math/Vector3.js +715 -0
- package/public/math/Vector4.js +644 -0
- package/public/math/interpolants/CubicInterpolant.js +151 -0
- package/public/math/interpolants/DiscreteInterpolant.js +26 -0
- package/public/math/interpolants/LinearInterpolant.js +38 -0
- package/public/math/interpolants/QuaternionLinearInterpolant.js +39 -0
- package/public/static/Cloud.png +0 -0
- package/public/static/Global2.jpg +0 -0
- package/public/static/css/main.css +170 -0
- package/public/static/geojson//346/265/267/345/241/230.geojson +99 -0
- package/public/static/img/loading.gif +0 -0
- package/public/static/js/app.js +359 -0
- package/public/static/js/appcontroller.js +207 -0
- package/public/static/js/dist/game.dev.js +137 -0
- package/public/static/js/env.js +74 -0
- package/public/static/js/event/event.js +107 -0
- package/public/static/js/init.js +8 -0
- package/public/static/js/initcloudmorph.js +1 -0
- package/public/static/js/log.js +35 -0
- package/public/static/js/network/ajax.js +29 -0
- package/public/static/js/network/rtcp.js +172 -0
- package/public/static/js/network/socket.js +106 -0
- package/public/web-control.min.js +2 -0
- package/scripts/postinstall.mjs +127 -0
- package/src/GaeaMethods.js +68 -405
- package/src/components/FlyAlongRoute.vue +1 -0
- package/src/components/WeatherControl.vue +2 -0
- package/src/directives/vDrag.js +70 -0
- package/src/index.js +1 -8
- package/src/plugin.js +16 -0
- package/src/utils.js +10 -21
- package/src/vite-plugin.js +117 -0
- package/public/static/1111.res +0 -0
- package/src/config.js +0 -40
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html xmlns='http://www.w3.org/1999/xhtml' lang='' xml:lang=''>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset='utf-8' />
|
|
6
|
+
<meta name='viewport' content='width=device-width, user-scalable=no' />
|
|
7
|
+
<title>Gaea Explorer</title>
|
|
8
|
+
<style type='text/css'>
|
|
9
|
+
body {
|
|
10
|
+
touch-action: none;
|
|
11
|
+
margin: 0;
|
|
12
|
+
border: 0 none;
|
|
13
|
+
padding: 0;
|
|
14
|
+
text-align: center;
|
|
15
|
+
background-color: black;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
#canvas {
|
|
19
|
+
display: block;
|
|
20
|
+
margin: 0;
|
|
21
|
+
color: white;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
#canvas:focus {
|
|
25
|
+
outline: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.godot {
|
|
29
|
+
font-family: 'Noto Sans', 'Droid Sans', Arial, sans-serif;
|
|
30
|
+
color: #e0e0e0;
|
|
31
|
+
background-color: #3b3943;
|
|
32
|
+
background-image: linear-gradient(to bottom, #403e48, #35333c);
|
|
33
|
+
border: 1px solid #45434e;
|
|
34
|
+
box-shadow: 0 0 1px 1px #2f2d35;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
/* Status display
|
|
39
|
+
* ============== */
|
|
40
|
+
|
|
41
|
+
#status {
|
|
42
|
+
position: absolute;
|
|
43
|
+
left: 0;
|
|
44
|
+
top: 0;
|
|
45
|
+
right: 0;
|
|
46
|
+
bottom: 0;
|
|
47
|
+
display: flex;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
align-items: center;
|
|
50
|
+
/* don't consume click events - make children visible explicitly */
|
|
51
|
+
visibility: hidden;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
#status-progress {
|
|
55
|
+
width: 366px;
|
|
56
|
+
height: 7px;
|
|
57
|
+
background-color: #38363A;
|
|
58
|
+
border: 1px solid #444246;
|
|
59
|
+
padding: 1px;
|
|
60
|
+
box-shadow: 0 0 2px 1px #1B1C22;
|
|
61
|
+
border-radius: 2px;
|
|
62
|
+
visibility: visible;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@media only screen and (orientation:portrait) {
|
|
66
|
+
#status-progress {
|
|
67
|
+
width: 61.8%;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
#status-progress-inner {
|
|
72
|
+
height: 100%;
|
|
73
|
+
width: 0;
|
|
74
|
+
box-sizing: border-box;
|
|
75
|
+
transition: width 0.5s linear;
|
|
76
|
+
background-color: #202020;
|
|
77
|
+
border: 1px solid #222223;
|
|
78
|
+
box-shadow: 0 0 1px 1px #27282E;
|
|
79
|
+
border-radius: 3px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
#status-indeterminate {
|
|
83
|
+
visibility: visible;
|
|
84
|
+
position: relative;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
#status-indeterminate>div {
|
|
88
|
+
width: 4.5px;
|
|
89
|
+
height: 0;
|
|
90
|
+
border-style: solid;
|
|
91
|
+
border-width: 9px 3px 0 3px;
|
|
92
|
+
border-color: #2b2b2b transparent transparent transparent;
|
|
93
|
+
transform-origin: center 21px;
|
|
94
|
+
position: absolute;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
#status-indeterminate>div:nth-child(1) {
|
|
98
|
+
transform: rotate(22.5deg);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
#status-indeterminate>div:nth-child(2) {
|
|
102
|
+
transform: rotate(67.5deg);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
#status-indeterminate>div:nth-child(3) {
|
|
106
|
+
transform: rotate(112.5deg);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
#status-indeterminate>div:nth-child(4) {
|
|
110
|
+
transform: rotate(157.5deg);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
#status-indeterminate>div:nth-child(5) {
|
|
114
|
+
transform: rotate(202.5deg);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
#status-indeterminate>div:nth-child(6) {
|
|
118
|
+
transform: rotate(247.5deg);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
#status-indeterminate>div:nth-child(7) {
|
|
122
|
+
transform: rotate(292.5deg);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
#status-indeterminate>div:nth-child(8) {
|
|
126
|
+
transform: rotate(337.5deg);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
#status-notice {
|
|
130
|
+
margin: 0 100px;
|
|
131
|
+
line-height: 1.3;
|
|
132
|
+
visibility: visible;
|
|
133
|
+
padding: 4px 6px;
|
|
134
|
+
visibility: visible;
|
|
135
|
+
}
|
|
136
|
+
</style>
|
|
137
|
+
<link id='-gd-engine-icon' rel='icon' type='image/png' href='Gaea.icon.png' />
|
|
138
|
+
<link rel='apple-touch-icon' href='Gaea.apple-touch-icon.png' />
|
|
139
|
+
|
|
140
|
+
</head>
|
|
141
|
+
|
|
142
|
+
<body>
|
|
143
|
+
<div id="status_time"></div>
|
|
144
|
+
<canvas id='canvas'>
|
|
145
|
+
HTML5 canvas appears to be unsupported in the current browser.<br />
|
|
146
|
+
Please try updating or use a different browser.
|
|
147
|
+
</canvas>
|
|
148
|
+
<div id='status'>
|
|
149
|
+
<div id='status-progress' style='display: none;' oncontextmenu='event.preventDefault();'>
|
|
150
|
+
<div id='status-progress-inner'></div>
|
|
151
|
+
</div>
|
|
152
|
+
<div id='status-indeterminate' style='display: none;' oncontextmenu='event.preventDefault();'>
|
|
153
|
+
<div></div>
|
|
154
|
+
<div></div>
|
|
155
|
+
<div></div>
|
|
156
|
+
<div></div>
|
|
157
|
+
<div></div>
|
|
158
|
+
<div></div>
|
|
159
|
+
<div></div>
|
|
160
|
+
<div></div>
|
|
161
|
+
</div>
|
|
162
|
+
<div id='status-notice' class='godot' style='display: none;'></div>
|
|
163
|
+
</div>
|
|
164
|
+
|
|
165
|
+
<script type='text/javascript' src='Gaea.js'></script>
|
|
166
|
+
<script type='module'>//<![CDATA[
|
|
167
|
+
import app from '../app.js'
|
|
168
|
+
const GODOT_CONFIG = { "args": [], "canvasResizePolicy": 2, "executable": "Gaea", "experimentalVK": false, "fileSizes": { "Gaea.pck": 28568400, "Gaea.wasm": 18257046 }, "focusCanvas": true, "gdnativeLibs": [] };
|
|
169
|
+
var engine = new Engine(GODOT_CONFIG);
|
|
170
|
+
(function () {
|
|
171
|
+
const INDETERMINATE_STATUS_STEP_MS = 100;
|
|
172
|
+
var statusProgress = document.getElementById('status-progress');
|
|
173
|
+
var statusProgressInner = document.getElementById('status-progress-inner');
|
|
174
|
+
var statusIndeterminate = document.getElementById('status-indeterminate');
|
|
175
|
+
var statusNotice = document.getElementById('status-notice');
|
|
176
|
+
|
|
177
|
+
var initializing = true;
|
|
178
|
+
var statusMode = 'hidden';
|
|
179
|
+
|
|
180
|
+
var animationCallbacks = [];
|
|
181
|
+
function animate(time) {
|
|
182
|
+
animationCallbacks.forEach(callback => callback(time));
|
|
183
|
+
requestAnimationFrame(animate);
|
|
184
|
+
}
|
|
185
|
+
requestAnimationFrame(animate);
|
|
186
|
+
|
|
187
|
+
function setStatusMode(mode) {
|
|
188
|
+
|
|
189
|
+
if (statusMode === mode || !initializing)
|
|
190
|
+
return;
|
|
191
|
+
[statusProgress, statusIndeterminate, statusNotice].forEach(elem => {
|
|
192
|
+
elem.style.display = 'none';
|
|
193
|
+
});
|
|
194
|
+
animationCallbacks = animationCallbacks.filter(function (value) {
|
|
195
|
+
return (value != animateStatusIndeterminate);
|
|
196
|
+
});
|
|
197
|
+
switch (mode) {
|
|
198
|
+
case 'progress':
|
|
199
|
+
statusProgress.style.display = 'block';
|
|
200
|
+
break;
|
|
201
|
+
case 'indeterminate':
|
|
202
|
+
statusIndeterminate.style.display = 'block';
|
|
203
|
+
animationCallbacks.push(animateStatusIndeterminate);
|
|
204
|
+
break;
|
|
205
|
+
case 'notice':
|
|
206
|
+
statusNotice.style.display = 'block';
|
|
207
|
+
break;
|
|
208
|
+
case 'hidden':
|
|
209
|
+
break;
|
|
210
|
+
default:
|
|
211
|
+
throw new Error('Invalid status mode');
|
|
212
|
+
}
|
|
213
|
+
statusMode = mode;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
function animateStatusIndeterminate(ms) {
|
|
217
|
+
var i = Math.floor(ms / INDETERMINATE_STATUS_STEP_MS % 8);
|
|
218
|
+
if (statusIndeterminate.children[i].style.borderTopColor == '') {
|
|
219
|
+
Array.prototype.slice.call(statusIndeterminate.children).forEach(child => {
|
|
220
|
+
child.style.borderTopColor = '';
|
|
221
|
+
});
|
|
222
|
+
statusIndeterminate.children[i].style.borderTopColor = '#dfdfdf';
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
function setStatusNotice(text) {
|
|
227
|
+
while (statusNotice.lastChild) {
|
|
228
|
+
statusNotice.removeChild(statusNotice.lastChild);
|
|
229
|
+
}
|
|
230
|
+
var lines = text.split('\n');
|
|
231
|
+
lines.forEach((line) => {
|
|
232
|
+
statusNotice.appendChild(document.createTextNode(line));
|
|
233
|
+
statusNotice.appendChild(document.createElement('br'));
|
|
234
|
+
});
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
function displayFailureNotice(err) {
|
|
238
|
+
var msg = err.message || err;
|
|
239
|
+
console.error(msg);
|
|
240
|
+
setStatusNotice(msg);
|
|
241
|
+
setStatusMode('notice');
|
|
242
|
+
initializing = false;
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
if (!Engine.isWebGLAvailable()) {
|
|
246
|
+
displayFailureNotice('WebGL not available');
|
|
247
|
+
} else {
|
|
248
|
+
setStatusMode('indeterminate');
|
|
249
|
+
engine.startGame({
|
|
250
|
+
'onProgress': function (current, total) {
|
|
251
|
+
if (total > 0) {
|
|
252
|
+
statusProgressInner.style.width = current / total * 100 + '%';
|
|
253
|
+
setStatusMode('progress');
|
|
254
|
+
if (current === total) {
|
|
255
|
+
// wait for progress bar animation
|
|
256
|
+
setTimeout(() => {
|
|
257
|
+
setStatusMode('indeterminate');
|
|
258
|
+
}, 500);
|
|
259
|
+
}
|
|
260
|
+
} else {
|
|
261
|
+
setStatusMode('indeterminate');
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
}).then(() => {
|
|
265
|
+
window._Engine = engine
|
|
266
|
+
setStatusMode('hidden');
|
|
267
|
+
initializing = false;
|
|
268
|
+
app.init()
|
|
269
|
+
}, displayFailureNotice);
|
|
270
|
+
}
|
|
271
|
+
})();
|
|
272
|
+
//]]>
|
|
273
|
+
</script>
|
|
274
|
+
</body>
|
|
275
|
+
|
|
276
|
+
</html>
|
package/public/config.js
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Description:
|
|
3
|
+
* @Version:
|
|
4
|
+
* @Author: Do not edit
|
|
5
|
+
* @Date: 2025-01-20 14:59:55
|
|
6
|
+
* @LastEditors: yangyongtao
|
|
7
|
+
* @LastEditTime: 2025-05-19 14:38:45
|
|
8
|
+
*/
|
|
9
|
+
//服务平台地址
|
|
10
|
+
export let serveUrl = "http://192.168.3.151:8088/gaeaExplorerServer/"
|
|
11
|
+
|
|
12
|
+
//本地项目地址
|
|
13
|
+
export let serveLocal = "https:/169.254.25.130:9012";
|
|
14
|
+
if (typeof window !== "undefined") {
|
|
15
|
+
serveLocal = window.location.origin
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//加载静态资源地址
|
|
19
|
+
export let getServerAssets = `${serveLocal}/static/`
|
|
20
|
+
|
|
21
|
+
//初始定位
|
|
22
|
+
export let defaultPosition = {
|
|
23
|
+
x: 27.380913,
|
|
24
|
+
y: 120.449982,
|
|
25
|
+
// x: 22.942807,
|
|
26
|
+
// y: 114.048997,
|
|
27
|
+
z: 80000,
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
//地形
|
|
31
|
+
export let TerrainList = {
|
|
32
|
+
// 东深地形: `${serveUrl}htc/service/tms/1.0.0/东深地形@EPSG%3A4326@terrain/`,
|
|
33
|
+
苍南县地形: `${serveUrl}htc/service/tms/1.0.0/苍南县地形@EPSG%3A4326@terrain/`,
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
// 标签打包路径
|
|
37
|
+
export const biaoqianExportPath = "D:\\gaea\\biaoqian\\"
|
|
38
|
+
//image访问地址
|
|
39
|
+
export let imageUrlApi = "http://localhost:9878/fileImgServer/fileServer?url=";
|
|
40
|
+
|
|
41
|
+
// 流场文件配置
|
|
42
|
+
export let liuchangXMLPath = "D:\\gaea\\dat文件\\result.xml"
|
|
43
|
+
export let liuchangDatPath = "D:\\gaea\\dat文件\\result\\UVW"
|
|
44
|
+
|
|
45
|
+
// 打开浏览器路径
|
|
46
|
+
export let browser_Path = "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe"
|
|
47
|
+
|
|
48
|
+
export let developmentMode = true;
|
|
49
|
+
|
|
50
|
+
// 标签打包路径
|
|
51
|
+
// const biaoqianExportPath = "D:\\gaea\\biaoqian\\"
|
|
52
|
+
|
|
53
|
+
// 倾斜路径
|
|
54
|
+
export const qingxieUrl = "http://10.6.157.207:8088/gaeaExplorerServer/model/webqxsy/水库02/tileset.json"
|
|
55
|
+
|
|
56
|
+
// 白膜路径
|
|
57
|
+
export const baimoUrl = "http://10.6.157.207:8088/gaeaExplorerServer/model/webqxsy/深圳白膜2/tileset.json"
|
|
58
|
+
|
|
59
|
+
export const httpUrlToLocal = 'E:\\Gaea\\webCode\\code2\\shuiwenzu-dongshen\\src\\assets\\img\\httpImg'
|
|
60
|
+
|
|
61
|
+
// const dixing_path = 'http://10.6.157.207:8088/gaeaExplorerServer/htc/service/tms/1.0.0/地形修正@EPSG%3A4326@terrain/'
|
|
62
|
+
export const dixing_path = 'http://192.168.3.111:8088/gaeaExplorerServer/htc/service/tms/1.0.0/SRTM@EPSG%3A4490@terrain/'
|
|
63
|
+
|
|
64
|
+
export let isC = true;
|
|
65
|
+
|
|
66
|
+
// 卫星代理替换
|
|
67
|
+
export let qixiangDailiReplace = "http://10.6.157.198:9000/"
|
|
68
|
+
|
|
69
|
+
export let yuntudailiReplace = "http://10.6.157.198:9000/"
|
|
70
|
+
|
|
71
|
+
export const bimBaseUrl = 'http://10.6.157.198:7001/'
|
|
72
|
+
export const bimToken = 'd13a50d00016e9f2403e739bc43537b9'
|
|
73
|
+
|
|
74
|
+
// const serversUrl = 'http://192.168.0.123:8082'
|
|
75
|
+
export const serversUrl = 'http://localhost:9878'
|
|
76
|
+
export const cloudPort = '9998'
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
export const REVISION = '149';
|
|
2
|
+
export const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
|
|
3
|
+
export const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
|
|
4
|
+
export const CullFaceNone = 0;
|
|
5
|
+
export const CullFaceBack = 1;
|
|
6
|
+
export const CullFaceFront = 2;
|
|
7
|
+
export const CullFaceFrontBack = 3;
|
|
8
|
+
export const BasicShadowMap = 0;
|
|
9
|
+
export const PCFShadowMap = 1;
|
|
10
|
+
export const PCFSoftShadowMap = 2;
|
|
11
|
+
export const VSMShadowMap = 3;
|
|
12
|
+
export const FrontSide = 0;
|
|
13
|
+
export const BackSide = 1;
|
|
14
|
+
export const DoubleSide = 2;
|
|
15
|
+
export const TwoPassDoubleSide = 2; // r149
|
|
16
|
+
export const NoBlending = 0;
|
|
17
|
+
export const NormalBlending = 1;
|
|
18
|
+
export const AdditiveBlending = 2;
|
|
19
|
+
export const SubtractiveBlending = 3;
|
|
20
|
+
export const MultiplyBlending = 4;
|
|
21
|
+
export const CustomBlending = 5;
|
|
22
|
+
export const AddEquation = 100;
|
|
23
|
+
export const SubtractEquation = 101;
|
|
24
|
+
export const ReverseSubtractEquation = 102;
|
|
25
|
+
export const MinEquation = 103;
|
|
26
|
+
export const MaxEquation = 104;
|
|
27
|
+
export const ZeroFactor = 200;
|
|
28
|
+
export const OneFactor = 201;
|
|
29
|
+
export const SrcColorFactor = 202;
|
|
30
|
+
export const OneMinusSrcColorFactor = 203;
|
|
31
|
+
export const SrcAlphaFactor = 204;
|
|
32
|
+
export const OneMinusSrcAlphaFactor = 205;
|
|
33
|
+
export const DstAlphaFactor = 206;
|
|
34
|
+
export const OneMinusDstAlphaFactor = 207;
|
|
35
|
+
export const DstColorFactor = 208;
|
|
36
|
+
export const OneMinusDstColorFactor = 209;
|
|
37
|
+
export const SrcAlphaSaturateFactor = 210;
|
|
38
|
+
export const NeverDepth = 0;
|
|
39
|
+
export const AlwaysDepth = 1;
|
|
40
|
+
export const LessDepth = 2;
|
|
41
|
+
export const LessEqualDepth = 3;
|
|
42
|
+
export const EqualDepth = 4;
|
|
43
|
+
export const GreaterEqualDepth = 5;
|
|
44
|
+
export const GreaterDepth = 6;
|
|
45
|
+
export const NotEqualDepth = 7;
|
|
46
|
+
export const MultiplyOperation = 0;
|
|
47
|
+
export const MixOperation = 1;
|
|
48
|
+
export const AddOperation = 2;
|
|
49
|
+
export const NoToneMapping = 0;
|
|
50
|
+
export const LinearToneMapping = 1;
|
|
51
|
+
export const ReinhardToneMapping = 2;
|
|
52
|
+
export const CineonToneMapping = 3;
|
|
53
|
+
export const ACESFilmicToneMapping = 4;
|
|
54
|
+
export const CustomToneMapping = 5;
|
|
55
|
+
|
|
56
|
+
export const UVMapping = 300;
|
|
57
|
+
export const CubeReflectionMapping = 301;
|
|
58
|
+
export const CubeRefractionMapping = 302;
|
|
59
|
+
export const EquirectangularReflectionMapping = 303;
|
|
60
|
+
export const EquirectangularRefractionMapping = 304;
|
|
61
|
+
export const CubeUVReflectionMapping = 306;
|
|
62
|
+
export const RepeatWrapping = 1000;
|
|
63
|
+
export const ClampToEdgeWrapping = 1001;
|
|
64
|
+
export const MirroredRepeatWrapping = 1002;
|
|
65
|
+
export const NearestFilter = 1003;
|
|
66
|
+
export const NearestMipmapNearestFilter = 1004;
|
|
67
|
+
export const NearestMipMapNearestFilter = 1004;
|
|
68
|
+
export const NearestMipmapLinearFilter = 1005;
|
|
69
|
+
export const NearestMipMapLinearFilter = 1005;
|
|
70
|
+
export const LinearFilter = 1006;
|
|
71
|
+
export const LinearMipmapNearestFilter = 1007;
|
|
72
|
+
export const LinearMipMapNearestFilter = 1007;
|
|
73
|
+
export const LinearMipmapLinearFilter = 1008;
|
|
74
|
+
export const LinearMipMapLinearFilter = 1008;
|
|
75
|
+
export const UnsignedByteType = 1009;
|
|
76
|
+
export const ByteType = 1010;
|
|
77
|
+
export const ShortType = 1011;
|
|
78
|
+
export const UnsignedShortType = 1012;
|
|
79
|
+
export const IntType = 1013;
|
|
80
|
+
export const UnsignedIntType = 1014;
|
|
81
|
+
export const FloatType = 1015;
|
|
82
|
+
export const HalfFloatType = 1016;
|
|
83
|
+
export const UnsignedShort4444Type = 1017;
|
|
84
|
+
export const UnsignedShort5551Type = 1018;
|
|
85
|
+
export const UnsignedInt248Type = 1020;
|
|
86
|
+
export const AlphaFormat = 1021;
|
|
87
|
+
export const RGBAFormat = 1023;
|
|
88
|
+
export const LuminanceFormat = 1024;
|
|
89
|
+
export const LuminanceAlphaFormat = 1025;
|
|
90
|
+
export const DepthFormat = 1026;
|
|
91
|
+
export const DepthStencilFormat = 1027;
|
|
92
|
+
export const RedFormat = 1028;
|
|
93
|
+
export const RedIntegerFormat = 1029;
|
|
94
|
+
export const RGFormat = 1030;
|
|
95
|
+
export const RGIntegerFormat = 1031;
|
|
96
|
+
export const RGBAIntegerFormat = 1033;
|
|
97
|
+
|
|
98
|
+
export const RGB_S3TC_DXT1_Format = 33776;
|
|
99
|
+
export const RGBA_S3TC_DXT1_Format = 33777;
|
|
100
|
+
export const RGBA_S3TC_DXT3_Format = 33778;
|
|
101
|
+
export const RGBA_S3TC_DXT5_Format = 33779;
|
|
102
|
+
export const RGB_PVRTC_4BPPV1_Format = 35840;
|
|
103
|
+
export const RGB_PVRTC_2BPPV1_Format = 35841;
|
|
104
|
+
export const RGBA_PVRTC_4BPPV1_Format = 35842;
|
|
105
|
+
export const RGBA_PVRTC_2BPPV1_Format = 35843;
|
|
106
|
+
export const RGB_ETC1_Format = 36196;
|
|
107
|
+
export const RGB_ETC2_Format = 37492;
|
|
108
|
+
export const RGBA_ETC2_EAC_Format = 37496;
|
|
109
|
+
export const RGBA_ASTC_4x4_Format = 37808;
|
|
110
|
+
export const RGBA_ASTC_5x4_Format = 37809;
|
|
111
|
+
export const RGBA_ASTC_5x5_Format = 37810;
|
|
112
|
+
export const RGBA_ASTC_6x5_Format = 37811;
|
|
113
|
+
export const RGBA_ASTC_6x6_Format = 37812;
|
|
114
|
+
export const RGBA_ASTC_8x5_Format = 37813;
|
|
115
|
+
export const RGBA_ASTC_8x6_Format = 37814;
|
|
116
|
+
export const RGBA_ASTC_8x8_Format = 37815;
|
|
117
|
+
export const RGBA_ASTC_10x5_Format = 37816;
|
|
118
|
+
export const RGBA_ASTC_10x6_Format = 37817;
|
|
119
|
+
export const RGBA_ASTC_10x8_Format = 37818;
|
|
120
|
+
export const RGBA_ASTC_10x10_Format = 37819;
|
|
121
|
+
export const RGBA_ASTC_12x10_Format = 37820;
|
|
122
|
+
export const RGBA_ASTC_12x12_Format = 37821;
|
|
123
|
+
export const RGBA_BPTC_Format = 36492;
|
|
124
|
+
export const RED_RGTC1_Format = 36283;
|
|
125
|
+
export const SIGNED_RED_RGTC1_Format = 36284;
|
|
126
|
+
export const RED_GREEN_RGTC2_Format = 36285;
|
|
127
|
+
export const SIGNED_RED_GREEN_RGTC2_Format = 36286;
|
|
128
|
+
export const LoopOnce = 2200;
|
|
129
|
+
export const LoopRepeat = 2201;
|
|
130
|
+
export const LoopPingPong = 2202;
|
|
131
|
+
export const InterpolateDiscrete = 2300;
|
|
132
|
+
export const InterpolateLinear = 2301;
|
|
133
|
+
export const InterpolateSmooth = 2302;
|
|
134
|
+
export const ZeroCurvatureEnding = 2400;
|
|
135
|
+
export const ZeroSlopeEnding = 2401;
|
|
136
|
+
export const WrapAroundEnding = 2402;
|
|
137
|
+
export const NormalAnimationBlendMode = 2500;
|
|
138
|
+
export const AdditiveAnimationBlendMode = 2501;
|
|
139
|
+
export const TrianglesDrawMode = 0;
|
|
140
|
+
export const TriangleStripDrawMode = 1;
|
|
141
|
+
export const TriangleFanDrawMode = 2;
|
|
142
|
+
export const LinearEncoding = 3000;
|
|
143
|
+
export const sRGBEncoding = 3001;
|
|
144
|
+
export const BasicDepthPacking = 3200;
|
|
145
|
+
export const RGBADepthPacking = 3201;
|
|
146
|
+
export const TangentSpaceNormalMap = 0;
|
|
147
|
+
export const ObjectSpaceNormalMap = 1;
|
|
148
|
+
|
|
149
|
+
// Color space string identifiers, matching CSS Color Module Level 4 and WebGPU names where available.
|
|
150
|
+
export const NoColorSpace = '';
|
|
151
|
+
export const SRGBColorSpace = 'srgb';
|
|
152
|
+
export const LinearSRGBColorSpace = 'srgb-linear';
|
|
153
|
+
|
|
154
|
+
export const ZeroStencilOp = 0;
|
|
155
|
+
export const KeepStencilOp = 7680;
|
|
156
|
+
export const ReplaceStencilOp = 7681;
|
|
157
|
+
export const IncrementStencilOp = 7682;
|
|
158
|
+
export const DecrementStencilOp = 7683;
|
|
159
|
+
export const IncrementWrapStencilOp = 34055;
|
|
160
|
+
export const DecrementWrapStencilOp = 34056;
|
|
161
|
+
export const InvertStencilOp = 5386;
|
|
162
|
+
|
|
163
|
+
export const NeverStencilFunc = 512;
|
|
164
|
+
export const LessStencilFunc = 513;
|
|
165
|
+
export const EqualStencilFunc = 514;
|
|
166
|
+
export const LessEqualStencilFunc = 515;
|
|
167
|
+
export const GreaterStencilFunc = 516;
|
|
168
|
+
export const NotEqualStencilFunc = 517;
|
|
169
|
+
export const GreaterEqualStencilFunc = 518;
|
|
170
|
+
export const AlwaysStencilFunc = 519;
|
|
171
|
+
|
|
172
|
+
export const StaticDrawUsage = 35044;
|
|
173
|
+
export const DynamicDrawUsage = 35048;
|
|
174
|
+
export const StreamDrawUsage = 35040;
|
|
175
|
+
export const StaticReadUsage = 35045;
|
|
176
|
+
export const DynamicReadUsage = 35049;
|
|
177
|
+
export const StreamReadUsage = 35041;
|
|
178
|
+
export const StaticCopyUsage = 35046;
|
|
179
|
+
export const DynamicCopyUsage = 35050;
|
|
180
|
+
export const StreamCopyUsage = 35042;
|
|
181
|
+
|
|
182
|
+
export const GLSL1 = '100';
|
|
183
|
+
export const GLSL3 = '300 es';
|
|
184
|
+
|
|
185
|
+
export const _SRGBAFormat = 1035; // fallback for WebGL 1
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/public/image/screenIcon//346/227/240/344/272/272/346/234/272/345/237/272/345/234/260.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/public/image/screenIcon//346/262/263/351/201/223/347/253/231-/346/255/243/345/270/270.png
ADDED
|
Binary file
|
package/public/image/screenIcon//346/262/263/351/201/223/347/253/231-/350/266/205/344/277/235.png
ADDED
|
Binary file
|
package/public/image/screenIcon//346/262/263/351/201/223/347/253/231-/350/266/205/350/255/246.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/public/image/screenIcon//346/275/256/344/275/215/347/253/231-/346/255/243/345/270/270.png
ADDED
|
Binary file
|
package/public/image/screenIcon//346/275/256/344/275/215/347/253/231-/350/266/205/344/277/235.png
ADDED
|
Binary file
|
package/public/image/screenIcon//346/275/256/344/275/215/347/253/231-/350/266/205/350/255/246.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/346/265/205/350/223/235.png
ADDED
|
Binary file
|
|
Binary file
|