{"id":4102,"date":"2019-09-17T13:56:39","date_gmt":"2019-09-17T20:56:39","guid":{"rendered":"http:\/\/mattfife.com\/?p=4102"},"modified":"2019-09-17T13:56:39","modified_gmt":"2019-09-17T20:56:39","slug":"this-is-how-graphics-used-to-be-done-kids","status":"publish","type":"post","link":"https:\/\/mattfife.com\/?p=4102","title":{"rendered":"This is how graphics used to be done kids"},"content":{"rendered":"\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/vkUwT9U1GzA?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span>\n<\/div><\/figure>\n\n\n\n<p>Back in the day when I was learning, there wasn&#8217;t much (or any) hardware acceleration for graphics. Programming graphics back then, on 8088\/286\/386 processors was much like this.  <a rel=\"noreferrer noopener\" href=\"https:\/\/www.youtube.com\/redirect?q=https%3A%2F%2Ftwitter.com%2FRealBisqwit&amp;v=vkUwT9U1GzA&amp;redir_token=EPdaGHQTAhI2d7XcH_kpV77lxiJ8MTU2ODgxNTg1MUAxNTY4NzI5NDUx&amp;event=video_description\" target=\"_blank\">Bisqwit<\/a> gives it a shot.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p> In this tool-assisted education video I create a simple FPS style walking and jumping scene for OpenGL, with DJGPP, in DOS. In a 256 colors 320&#215;200 VGA mode. This is my first OpenGL exercise. Apologies about some little mistakes in the program (such as reloading the textures on every frame). I noticed them when this video was already late in production, and it would take several days before the new version would be available if I were to fix them, and I&#8217;m itching to get this video out and into making the next video already, and none of the mistakes actually prevent the content being understood, so I&#8217;ll leave them be. Most people don&#8217;t even notice. Twitter: <a rel=\"noreferrer noopener\" href=\"https:\/\/www.youtube.com\/redirect?q=https%3A%2F%2Ftwitter.com%2FRealBisqwit&amp;v=vkUwT9U1GzA&amp;redir_token=EPdaGHQTAhI2d7XcH_kpV77lxiJ8MTU2ODgxNTg1MUAxNTY4NzI5NDUx&amp;event=video_description\" target=\"_blank\">https:\/\/twitter.com\/RealBisqwit<\/a> Patreon: <a rel=\"noreferrer noopener\" href=\"https:\/\/www.youtube.com\/redirect?q=https%3A%2F%2Fpatreon.com%2FBisqwit&amp;v=vkUwT9U1GzA&amp;redir_token=EPdaGHQTAhI2d7XcH_kpV77lxiJ8MTU2ODgxNTg1MUAxNTY4NzI5NDUx&amp;event=video_description\" target=\"_blank\">https:\/\/patreon.com\/Bisqwit<\/a> (alternatives at <a rel=\"noreferrer noopener\" href=\"https:\/\/www.youtube.com\/redirect?q=https%3A%2F%2Fiki.fi%2Fbisqwit%2Fdonate.html&amp;v=vkUwT9U1GzA&amp;redir_token=EPdaGHQTAhI2d7XcH_kpV77lxiJ8MTU2ODgxNTg1MUAxNTY4NzI5NDUx&amp;event=video_description\" target=\"_blank\">https:\/\/iki.fi\/bisqwit\/donate.html<\/a>) Twitch: <a rel=\"noreferrer noopener\" href=\"https:\/\/www.youtube.com\/redirect?q=https%3A%2F%2Ftwitch.tv%2FRealBisqwit&amp;v=vkUwT9U1GzA&amp;redir_token=EPdaGHQTAhI2d7XcH_kpV77lxiJ8MTU2ODgxNTg1MUAxNTY4NzI5NDUx&amp;event=video_description\" target=\"_blank\">https:\/\/twitch.tv\/RealBisqwit<\/a> Homepage: <a rel=\"noreferrer noopener\" href=\"https:\/\/www.youtube.com\/redirect?q=https%3A%2F%2Fiki.fi%2Fbisqwit%2F&amp;v=vkUwT9U1GzA&amp;redir_token=EPdaGHQTAhI2d7XcH_kpV77lxiJ8MTU2ODgxNTg1MUAxNTY4NzI5NDUx&amp;event=video_description\" target=\"_blank\">https:\/\/iki.fi\/bisqwit\/<\/a> I wrote a FAQ after this video was picked up on Reddit the first time in 2012. Here it is: <a rel=\"noreferrer noopener\" href=\"https:\/\/www.youtube.com\/redirect?q=https%3A%2F%2Fbisqwit.iki.fi%2Fjutut%2Fkuvat%2Fprogramming_examples%2Fopengl-example-FAQ.txt&amp;v=vkUwT9U1GzA&amp;redir_token=EPdaGHQTAhI2d7XcH_kpV77lxiJ8MTU2ODgxNTg1MUAxNTY4NzI5NDUx&amp;event=video_description\" target=\"_blank\">https:\/\/bisqwit.iki.fi\/jutut\/kuvat\/pr&#8230;<\/a> Source code and prebuilt lightmaps: (Compiles and runs on Linux): <a rel=\"noreferrer noopener\" href=\"https:\/\/www.youtube.com\/redirect?q=https%3A%2F%2Fbisqwit.iki.fi%2Fjutut%2Fkuvat%2Fprogramming_examples%2Fopengl-example-source.zip&amp;v=vkUwT9U1GzA&amp;redir_token=EPdaGHQTAhI2d7XcH_kpV77lxiJ8MTU2ODgxNTg1MUAxNTY4NzI5NDUx&amp;event=video_description\" target=\"_blank\">https:\/\/bisqwit.iki.fi\/jutut\/kuvat\/pr&#8230;<\/a> (includes also a superior ellipsoid-based collision testing, and a buggy WIP for portal rendering: I&#8217;m not good with the math.) <\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Back in the day when I was learning, there wasn&#8217;t much (or any) hardware acceleration for graphics. Programming graphics back then, on 8088\/286\/386 processors was much like this. Bisqwit gives it a shot. In this tool-assisted education video I create a simple FPS style walking and jumping scene for OpenGL, with DJGPP, in DOS. In a 256 colors 320&#215;200 VGA mode. This is my first OpenGL exercise. Apologies about some little mistakes in the program (such as reloading the textures&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/mattfife.com\/?p=4102\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9,7,5],"tags":[],"class_list":["post-4102","post","type-post","status-publish","format-standard","hentry","category-cool","category-technicalprogramming","category-technical"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4WECr-14a","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/4102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4102"}],"version-history":[{"count":1,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/4102\/revisions"}],"predecessor-version":[{"id":4103,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/4102\/revisions\/4103"}],"wp:attachment":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}