-
Notifications
You must be signed in to change notification settings - Fork 32
/
demo_galnet.html
59 lines (47 loc) · 1.4 KB
/
demo_galnet.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>ED-Board - 3D Galaxy map test</title>
<link href="http://fonts.googleapis.com/css?family=Orbitron:400" rel="stylesheet" type="text/css" />
<!-- Custom CSS -->
<style type="text/css">
#systemDetails,
#hud {
width: 40%;
max-width: 450px;
}
#edmap {
position: fixed;
top: 0;
right: 0;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="edmap"></div>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<!-- Three.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r75/three.min.js"></script>
<!-- Launch ED3Dmap -->
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<script src="js/ed3dmap.min.js?v=5"></script>
<script type="text/javascript">
Ed3d.init({
container : 'edmap',
jsonPath : "json_samples/galnet.json",
withHudPanel : true,
hudMultipleSelect : false,
effectScaleSystem : [28,1000],
startAnim: true,
starSprite: "textures/lensflare/star_round.png",
showNameNear: true //-- EXPERIMENTAL (Show name from systems near camera)
});
</script>
</body>
</html>