-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·94 lines (87 loc) · 3.55 KB
/
index.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
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
<!DOCTYPE html>
<script src="js/classie.js"></script>
<script src="bower_components/requirejs/require.js"></script>
<link rel="stylesheet" href="./css/font-awesome.min.css"/>
<link rel="stylesheet" type="text/css" href="./css/default.css" />
<link rel="stylesheet" type="text/css" href="./css/component.css" />
<style type="text/css">
#modal-1{
text-align: center;
font-size: 2em;
}
</style>
<body style='margin: 0px; background-color: #000000; overflow: hidden;'>
<div id="preview" style="background: rgba(0,0,0,1);position:absolute;height:100%;width:100%;display:none;overflow:scroll;z-index:100;"></div>
<div class="content-wrap">
<div class="container">
<div id="canvas-3d" class="viewer"></div>
</div>
</div>
<button class="fa fa-2x fa-link md-trigger" data-modal="modal-1" id="btnLinks" style="position:fixed;bottom:0;z-index:100"></button>
<div class="md-modal md-effect-1" id="modal-1">
<div class="md-content">
<h3>Modal Dialog</h3>
<div>
<p>This is a modal window. You can do the following things with it:</p>
<ul>
<li><strong>Read:</strong> modal windows will probably tell you something important so don't forget to read what they say.</li>
<li><strong>Look:</strong> a modal window enjoys a certain kind of attention; just look at it and appreciate its presence.</li>
<li><strong>Close:</strong> click on the button below to close the modal.</li>
</ul>
<button class="md-close">Close me!</button>
</div>
</div>
</div>
<div class="md-overlay"></div><!-- the overlay element -->
<!-- classie.js by @desandro: https://github.com/desandro/classie -->
<script>
require(["vendor/three.js/build/three.min"],
function(){
require(["vendor/three.js/examples/js/Detector",
"vendor/threex.windowresize",
"js/controls/OrbitControls",
"js/controls/TrackballControls",
"js/controls/FlyControls",
"js/renderers/CSS3DRenderer",
"bower_components/jquery/dist/jquery.min.js",
"bower_components/threex.htmlmixer/threex.htmlmixer",
"bower_components/threex.text/threex.text",
"bower_components/threex.text/fonts/droid/droid_sans_regular.typeface",
"bower_components/threex.keyboardstate/threex.keyboardstate",
"bower_components/threex.planets/threex.planets",
"bower_components/threex.planets/threex.atmospherematerial",
"js/libs/dat.gui.min",
"bower_components/threex.planets/threex.atmospheredatgui",
"js/loaders/DDSLoader.js",
"js/loaders/MTLLoader.js",
"js/loaders/OBJMTLLoader.js",
"scripts/ShaderParticleUtils.js",
"scripts/ShaderParticleGroup.js",
"scripts/ShaderParticleEmitter.js",
"js/modalEffects"
],
function(){
require([
"js/MarchingCubesData",
"js/MarchingCubes",
"js/cssParser",
"scripts/init",
"scripts/camera",
"scripts/escenas",
"scripts/texto",
"scripts/htmlMixer",
"scripts/navigation",
"scripts/helper"],
function(){
require(["scripts/diapositivas"],
function(){
gotoCurrentScene();
//trackballControls();
//addAmbientLight();
//orbitControls();
})
})
});
});
</script>
</body>