{"id":3715,"date":"2013-12-19T21:05:34","date_gmt":"2013-12-20T03:05:34","guid":{"rendered":"http:\/\/www.realtimerendering.com\/blog\/?p=3715"},"modified":"2013-12-19T21:05:34","modified_gmt":"2013-12-20T03:05:34","slug":"graphics-pipeline-demo","status":"publish","type":"post","link":"https:\/\/www.realtimerendering.com\/blog\/graphics-pipeline-demo\/","title":{"rendered":"Graphics Pipeline Demo"},"content":{"rendered":"<p><a href=\"http:\/\/www.realtimerendering.com\/udacity\/?load=demo\/unit7-view-pipeline.js\">Try it out<\/a> (you have to <a href=\"https:\/\/www.udacity.com\/wiki\/cs291\/enabling_webgl?nocache\">have WebGL enabled<\/a> etc.)<\/p>\n<div><\/div>\n<div><a href=\"http:\/\/www.realtimerendering.com\/blog\/wp-content\/uploads\/2013\/12\/2013-12-19_220205.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3717\" alt=\"2013-12-19_220205\" src=\"http:\/\/www.realtimerendering.com\/blog\/wp-content\/uploads\/2013\/12\/2013-12-19_220205.jpg\" width=\"1371\" height=\"741\" srcset=\"https:\/\/www.realtimerendering.com\/blog\/wp-content\/uploads\/2013\/12\/2013-12-19_220205.jpg 1371w, https:\/\/www.realtimerendering.com\/blog\/wp-content\/uploads\/2013\/12\/2013-12-19_220205-300x162.jpg 300w, https:\/\/www.realtimerendering.com\/blog\/wp-content\/uploads\/2013\/12\/2013-12-19_220205-1024x553.jpg 1024w, https:\/\/www.realtimerendering.com\/blog\/wp-content\/uploads\/2013\/12\/2013-12-19_220205-500x270.jpg 500w\" sizes=\"auto, (max-width: 1371px) 100vw, 1371px\" \/><\/a><\/div>\n<div><\/div>\n<p>I made this demo as a few students of the Interactive Graphics MOOC were asking for something showing the various transforms from beginning to end.<\/p>\n<p>It&#8217;s not a fantastic demo (yet), but if you roughly understand the pipeline, you can then look at a given point and see how it goes through each transform.<\/p>\n<p>It&#8217;s actually kind of a fun puzzle or guessing game, if you understand the transforms: if I pan, what values will change? What if I change the field of view, or the near plane?<\/p>\n<p>I&#8217;d love suggestions. I can imagine ways to help guide the user with what various coordinate transforms mean, e.g. putting up a pixel grid and labeling it when just the window coordinates transform is selected, or maybe a second window showing a side view and the frustum (but I&#8217;m not sure what I&#8217;d put in that window, or what view to use for an arbitrary camera).<\/p>\n<p>I&#8217;ve been bumping into limitations of three.js as it is, but I&#8217;m on a roll so that&#8217;s why I&#8217;m asking.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Try it out (you have to have WebGL enabled etc.) I made this demo as a few students of the Interactive Graphics MOOC were asking for something showing the various transforms from beginning to end. It&#8217;s not a fantastic demo (yet), but if you roughly understand the pipeline, you can then look at a given [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[561,547,560,523],"class_list":["post-3715","post","type-post","status-publish","format-standard","hentry","category-resources","tag-pipeline","tag-three-js","tag-transforms","tag-webgl"],"_links":{"self":[{"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/posts\/3715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/comments?post=3715"}],"version-history":[{"count":1,"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/posts\/3715\/revisions"}],"predecessor-version":[{"id":3718,"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/posts\/3715\/revisions\/3718"}],"wp:attachment":[{"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/media?parent=3715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/categories?post=3715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/tags?post=3715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}