{"id":681,"date":"2023-07-12T15:07:55","date_gmt":"2023-07-12T22:07:55","guid":{"rendered":"http:\/\/fx-td.com\/houdiniandchill\/?p=681"},"modified":"2023-07-12T15:10:02","modified_gmt":"2023-07-12T22:10:02","slug":"archived-post-by-swalsch","status":"publish","type":"post","link":"http:\/\/fx-td.com\/houdiniandchill\/2023\/07\/12\/archived-post-by-swalsch\/","title":{"rendered":"Archived post by swalsch"},"content":{"rendered":"<div class=\"postie-post\">\n<p class=\"\">totally, seems that openIO won&#8217;t area-sample pngs<\/p>\n<p class=\"\">well, multiple calls of colormap it is<\/p>\n<p class=\"\">totally works with the mandril<\/p>\n<p class=\"\">for posterity, this is how I solved it with multiple calls of colormap: &#8220;`c vector uvw = set(<a href=\"mailto:v@P.x+.5\" >v@P.x+.5<\/a>,<a href=\"mailto:v@P.z+.5\" >v@P.z+.5<\/a>,0.0); string texPath = chs(&#8220;tex_path&#8221;); vector colors[] = {}; for(int i=0;i<chi(\"num_samples\");i++){     vector uvwDelta = ((rand(@elemnum,i)*2.0)-{1.0,1.0,1.0})*chf(\"width\");     vector color = colormap(texPath,uvw+uvwDelta);     append(colors,color); } <a href=\"mailto:v@Cd\" >v@Cd<\/a> = avg(colors);&#8220;`<\/p>\n<p>Attachments in this post: <br \/><a href=\"http:\/\/fx-td.com\/houdiniandchill\/wp-content\/uploads\/discord\/20230707\/12\/23\/image.png\">http:\/\/fx-td.com\/houdiniandchill\/wp-content\/uploads\/discord\/20230707\/12\/23\/image.png<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>totally, seems that openIO won&#8217;t area-sample pngs well, multiple calls of colormap it is totally works with the mandril for posterity, this is how I solved it with multiple calls of colormap: &#8220;`c vector uvw = set(v@P.x+.5,v@P.z+.5,0.0); string texPath = chs(&#8220;tex_path&#8221;); vector colors[] = {}; for(int i=0;i<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/681"}],"collection":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/comments?post=681"}],"version-history":[{"count":0,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/681\/revisions"}],"wp:attachment":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/media?parent=681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/categories?post=681"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/tags?post=681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}