-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathold.html
371 lines (339 loc) · 12.4 KB
/
old.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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Style -->
<link href="css/style.css" rel="stylesheet" crossorigin="anonymous" />
<link href="https://unpkg.com/[email protected]/css/boxicons.min.css" rel="stylesheet" crossorigin="anonymous" />
<!-- Primary Meta Tags -->
<title>jpPlate Generator</title>
<meta name="title" content="jpPlate Generator" />
<meta name="description" content="Easily generate Japan License Plate texture for your 3D Model" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://mbaharip.github.io/japanLicensePlate_Generator/" />
<meta property="og:title" content="jpPlate Generator" />
<meta property="og:description" content="Easily generate Japan License Plate texture for your 3D Model" />
<meta
property="og:image"
content="https://github.com/mbahArip/japanLicensePlate_Generator/blob/master/preview_jpPlateGenerator.png?raw=true"
/>
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://mbaharip.github.io/japanLicensePlate_Generator/" />
<meta property="twitter:title" content="jpPlate Generator" />
<meta property="twitter:description" content="Easily generate Japan License Plate texture for your 3D Model" />
<meta
property="twitter:image"
content="https://github.com/mbahArip/japanLicensePlate_Generator/blob/master/preview_jpPlateGenerator.png?raw=true"
/>
<!-- Script -->
<script src="lib\grabzit.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/dom-to-image.min.js"></script> -->
<script src="lib\dom-to-image.min.js"></script>
</head>
<body>
<div id="mobileNotice">
<i class="bx bx-sad"></i>
<h1>Mobile Device not Supported!</h1>
<h2>Please access this site from PC / Laptop!</h2>
</div>
<nav id="nav">
<!-- Navigation Bookmark -->
<div id="top" class="navBookmark bookmarkTop"></div>
<!-- Navigation Block -->
<div id="navBlock"></div>
<!-- Navbar Float -->
<div id="float">
<div class="logo">
jpPlateGenerator
<div class="verWrapper">
<span class="version">v1.0</span>
<!-- <a href="">[changelog]</a> -->
</div>
</div>
<div class="menu">
<a href="#navGenerator">Generator</a>
|
<a href="#navResult">Render Result</a>
|
<a href="#navDownload"> Model Download</a>
|
<a href="#navFooter">About</a>
<div class="navHidden">
|
<a href="#top">Top</a>
</div>
</div>
</div>
<!-- <a href="#" onclick="window.open('text.txt', '_blank');">changelog</a> -->
</nav>
<div id="top">
<!-- Top Notice -->
<div id="notice">
<div class="notice noticeGreen">
<p>New image generate method implemented, generate height currently disabled!</p>
</div>
<div class="notice noticeAlert">
<p>
This site are made for 3D Artist, or Game Modders. <br />
I don't take any responsibility for anything that generated by the user. <br />
The user itself will take all responsibility for all texture user generate! <br />
Please use it wisely.
</p>
</div>
<div class="notice">
<p>
For all information and how to generate license plate correctly, please read the explanation
<a href="https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Japan" target="_blank"
>HERE</a
>
</p>
</div>
</div>
</div>
<div id="content">
<!-- Navigation Bookmark -->
<div id="navGenerator" class="navBookmark"></div>
<!-- Generator Container -->
<div id="generatorContainer">
<!-- Preview Container -->
<div id="previewWrapper">
<h1>Preview</h1>
<div id="preview" class="clWhite switchBackground">
<div class="top">
<div id="prefecture" class="switchText capture"></div>
<div id="engine">
<div class="engine1 switchText"></div>
<div class="engine2 switchText"></div>
<div class="engine3 switchText"></div>
</div>
</div>
<div class="bottom">
<div id="hiragana" class="switchText"></div>
<div id="number">
<div class="num1 switchText serial filterGreen"></div>
<div class="num2 switchText serial filterGreen"></div>
<div class="num3 switchText serial filterGreen"></div>
<div class="num4 switchText serial filterGreen"></div>
<div class="num5 switchText serial filterGreen"></div>
<div class="num6 switchText serial filterGreen"></div>
</div>
</div>
</div>
</div>
<!-- Input Container -->
<div id="inputWrapper">
<h1>Input</h1>
<div id="editor">
<!-- Plate Type -->
<label>Plate Type</label>
<select name="inputCarType" id="inputCarType">
<option value="" disabled selected hidden>Plate Type</option>
<option value="private">Private Vehicle</option>
<option value="commercial">Commercial Vehicle</option>
<option value="k-private">Kei Vehicle</option>
<option value="k-commercial">Commercial Kei Vehicle</option>
<option value="temp" disabled>Temporary Plate (Will be updated later)</option>
</select>
<br />
<!-- Region -->
<label>Region</label>
<select name="inputRegion" id="inputRegion">
<option value="" disabled selected hidden>Region</option>
<option value="Hokkaido">Hokkaido</option>
<option value="Tohoku">Tohoku</option>
<option value="Kanto">Kanto</option>
<option value="Chubu">Chubu</option>
<option value="Kansai">Kansai</option>
<option value="Chugoku">Chugoku</option>
<option value="Shikoku">Shikoku</option>
<option value="Kyushu">Kyushu</option>
</select>
<label>Prefecture</label>
<select name="inputPrefecture" id="inputPrefecture">
<option value="" disabled selected hidden>Prefecture</option>
<option value="" disabled>Please select Region first</option>
</select>
<label>Municipality</label>
<select name="inputMunicipality" id="inputMunicipality">
<option value="" disabled selected hidden>Municipality</option>
<option value="" disabled>Please select Prefecture first</option>
</select>
<label>Wards</label>
<select name="inputWards" id="inputWards">
<option value="" disabled selected hidden>Wards</option>
<option value="" disabled>Please select Municipality first</option>
</select>
<br />
<div id="regionalPrideContainer">
<label id="labelRegionalPride">Regional Pride Plate</label>
<select name="inputRegionalPride" id="inputRegionalPride">
<option value="regPrideNo" selected>Don't use regional pride plate</option>
<option value="regPrideGrayscale">Use regional pride plate - Grayscale</option>
<option value="regPrideColor">Use regional pride plate - Colored</option>
</select>
<br />
</div>
<!-- Engine Class -->
<label>Vehicle Engine Class</label>
<span class="sub">Please read wiki information first!</span>
<input
id="inputEngine"
type="text"
placeholder="3 digits vehicle engine class"
maxlength="3"
oninput="updateNumber()"
onkeypress="return filterEngine(event);"
autocomplete="off"
/>
<br />
<!-- Hiragana -->
<label>Hiragana Character</label>
<span class="sub">Please read wiki information first!</span>
<select name="inputHiragana" id="inputHiragana">
<option value="" disabled selected hidden>Hiragana</option>
<option value="" disabled>Please select Plate type first</option>
</select>
<!-- Serial Number -->
<label>Number Plate</label>
<span class="sub">Allowed Character :</span>
<span class="sub">Number (0-9), Dash (-), Dot (.), and Space</span>
<input
id="inputNumber"
type="text"
placeholder="Plate Number"
maxlength="5"
oninput="updateSerial()"
onkeypress="return filterNumber(event);"
autocomplete="off"
/>
<br />
<!-- Render Scale -->
<label>Output Scale</label>
<span class="sub">Scale the image (default 1; max 5)</span>
<input id="inputScale" type="number" maxlength="1" value="1" min="1" max="5" />
<p class="warning">
Attention! <br />
For game, 2x scale are more than enough!
</p>
<br />
<!-- Height Map -->
<span id="inputHeightContainer">
<!-- <input type="checkbox" name="inputHeight" id="inputHeight"> Generate Height Map -->
</span>
<!-- Button -->
<button id="inputGenerate" class="btnGenerate">Generate</button>
<button id="inputDownload" class="btnDownload" disabled>Download Image</button>
<br />
<button id="inputReset" class="btnReset">Reset</button>
<br />
</div>
</div>
</div>
<!-- Result Container -->
<div id="bottomContainer">
<!-- Navigation Bookmark -->
<div id="navResult" class="navBookmark"></div>
<!-- Render Result -->
<div id="generateWrapper">
<h1>Generated Image</h1>
<div id="loading">
<img src="img\loading.svg" />
</div>
<div id="generate">
<img src="" class="imageDiffuse" />
<img src="" class="imageHeight" />
</div>
</div>
<!-- Notice Normal Map Generator -->
<div id="notice">
<div class="notice noticeGenerate">
<p>
You can generate normal map using online generator or photoshop! <br />
I recommend
<a href="https://cpetry.github.io/NormalMap-Online/" target="_blank">this site</a> by
Christian Petry for generating normal map online.
</p>
</div>
</div>
<!-- Navigation Bookmark -->
<div id="navDownload" class="navBookmark"></div>
<!-- Model Download Container -->
<div id="downloadWrapper">
<h1>Model Download</h1>
<span>If you don't have plate 3d model, and too lazy to create.</span>
<div id="downloadPreview">
<img src="img\mdl\preview1.png" loading="lazy" />
<img src="img\mdl\preview2.png" loading="lazy" />
<table>
<tr>
<th colspan="2">Model Detail</th>
</tr>
<tr>
<td>Tris</td>
<td>: 10570</td>
</tr>
<tr>
<td>Faces</td>
<td>: 4873</td>
</tr>
<tr>
<td>UV Template</td>
<td>: Yes</td>
</tr>
</table>
</div>
<hr />
<div id="download">
<h2>Download</h2>
<span
><a href="img\mdl\mbahArip_jpPlate_obj.rar" download="mbahArip_jpPlate_obj.rar">OBJ</a> |
<a href="img\mdl\mbahArip_jpPlate_fbx.rar" download="mbahArip_jpPlate_fbx.rar">FBX</a> |
<a href="img\mdl\mbahArip_jpPlate_blend.rar" download="mbahArip_jpPlate_blend.rar"
>blend</a
></span
>
<a href="img\mdl\mbahArip_jpPlate_template.rar" download="mbahArip_jpPlate_template.rar"
>UV Template</a
>
</div>
</div>
</div>
</div>
<!-- Navigation Bookmark -->
<div id="navFooter" class="navBookmark"></div>
<footer id="footer">
<div id="footerContainer">
<span>View this project source code here</span>
<div class="project">
<a href="https://github.com/mbahArip/japanLicensePlate_Generator/" target="_blank"
><i class="bx bxl-github"></i> Github Repository</a
>
</div>
</div>
<div id="footerContainer">
<span>If you found any Bugs or Problem, or if you have any Request feel free to message me at</span>
<div class="contact">
<a href="https://twitter.com/mbahArip_" target="_blank"><i class="bx bxl-twitter"></i> Twitter</a> -
<a href="https://github.com/mbahArip/" target="_blank"><i class="bx bxl-github"></i> Github</a> -
<a href="https://www.facebook.com/Kanoon48Graphics/" target="_blank"
><i class="bx bxl-facebook-circle"></i> Facebook</a
>
</div>
</div>
<div id="footerContainer">
<span>If you like this project, please</span>
<script type="text/javascript" src="https://ko-fi.com/widgets/widget_2.js"></script>
<script type="text/javascript">
kofiwidget2.init('Support Me on Ko-fi', '#4a3d70', 'B0B03UE0T');
kofiwidget2.draw();
</script>
</div>
</footer>
</body>
<script src="js/variable.js"></script>
<script src="js/function.js"></script>
</html>