{"id":11,"date":"2009-06-06T20:55:34","date_gmt":"2009-06-06T18:55:34","guid":{"rendered":"http:\/\/blog.teleranek.org\/?p=11"},"modified":"2025-06-29T12:29:29","modified_gmt":"2025-06-29T10:29:29","slug":"mesh-decimation-in-flash","status":"publish","type":"post","link":"https:\/\/blog.teleranek.org\/?p=11","title":{"rendered":"Mesh decimation in flash"},"content":{"rendered":"<p><span>I&#8217;ve implemented &#8220;new QEM&#8221; algorithm ( <a class=\"linkifyplus\" href=\"http:\/\/research.microsoft.com\/en-us\/um\/people\/hoppe\/newqem.pdf\">http:\/\/research.microsoft.com\/en-us\/um\/people\/hoppe\/newqem.pdf<\/a> ) for mesh decimation, or other words &#8211; for simplifying meshes.<\/span><\/p>\n<p>It supports appearance attributes, but when texture has many discontinuities &#8211; my decimator generates errors and your model can be jagged\/distorted.<\/p>\n<p>undecimated:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.teleranek.org\/img\/o8.png\" alt=\"\" width=\"657\" height=\"449\" \/><\/p>\n<p>decimated:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.teleranek.org\/img\/o7.png\" alt=\"\" width=\"657\" height=\"449\" \/><\/p>\n<p>I&#8217;ve made a little web interface to allow you some testing.<\/p>\n<p><span>Web interface: <a class=\"linkifyplus\" href=\"http:\/\/exp.teleranek.org\/teleqem\">http:\/\/exp.teleranek.org\/teleqem<\/a><\/span><\/p>\n<p>You can download your decimated model and do whatever the hell you want with it.<\/p>\n<p>I&#8217;ve also created a model viewer. I had to make custom pv3d camera control, because papervision3d&#8217;s Camera class has million bugs ( with rotations for example ). There are some bugs in environment mapping too, but I didn&#8217;t have time to fix them &#8230;<\/p>\n<p><span>Here&#8217;s my mesh decimator with some trial models: <a class=\"linkifyplus\" href=\"http:\/\/exp.teleranek.org\/teleqem\/Converter.php?showfiles\">http:\/\/exp.teleranek.org\/teleqem\/Converter.php?showfiles<\/a><\/span><\/p>\n<p><span>Here&#8217;s the viewer of 3d models: <a class=\"linkifyplus\" href=\"http:\/\/exp.teleranek.org\/teleqem\/Viewer.php?showfiles\">http:\/\/exp.teleranek.org\/teleqem\/Viewer.php?showfiles<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve implemented &#8220;new QEM&#8221; algorithm ( http:\/\/research.microsoft.com\/en-us\/um\/people\/hoppe\/newqem.pdf ) for mesh decimation, or other words &#8211; for simplifying meshes. It supports appearance attributes, but when texture has many discontinuities &#8211; my decimator generates errors and your model can be jagged\/distorted. undecimated: decimated: I&#8217;ve made a little web interface to allow you some testing. Web interface: http:\/\/exp.teleranek.org\/teleqem [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[35,34,11,36,37],"class_list":["post-11","post","type-post","status-publish","format-standard","hentry","category-flash-experiments","tag-decimation","tag-flash","tag-pv3d","tag-qem","tag-quadric-error-metrics"],"_links":{"self":[{"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11"}],"version-history":[{"count":1,"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":362,"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions\/362"}],"wp:attachment":[{"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}