{"id":3,"date":"2009-05-15T12:29:15","date_gmt":"2009-05-15T11:29:15","guid":{"rendered":"http:\/\/david.buttress.me.uk\/blog\/?p=3"},"modified":"2010-12-09T17:29:21","modified_gmt":"2010-12-09T16:29:21","slug":"maya-transfer-maps-ambient-occlusion-hack","status":"publish","type":"post","link":"http:\/\/david.buttress.me.uk\/blog\/?p=3","title":{"rendered":"Maya Transfer Maps Ambient Occlusion Hack"},"content":{"rendered":"<p>For some unknown reason Autodesk decided that when using the Transfer Maps tool to create an ambient occlusion texture, the &#8216;Spread&#8217; attribute was unnecessary (even though it&#8217;s the main control for altering the intensity of the occlusion!).<br \/>\nSo I&#8217;ve hacked it in, now when creating an ambient occlusion texture you get the attributes: Rays, Max Depth, and Spread.<\/p>\n<p>I&#8217;ve made scripts for each version of Maya, make sure you use the right one.<\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><a href=\"http:\/\/david.buttress.me.uk\/blog\/wp-content\/uploads\/2009\/05\/performsurfacesampling.zip\">Download: performSurfaceSampling<br \/>\n<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For some unknown reason Autodesk decided that when using the Transfer Maps tool to create an ambient occlusion texture, the &#8216;Spread&#8217; attribute was unnecessary (even though it&#8217;s the main control for altering the intensity of the occlusion!). So I&#8217;ve hacked it in, now when creating an ambient occlusion texture you get the attributes: Rays, Max [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"http:\/\/david.buttress.me.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3"}],"collection":[{"href":"http:\/\/david.buttress.me.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/david.buttress.me.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/david.buttress.me.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/david.buttress.me.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3"}],"version-history":[{"count":9,"href":"http:\/\/david.buttress.me.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3\/revisions"}],"predecessor-version":[{"id":199,"href":"http:\/\/david.buttress.me.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3\/revisions\/199"}],"wp:attachment":[{"href":"http:\/\/david.buttress.me.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/david.buttress.me.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/david.buttress.me.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}