{"id":7,"date":"2006-07-30T14:46:00","date_gmt":"2006-07-30T20:46:00","guid":{"rendered":"http:\/\/70.47.30.137\/~blockos\/blog\/?p=12"},"modified":"2006-07-30T14:46:00","modified_gmt":"2006-07-30T20:46:00","slug":"triangle-slicing","status":"publish","type":"post","link":"https:\/\/blog.blockos.org\/?p=7","title":{"rendered":"Triangle Slicing"},"content":{"rendered":"<p>Thanks to a java\/firefox crash combo, i lost the article i was writing. So here&#8217;s a shortened version without all the explanation (i&#8217;ll write them later).<\/p>\n<p>Last week, I came across a paper called <a href=\"http:\/\/iparla.labri.fr\/publications\/2005\/BS05\">&#8220;Generic Mesh Refinement on GPU&#8221;<\/a> and decided to implement it. I finished the refinement pattern generation and the use of a vertex shader to display the refined mesh today.<br \/>\nHere are the results:<\/p>\n<table>\n<tr>\n<td align=\"center\">1<\/td>\n<td align=\"center\">2<\/td>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" id=\"image17\" alt=\"Level 1 refinement\" title=\"Level 1 refinement\" src=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2006\/11\/1a.png\" \/><\/td>\n<td><img decoding=\"async\" id=\"image18\" alt=\"Level 2 refinement\" title=\"Level 2 refinement\" src=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2006\/11\/2a.png\" \/><\/td>\n<\/tr>\n<\/table>\n<table>\n<tr>\n<td align=\"center\">4<\/td>\n<td align=\"center\">8<\/td>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" id=\"image19\" alt=\"Level 4 refinement\" title=\"Level 4 refinement\" src=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2006\/11\/4a.png\" \/><\/td>\n<td><img decoding=\"async\" id=\"image20\" alt=\"Level 8 refinement\" title=\"Level 8 refinement\" src=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2006\/11\/8a.png\" \/><\/td>\n<\/tr>\n<\/table>\n<p>As my main goal is to use this technique for displacement mapping, i modify each point in order to map a sphere:<\/p>\n<table>\n<tr>\n<td align=\"center\">1<\/td>\n<td align=\"center\">2<\/td>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" id=\"image17\" alt=\"Level 1 refinement\" title=\"Level 1 refinement\" src=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2006\/11\/1a.png\" \/><\/td>\n<td><img decoding=\"async\" id=\"image21\" alt=\"Level 2 refinement (sphere)\" title=\"Level 2 refinement (sphere)\" src=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2006\/11\/2b.png\" \/><\/td>\n<\/tr>\n<\/table>\n<table>\n<tr>\n<td align=\"center\">4<\/td>\n<td align=\"center\">8<\/td>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" id=\"image22\" alt=\"Level 4 refinement (sphere)\" title=\"Level 4 refinement (sphere)\" src=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2006\/11\/4b.png\" \/><\/td>\n<td><img decoding=\"async\" id=\"image23\" alt=\"Level 8 refinement (sphere)\" title=\"Level 8 refinement (sphere)\" src=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2006\/11\/8b.png\" \/><\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to a java\/firefox crash combo, i lost the article i was writing. So here&#8217;s a shortened version without all the explanation (i&#8217;ll write them later). Last week, I came across a paper called &#8220;Generic Mesh Refinement on GPU&#8221; and decided to implement it. I finished the refinement pattern generation\u2026 <a class=\"continue-reading-link\" href=\"https:\/\/blog.blockos.org\/?p=7\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,5],"tags":[27,29],"_links":{"self":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/posts\/7"}],"collection":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7"}],"version-history":[{"count":0,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/posts\/7\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}