-
Notifications
You must be signed in to change notification settings - Fork 2
/
converter1.html
160 lines (158 loc) · 10.6 KB
/
converter1.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
<!DOCTYPE html>
<html>
<head>
<title>voxc.js</title>
<link rel="icon" href="resources/images/favicon.png">
<link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Overpass|Roboto+Condensed" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/themes/prism-okaidia.css">
<script src="https://use.fontawesome.com/727ae44ffb.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.6/ace.js"></script>
<script src="js/monokai.js" type="text/javascript" charset="utf-8"></script>
<script src="js/mode-json.js" type="text/javascript" charset="utf-8"></script>
<!-- Latest compiled and minified Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css"/>
<!-- voxc.js required scripts -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="build/voxc.js" type="text/javascript" charset="utf-8"></script>
<script src="js/three.min.js" type="text/javascript" charset="utf-8"></script>
<script src="build/Test.js" type="text/javascript" charset="utf-8"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body onload="LoadconverterOne()" class="main" id="bodySection" >
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">voxc.js</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li><a href="index.html#documentsSection">Documentation</a></li>
<li><a href="index.html#demoSection">Demo</a></li>
<li><a href="index.html#aboutSection">About</a></li>
<li><a href="index.html#usageSection">Usage</a></li>
<li class="active"><a href="converter1.html">.obj to Array</a></li>
<li><a href="converter2.html">Rule Applyer</a></li>
<li><a href="mriscan.html">Image to Array</a></li>
</ul>
</div>
</div>
</nav>
<div class="row">
<div class="col-sm-12 body">
<div class="parallax">
<div class="parallax__layer parallax__layer__1">
<img src="resources/images/parallax/1-01.png" />
</div>
<div class="parallax__layer parallax__layer__2">
<img src="resources/images/parallax/2-01.png" />
</div>
<div class="parallax__layer parallax__layer__3">
<img src="resources/images/parallax/3-01.png" />
</div>
<div class="parallax__layer parallax__layer__4">
<img src="resources/images/parallax/4-01.png" />
</div>
<div class="parallax__layer parallax__layer__5">
<img src="resources/images/parallax/5-01.png" />
</div>
<div class="parallax__layer parallax__layer__6">
<img src="resources/images/parallax/logo-01.png" />
</div>
<div class="parallax__cover">
<div class="row">
<div id="documentsSection" class="documents">
<div class="documents-heading col-sm-6 col-sm-offset-3">
<h2 class="section-heading">Documentation</h2>
<hr class="norm-hr"/>
</div>
<div class="documents-download-links col-sm-8 col-sm-offset-2">
<div class="document-link-container col-sm-4">
<a href="Documents/User Manual/usermanual.pdf">
<i class="fa fa-question-circle" aria-hidden="true"></i>
</a>
<h4 class="document-link-heading">User Manual</h4>
</div>
<div class="document-link-container col-sm-4">
<a href="Documents/Test Reports/Test report.pdf">
<i class="fa fa-bug" aria-hidden="true"></i>
</a>
<h4 class="document-link-heading">Testing Report</h4>
</div>
<div class="document-link-container col-sm-4">
<a href="Documents/Requirements Specification/requirementsspecification.pdf">
<i class="fa fa-file-text" aria-hidden="true"></i>
</a>
<h4 class="document-link-heading">SRS</h4>
</div>
</div>
</div>
</div>
<div class="youtube">
<iframe width="1300" height="800" src="https://www.youtube.com/embed/bCuYaOyAXR4" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
<div class="col-sm-12 canvascontainer">
<div class="row">
<div class="row" id="demoSection">
<img class="geomtest2" src="resources/images/geomtest.svg"/>
<div class="demo-heading col-sm-6 col-sm-offset-3">
<h2 class="section-heading">.obj to Array Converter</h2>
<hr class="norm-hr"/>
<p class="section-paragraph">
The goal of this converter is to convert a .obj file created with MagicaVoxel or other 3D software into a JavaScript matrix. A .obj file is a file that consists of coordinates of the faces, edges and vertices of a 3D object. This file also contains extra data like the hexadecimal color values that is associated with each block. This converter analyzes the file, extracting the coordinates of each block and then converting this 3D object into a 3D JavaScript Array.<br/><br/>This JavaScript array is then rendered using THREE.js to provide the output shown below.
</p>
</div>
<div class="col-sm-10 col-sm-offset-1">
<div id="converter1Canvas" width="800" height="400"></div>
</div>
</div>
</div>
</div>
<div class="col-sm-12 poster-container">
<img class="poster" src="resources/images/posters/poster1.jpg"/>
</div>
<div class="footer row">
<div class="col-sm-1 col-sm-offset-1">
<a href="https://github.com/Idrian/Absolute-0-" target="_blank"><span class="footer-icon fa fa-github-square fa-5x"></span></a>
</div>
<div class="col-sm-8">
<div class="footer-links row">
<a class="navlink-footer" href="#documentsSection">Documentation</a>
·
<a class="navlink-footer" href="#demoSection">Demo</a>
·
<a class="navlink-footer" href="#aboutSection">About</a>
·
<a class="navlink-footer" href="#usageSection">Usage</a>
·
<a class="navlink-footer" href="converter1.html">Converter 1</a>
·
<a class="navlink-footer" href="converter2.html">Converter 2</a>
·
<a class="navlink-footer">Converter 3</a>
</div>
<div class="footer-brand row">
<a href="index.html"><div class="col-sm-12">
voxc.js
</div></a>
</div>
<div class="footer-author row">
Team Absolute|0| @ 2017
</div>
</div>
<div class="col-sm-2">
<a href="https://waffle.io/Idrian/Absolute-0-?utm_source=badge" target="_blank"><img class="waffle-icon" height="100px" width="100px" src="resources/images/waffle.png"/></a>
</div>
</div>
</div>
</div>
</body>