-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path7d3d-2018-software-renderer.html
388 lines (368 loc) · 19.6 KB
/
7d3d-2018-software-renderer.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
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
<!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" />
<meta name="author" content="Astryl64" />
<meta name="keywords" content="Game,Demo,Jam" />
<meta name="description" content="Made for the 7D3D Jam, January 2018. This is a relatively simple software rasterizer written in JavaScript in just under 7 days. It’s nothing more than a simple demo at this point. You can walk around, open doors and shoot a bit. As per tradition, I ran out of …" />
<title>7D3D 2018 Browser Software Renderer - 64Bytes</title>
<link rel="stylesheet" href="https://64mega.github.io/theme/css/bootstrap.pulse.min.css" type="text/css"/>
<link href="https://fonts.googleapis.com/css?family=Fira+Code&display=swap" rel="stylesheet">
<link href="https://64mega.github.io/theme/css/fontawesome-all.min.css" rel="stylesheet" />
<link href="https://64mega.github.io/theme/css/pygments/native.css" rel="stylesheet" />
<link href="https://64mega.github.io/theme/css/typogrify.css" rel="stylesheet" />
<link href="https://64mega.github.io/theme/css/pelican-twitchy.min.css" rel="stylesheet" />
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Feeds -->
<link href="https://64mega.github.io/feeds/all.atom.xml" type="application/atom+xml" rel="alternate"
title="64Bytes ATOM Feed" />
<link href="https://64mega.github.io/static-css/custom.css?cache=1569266029" rel="stylesheet" />
<link rel="stylesheet" href="https://64mega.github.io/theme/css/jquery.fancybox.min.css">
<link rel="stylesheet" href="https://64mega.github.io/static-css/custom.css?cache=1569266029">
<link rel="stylesheet" href="https://64mega.github.io/static-css/article.css">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#603cba">
<meta name="theme-color" content="#413a7b">
</head>
<body data-spy="scroll" data-target="#scrollspy">
<div id="wrapper">
<!-- Sidebar -->
<div id="sidebar-wrapper-small" class="twitchy-background">
<ul id="accordion-small" class="sidebar-nav sidebar-nav-small">
<li>
<a href="https://64mega.github.io" title="64Bytes" class="collapsed">
<span class="fas fa-home"></span>
</a>
</li>
<li class="nav-divider"></li>
<li>
<a href="https://64mega.github.io/archives.html" title="Recent Posts" class="collapsed">
<span class="fas fa-th-list"></span>
</a>
</li>
<li class="nav-divider"></li>
<li id="share-small">
<a data-toggle="collapse" data-parent="#accordion-small" href="#collapse-share-small" title="Share" class="collapsed">
<i class="fas fa-share-alt padding-small"></i>
</a>
</li>
<li class="panel anti-panel"><ul id="collapse-share-small" class="collapse ">
<li>
<a href="https://www.facebook.com/sharer/sharer.php?u=https://64mega.github.io/7d3d-2018-software-renderer.html" title="Share via Facebook" target="popup">
<i class="fas fa-facebook-square padding-small"></i>
</a>
</li>
<li>
<a href="https://plus.google.com/share?url=https://64mega.github.io/7d3d-2018-software-renderer.html" title="Share via Google+" target="popup">
<i class="fas fa-google-plus padding-small"></i>
</a>
</li>
<li>
<a href="https://twitter.com/share" class="twitter-share-button" data-count="vertical" title="Share via Twitter" target="popup">
<i class="fas fa-twitter-square padding-small"></i>
</a>
</li>
</ul></li>
<li class="nav-divider"></li>
<li>
<a data-toggle="collapse" data-parent="#accordion-small" href="#collapse-social-small" title="Social" class="collapsed">
<i class="fas fa-users padding-small"></i>
</a>
</li>
<li class="panel anti-panel"><ul id="collapse-social-small" class="collapse ">
<li>
<a href="https://github.com/64Mega" title="GitHub"><i class="fab fa-github-square padding-small"></i></a>
</li>
<li>
<a href="https://twitter.com/64Mega" title="Twitter"><i class="fab fa-twitter-square padding-small"></i></a>
</li>
</ul></li>
<li class="nav-divider"></li>
<li>
<a href="#" title="Back to top" class="collapsed">
<span class="fas fa-arrow-up"></span>
</a>
</li>
</ul>
</div>
<div id="sidebar-wrapper" class="twitchy-background">
<ul id="accordion" class="sidebar-nav">
<li class="sidebar-brand">
<a href="https://64mega.github.io/">
<img class="site-logo" src="https://64mega.github.io/static-images/classic-pc-logo.png" width="200" alt="Sitelogo"/> </a>
</li>
<li class="nav-divider"></li>
<li>
<a data-toggle="collapse" data-parent="#accordion" href="#collapse-latest">
<span class="fas fa-th-list padding-small"></span>
Recent Posts
</a>
</li>
<li class="panel anti-panel"><ul id="collapse-latest" class="sidebar_submenu collapse in">
<li class="">
<a class="hide-overflow" href="https://64mega.github.io/js13k-2019-recap.html" title="JS13k 2019 Developer Commentary">
<i class="fas fa-file-alt padding-small"></i>
JS13k 2019 Developer Commentary
</a>
</li>
<li class="">
<a class="hide-overflow" href="https://64mega.github.io/2019-site-revamp.html" title="2019 Site Revamp">
<i class="fas fa-file-alt padding-small"></i>
2019 Site Revamp
</a>
</li>
<li class="">
<a class="hide-overflow" href="https://64mega.github.io/ld44-venture-out.html" title="LD44 - Venture-Out!">
<i class="fas fa-gamepad padding-small"></i>
LD44 - Venture-Out!
</a>
</li>
<li class="">
<a class="hide-overflow" href="https://64mega.github.io/7d3d-2019-framework-demo.html" title="7D3D 2019 Framework Demo">
<i class="fas fa-gamepad padding-small"></i>
7D3D 2019 Framework Demo
</a>
</li>
<li class="active">
<a class="hide-overflow" href="https://64mega.github.io/7d3d-2018-software-renderer.html" title="7D3D 2018 Browser Software Renderer">
<i class="fas fa-gamepad padding-small"></i>
7D3D 2018 Browser Software Renderer
</a>
</li>
<li>
<a href="https://64mega.github.io/archives.html">
<i class="fas fa-arrow-right padding-small"></i>
More
</a>
</li>
</ul></li>
<li class="nav-divider"></li>
<li id="share">
<a data-toggle="collapse" data-parent="#accordion" href="#collapse-share" title="Share" class="collapsed">
<i class="fas fa-share-alt padding-small"></i>
Share
</a>
</li>
<li class="panel anti-panel"><ul id="collapse-share" class="sidebar_submenu collapse ">
<li>
<a href="https://www.facebook.com/sharer/sharer.php?u=https://64mega.github.io/7d3d-2018-software-renderer.html" target="popup">
<i class="fab fa-facebook-square padding-small"></i>
Facebook
</a>
</li>
<li>
<a href="https://plus.google.com/share?url=https://64mega.github.io/7d3d-2018-software-renderer.html" target="popup">
<i class="fab fa-google-plus-square padding-small"></i>
Google+
</a>
</li>
<li>
<a href="https://twitter.com/share" class="twitter-share-button" data-count="vertical" target="popup">
<i class="fab fa-twitter-square padding-small"></i>
Twitter
</a>
</li>
</ul></li>
<li class="nav-divider"></li>
<li>
<a data-toggle="collapse" data-parent="#accordion" href="#collapse-social">
<i class="fas fa-users padding-small"></i>
Social
</a>
</li>
<li class="panel anti-panel"><ul id="collapse-social" class="sidebar_submenu collapse ">
<li>
<a href="https://github.com/64Mega" target="_blank" title="GitHub">
<i class="fab fa-github-square padding-small"></i>
GitHub
</a>
</li>
<li>
<a href="https://twitter.com/64Mega" target="_blank" title="Twitter">
<i class="fab fa-twitter-square padding-small"></i>
Twitter
</a>
</li>
</ul></li>
<li class="nav-divider"></li>
<li>
<a data-toggle="collapse" data-parent="#accordion" href="#collapse-categories">
<i class="fas fa-folder-open padding-small"></i>
Categories
</a>
</li>
<li class="panel anti-panel"><ul id="collapse-categories" class="sidebar_submenu collapse ">
<li >
<a href="https://64mega.github.io/category/game-development.html">
<i class="fas fa-folder-open padding-small"></i>
Game Development
<span class="badge badge-secondary float-right categorybadge">1</span>
</a>
</li>
<li class="active">
<a href="https://64mega.github.io/category/games.html">
<i class="fas fa-folder-open padding-small"></i>
Games
<span class="badge badge-secondary float-right categorybadge">5</span>
</a>
</li>
<li >
<a href="https://64mega.github.io/category/posts.html">
<i class="fas fa-folder-open padding-small"></i>
Posts
<span class="badge badge-secondary float-right categorybadge">2</span>
</a>
</li>
</ul></li>
<li class="nav-divider"></li>
<li>
<a href="https://64mega.github.io/category/games.html">
<i class="fas fa-gamepad padding-small"></i>
Games
</a>
</li>
</ul>
</div>
<!-- /#sidebar-wrapper -->
<!-- open/close sidebar -->
<a href="#menu-toggle" class="btn btn-primary" id="menu-toggle">
<span id="right-arrow" class="fas fa-chevron-right" title="expand sidebar"></span>
<span id="left-arrow" class="fas fa-chevron-left" title="minimize sidebar"></span>
</a>
<!-- /open/close sidebar -->
<!-- Page Content -->
<div id="page-content-wrapper">
<div class="container-fluid">
<section id="content">
<article>
<div class="row">
<div class="col-lg-11">
<header class="page-header">
<div class="article-header-custom">
<h1>
<a href="https://64mega.github.io/7d3d-2018-software-renderer.html"
rel="bookmark"
title="Permalink to 7D3D 2018 Browser Software Renderer">
<span class="caps">7D3D</span> 2018 Browser Software Renderer
</a>
</h1>
<h4>
<div class="post-info">
<div class="publish-info-block">
<small>
<span class="published">
<i class="fa fa-calendar padding-small"></i><time datetime="2018-01-18T00:00:00+01:00"> Thu 18 January 2018</time>
</span>
<span class="category">
<i class="fa fa-folder-open padding-small"></i><a href="https://64mega.github.io/category/games.html">Games</a>
</span>
<span class="tags">
<i class="fa fa-tags padding-small"></i>
<a href="https://64mega.github.io/tag/game.html">Game</a>, <a href="https://64mega.github.io/tag/demo.html">Demo</a>, <a href="https://64mega.github.io/tag/jam.html">Jam</a> </span>
</small>
</div>
</div><!-- /.post-info --> </h4>
<p></p>
</div>
</header>
</div>
<div class="row">
<div class="col-lg-11">
<div class="entry-content">
<iframe class="itch-embed" frameborder="0" src="https://itch.io/embed/213950" width="552" height="167"></iframe>
<p>Made for the <a href="http://itch.io/jam/7d3d-2"><span class="caps">7D3D</span> Jam, January 2018</a>.</p>
<p>This is a relatively simple software rasterizer written in JavaScript in just under 7 days.</p>
<p>It’s nothing more than a simple demo at this point. You can walk around, open doors and shoot a bit. As per tradition, I ran out of time to do anything else.</p>
<p>Controls are:</p>
<p><strong>Arrow Keys:</strong> walk and turn</p>
<p><strong>Space Bar:</strong> shoot</p>
<p><strong>E key:</strong> interact (E.G: Open doors)</p>
<p>The full source code is available on GitHub. Beware, it’s jam-spaghetti!</p>
<p><a href="https://github.com/64Mega/7D3D-2-Demo">https://github.com/64Mega/<span class="caps">7D3D</span>-2-Demo</a></p>
<a class="top-widget" href="#"><span>△</span><span>Back To Top</span></a>
</div>
<footer class="text-right">
<p>- Astryl64</p>
</footer>
<section id="comments" class="comments ">
<hr/>
<h2>Comments</h2>
<div id="disqus_thread"></div>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by
Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</section>
</div>
</div>
</article>
</section>
<footer>
<hr>
<div class="row">
<div class="col-lg-9 text-center">
<p><small>
Built with <a href="http://docs.getpelican.com/en/latest">Pelican</a>
<br />
Theme based on <a href="https://github.com/ingwinlu/pelican-twitchy">pelican-twitchy</a> <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="Creative Commons License" style="border-width:0" src="//i.creativecommons.org/l/by-nc/4.0/80x15.png" /></a>
Content
licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution 4.0 International License</a>, except where indicated otherwise.
</small></p>
</div>
</div>
</footer> </div>
</div>
<!-- /#page-content-wrapper -->
</div>
<!-- /#wrapper -->
<!-- jQuery Version 1.11.2 -->
<script src="https://64mega.github.io/theme/js/jquery-1.11.2.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="https://64mega.github.io/theme/js/bootstrap.min.js"></script>
<!-- Fancybox Script -->
<script src="https://64mega.github.io/theme/js/jquery.fancybox.min.js"></script>
<!-- twitchy Script -->
<script src="https://64mega.github.io/theme/js/pelican_twitchy.min.js"></script>
<!-- Begin Cookie Consent https://silktide.com/tools/cookie-consent/ -->
<script>
window.cookieconsent_options = {
message: "This site <em>may</em> contain some cookies 🍪.",
learnMore: "More info",
link: null,
dismiss: "Got it!",
theme: "https://64mega.github.io/theme/css/cookieconsent/dark-floating.css",
};
</script>
<script src="https://64mega.github.io/theme/js/cookieconsent.min.js"></script>
<!-- End Cookie Consent -->
<!-- disqus -->
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '64megaspace'; // required: replace example with your forum shortname
var disqus_identifier = '7d3d-2018-software-renderer';
var disqus_url = 'https://64mega.github.io/7d3d-2018-software-renderer.html';
var disqus_config = function () {
this.language = "en";
};
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<!-- /disqus -->
</body>
</html>