-
Notifications
You must be signed in to change notification settings - Fork 38
/
index.html
189 lines (160 loc) · 7.79 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!-- Consider adding an manifest.appcache: h5bp.com/d/Offline -->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<!-- Use the .htaccess and remove these lines to avoid edge case issues.
More info: h5bp.com/b/378 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>ThreeFab | Three.js fabrication tool</title>
<meta name="description" content="Three.js fabrication tool.">
<meta name="author" content="Jason Kadrmas">
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width,initial-scale=1">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
<!-- CSS: implied media=all -->
<!-- CSS concatenated and minified via ant build script-->
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/colorpicker.css">
<link rel="stylesheet" href="css/impromptu.css">
<link rel="stylesheet" href="css/jqtree.css">
<link rel="stylesheet" href="css/icons.css">
<!-- end CSS-->
<!-- More ideas for your <head> here: h5bp.com/d/head-Tips -->
<!-- All JavaScript at the bottom, except for Modernizr / Respond.
Modernizr enables HTML5 elements & feature detects; Respond is a polyfill for min/max-width CSS3 Media Queries
For optimal performance, use a custom Modernizr build: www.modernizr.com/download/ -->
<script src="js/libs/modernizr-2.0.6.min.js"></script>
</head>
<body>
<div id="toolbox">
<div id="logo"></div>
<div class="righttools clearfix">
<ul class="light-list clearfix">
<li><a href="#point" class="point" data-placement="below" title="Point"></a></li>
<li><a href="#spot" class="spot" data-placement="below" title="Spot"></a></li>
<li><a href="#ambient" class="ambient" data-placement="below" title="Ambient"></a></li>
<!-- <li><a href="#directional" class="directional" title="Directional"></a></li> -->
<li></li>
</ul>
<ul class="toolbox-list clearfix">
<li><a href="#sphere" class="sphere" title="Sphere"></a></li>
<li><a href="#cube" class="cube" title="Cube"></a></li>
<li><a href="#cylinder" class="cylinder" title="Cylinder"></a></li>
<li><a href="#cone" class="cone" title="Cone"></a></li>
<li><a href="#plane" class="plane" title="Plane"></a></li>
<li><a href="#torus" class="torus" title="Torus"></a></li>
</ul>
<ul class="export-list">
<li><button class="import button"><span class="icon-download"> Import</button>
<li><button class="export button"><span class="icon-upload-2"> Export</button>
</ul>
</div>
</div>
<div id="gui-transform-container">
<div class="hierarchy-container">
<div class="title"><span class="icon-tree-view"> Hierarchy</div>
<div id="tree"></div>
</div>
</div>
<div id="gui-materials-container">
<div></div>
</div>
<div class="code-container">
<button id="hide-button" class="button fr">Hide</button>
<pre></pre>
</div>
<div id="bottom-toolbar" class="clearfix">
<div class="fl anim-controls">
<span class="icon-clock icon-anim"></span>
<div class="fl anim-label">Animation</div>
<div class="fr anim-toolbox">
<select id="sel-animation" name="sel-animation" class="fl"></select>
<div id="edit-animation" class="fl button icon-wrench" title="Edit Animations"></div>
<div id="playButton" class="fl button icon-arrow-right-6" title="Play/Pause"></div>
<input type="text" id="duration" name="duration" value="1" maxlength="5"> sec
</div>
</div>
<!-- <div class="time-buttons">
<button class="back button"><span></span></button><button id="playButton" class="play button"><span></span></button><button class="forward button"><span></span></button>
</div> --><br>
<div class="timeline-container hidden"></div>
<div class="menu clearfix">
<ul>
<li>Object
<ul>
<li id="menu-animate" class="clearfix">Animate <span>Space</span></li>
<li id="menu-duplicate" class="clearfix">Duplicate <span>Shift-D</span></li>
<li id="menu-delete" class="clearfix">Delete <span>X</span></li>
</ul>
</li>
</ul>
</div>
</div>
<!-- JavaScript at the bottom for fast page loading -->
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.1.min.js"><\/script>')</script>
<script src="js/libs/plugins.js"></script>
<script src="js/libs/underscore.js"></script>
<script src="js/libs/backbone.js"></script>
<script src="js/mylibs/dat.gui.js"></script>
<script src="js/mylibs/Three.js"></script>
<script src="js/threefab/controls/ViewportControls.js"></script>
<script src="js/threefab/objects/ManipulatorTool.js"></script>
<script src="js/threefab/objects/Grid.js"></script>
<script src="js/threefab/ThreeFab.js"></script>
<script src="js/threefab/Events.js"></script>
<script src="js/threefab/extras/loaders/OBJLoader.js"></script>
<script src="js/threefab/extras/loaders/DragDropLoader.js"></script>
<script src="js/threefab/extras/loaders/ColladaLoader.js"></script>
<script src="js/threefab/extras/exporter/Exporter.js"></script>
<script src="js/threefab/extras/animation/AnimationMorphTarget.js"></script>
<script src="js/threefab/lights/PointLightContainer.js"></script>
<script src="js/threefab/lights/SpotLightContainer.js"></script>
<script src="js/threefab/lights/AmbientLightContainer.js"></script>
<script src="js/threefab/ui/TextureView.js"></script>
<script src="js/threefab/ui/ColorView.js"></script>
<script src="js/threefab/ui/LightView.js"></script>
<script src="js/threefab/ui/MaterialModel.js"></script>
<script src="js/threefab/ui/MaterialView.js"></script>
<script src="js/threefab/ui/OutlinerView.js"></script>
<script src="js/threefab/ui/ViewportView.js"></script>
<script src="js/threefab/ui/TransformView.js"></script>
<script src="js/threefab/ui/TimelineView.js"></script>
<script src="js/threefab/Viewport.js"></script>
<script src="js/threefab/Ui.js"></script>
<script src="js/threefab/Toolbox.js"></script>
<script src="js/App.js"></script>
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
chromium.org/developers/how-tos/chrome-frame-getting-started -->
<!--[if lt IE 7 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
<![endif]-->
<script type="x-templ" id="template-edit-animations">
<div id="edit-animations">
<table width="100%">
<thead>
<th>Animation</th>
<th width="50">Start</th>
<th width="50">End</th>
</thead>
<tbody>
<% _.each( animations, function( animation, key ) { %>
<tr>
<td><%= key %></td>
<td><input type="text" id="<%= key %>_start" name="<%= key %>_start" value="<%= animation.start %>" size="3"></td>
<td><input type="text" id="<%= key %>_end" name="<%= key %>_end" value="<%= animation.end %>" size="3"></td>
</tr>
<% }); %>
</tbody>
</table>
</div>
</script>
</body>
</html>