{"id":106,"date":"2010-04-02T01:15:09","date_gmt":"2010-04-02T01:15:09","guid":{"rendered":"http:\/\/sugarandcyanide.com\/blog\/?p=106"},"modified":"2010-04-02T01:15:09","modified_gmt":"2010-04-02T01:15:09","slug":"new-yaaaawk-baybee","status":"publish","type":"post","link":"http:\/\/sugarandcyanide.com\/blog\/2010\/04\/02\/new-yaaaawk-baybee\/","title":{"rendered":"new yaaaawk, baybee!"},"content":{"rendered":"<p>Dimos and I headed out over the weekend to see <a href=\"http:\/\/www.luckbat.com\/\" target=\"_blank\">Mike<\/a> in New York.  The title of this post is what Dimos screamed, cheerleader-on-prom-night-in-the-back-of-a-volkswagen style, every five minutes.  Somehow it never got old.<\/p>\n<p>There are amazing pictures taken by Mike of both Dimos and myself on Facebook; hopefully I&#8217;ll find some time this weekend to get the pics of my own camera and Flickrize them.<\/p>\n<p>I might talk a bit more about the trip in a few days, but what I actually wanted to write is this:<\/p>\n<p>To project a worldspace point into camera space, you need to multiply the camera&#8217;s view matrix by its projection matrix.  The projection matrix is grabbable through the OpenMaya API (there&#8217;s a function for it on MFnCamera). The view matrix is simply the inverse of the worldspace transform matrix.<\/p>\n<p>Needed to get that out of my head and into a place I wouldn&#8217;t lose it.  If that makes no sense to you, just pretend it wasn&#8217;t there. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dimos and I headed out over the weekend to see Mike in New York. The title of this post is what Dimos screamed, cheerleader-on-prom-night-in-the-back-of-a-volkswagen style, every five minutes. Somehow it never got old. There are amazing pictures taken by Mike of both Dimos and myself on Facebook; hopefully I&#8217;ll find some time this weekend to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,12,13,15],"tags":[],"class_list":["post-106","post","type-post","status-publish","format-standard","hentry","category-3d","category-math","category-maya","category-programming"],"_links":{"self":[{"href":"http:\/\/sugarandcyanide.com\/blog\/wp-json\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/sugarandcyanide.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sugarandcyanide.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sugarandcyanide.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/sugarandcyanide.com\/blog\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":0,"href":"http:\/\/sugarandcyanide.com\/blog\/wp-json\/wp\/v2\/posts\/106\/revisions"}],"wp:attachment":[{"href":"http:\/\/sugarandcyanide.com\/blog\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sugarandcyanide.com\/blog\/wp-json\/wp\/v2\/categories?post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sugarandcyanide.com\/blog\/wp-json\/wp\/v2\/tags?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}