{"id":655,"date":"2012-11-11T20:18:57","date_gmt":"2012-11-12T00:18:57","guid":{"rendered":"http:\/\/blairneal.com\/?p=655"},"modified":"2012-11-11T20:18:57","modified_gmt":"2012-11-12T00:18:57","slug":"gl-rotate-and-translate-example-openframeworks","status":"publish","type":"post","link":"http:\/\/blairneal.com\/new\/gl-rotate-and-translate-example-openframeworks\/","title":{"rendered":"GL Rotate and translate example (OpenFrameworks)"},"content":{"rendered":"<p>I consistently seem to get myself confused by the order of operations when working with ofTranslate and ofRotate in openFrameworks and it feels like I have to re-teach myself each time I have to do something with those transforms.<\/p>\n<p>I made this simple bare bones cheatsheet program for myself to help show the differences between different rotate and translate orders, and I hope it helps others&#8230;hopefully will get time to post more low level tutorials like this in the near future with some of the more complicated matrix transforms\/homography for projection mapping.<\/p>\n<p>Made with xCode and OF0072 but you should be able to just drop the &#8220;src&#8221; file into a Visual Studio Empty Example if you need to&#8230;enjoy!<\/p>\n[Download not found]\n<p><a href=\"http:\/\/blairneal.com\/new\/wp-content\/uploads\/2012\/11\/Screen-shot-2012-11-11-at-7.10.06-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-656\" title=\"Screen shot 2012-11-11 at 7.10.06 PM\" src=\"http:\/\/blairneal.com\/new\/wp-content\/uploads\/2012\/11\/Screen-shot-2012-11-11-at-7.10.06-PM-300x236.png\" alt=\"\" width=\"300\" height=\"236\" srcset=\"http:\/\/blairneal.com\/new\/wp-content\/uploads\/2012\/11\/Screen-shot-2012-11-11-at-7.10.06-PM-300x236.png 300w, http:\/\/blairneal.com\/new\/wp-content\/uploads\/2012\/11\/Screen-shot-2012-11-11-at-7.10.06-PM-1024x807.png 1024w, http:\/\/blairneal.com\/new\/wp-content\/uploads\/2012\/11\/Screen-shot-2012-11-11-at-7.10.06-PM-700x552.png 700w, http:\/\/blairneal.com\/new\/wp-content\/uploads\/2012\/11\/Screen-shot-2012-11-11-at-7.10.06-PM.png 1104w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I consistently seem to get myself confused by the order of operations when working with ofTranslate and ofRotate in openFrameworks and it feels like I have to re-teach myself each time I have to do something with those transforms. I made this simple bare bones cheatsheet program for myself to help show the differences between [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3,8],"tags":[27,48,49],"class_list":["post-655","post","type-post","status-publish","format-standard","hentry","category-downloads","category-examples","category-openframeworks","tag-example","tag-openframeworks","tag-opengl"],"_links":{"self":[{"href":"http:\/\/blairneal.com\/new\/wp-json\/wp\/v2\/posts\/655","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blairneal.com\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blairneal.com\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blairneal.com\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blairneal.com\/new\/wp-json\/wp\/v2\/comments?post=655"}],"version-history":[{"count":0,"href":"http:\/\/blairneal.com\/new\/wp-json\/wp\/v2\/posts\/655\/revisions"}],"wp:attachment":[{"href":"http:\/\/blairneal.com\/new\/wp-json\/wp\/v2\/media?parent=655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blairneal.com\/new\/wp-json\/wp\/v2\/categories?post=655"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blairneal.com\/new\/wp-json\/wp\/v2\/tags?post=655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}