{"id":222,"date":"2020-03-05T20:42:04","date_gmt":"2020-03-06T01:42:04","guid":{"rendered":"http:\/\/ayling.tech\/blog\/?p=222"},"modified":"2020-03-05T20:47:05","modified_gmt":"2020-03-06T01:47:05","slug":"computer-graphics","status":"publish","type":"post","link":"https:\/\/shortbooks.online\/blog\/2020\/computer-graphics\/","title":{"rendered":"Computer graphics"},"content":{"rendered":"\n<p>I have recently been learning how to use WebGL to make some computer graphics. In the last six weeks I have progressed from simple wireframes, to lit, textured models, casting shadows etc. I thought it would be fun to show such an animation here.<\/p>\n\n\n\n<p><iframe loading=\"lazy\" src=\"https:\/\/ayling.tech\/gavin\/coding\/unit6-embedded.html\" width=\"600\" height=\"550\"><\/iframe><\/p>\n\n\n\n<p>Every week what I have been able to produce has been improving, so I am excited to see what I am able to produce next week. I think, largely, what WebGL is capable of is only limited by my imagination, and patience for building the scene.<\/p>\n\n\n\n<p>I had not previously realized that simple website code could produce such powerful 3D images, without any additional software. We have truly left the days of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Adobe_Flash_Player\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Flash  (opens in a new tab)\">Flash <\/a>and Silverlight behind.<\/p>\n\n\n\n<p>I am a fan of <a rel=\"noreferrer noopener\" aria-label=\"Google's Stadia (opens in a new tab)\" href=\"https:\/\/stadia.google.com\/\" target=\"_blank\">Google&#8217;s Stadia<\/a> &#8211; allowing mainstream games to be streamed from Google&#8217;s servers without having to buy a console. The lack of multiplayer, and the price of the controllers are the only barriers right now, to Stadia being the only way games are played, in my opinion. That said, I can see a future where WebGL and other similar technologies can replace the need for a Stadia-like service completely. A game written in WebGL can be run without installation, can use NVidia and AMD graphics cards., WebGL doesn&#8217;t appear to have any particular limitations in terms of responsiveness etc.<\/p>\n\n\n\n<script data-ad-client=\"ca-pub-9523245931322834\" async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n","protected":false},"excerpt":{"rendered":"<p>I have recently been learning how to use WebGL to make some computer graphics. In the last six weeks I have progressed from simple wireframes, to lit, textured models, casting shadows etc. I thought it would be fun to show such an animation here. Every week what I have been able to produce has been improving, so I am excited to see what I am able to produce next week. I think, largely, what WebGL is capable of is only&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/shortbooks.online\/blog\/2020\/computer-graphics\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":237,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[14],"tags":[88,90,89],"class_list":["post-222","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code","tag-3d","tag-computer-graphics","tag-graphics"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/shortbooks.online\/blog\/wp-json\/wp\/v2\/posts\/222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shortbooks.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shortbooks.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shortbooks.online\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shortbooks.online\/blog\/wp-json\/wp\/v2\/comments?post=222"}],"version-history":[{"count":0,"href":"https:\/\/shortbooks.online\/blog\/wp-json\/wp\/v2\/posts\/222\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/shortbooks.online\/blog\/wp-json\/wp\/v2\/media\/237"}],"wp:attachment":[{"href":"https:\/\/shortbooks.online\/blog\/wp-json\/wp\/v2\/media?parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shortbooks.online\/blog\/wp-json\/wp\/v2\/categories?post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shortbooks.online\/blog\/wp-json\/wp\/v2\/tags?post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}