{"id":356,"date":"2024-12-23T03:03:53","date_gmt":"2024-12-23T03:03:53","guid":{"rendered":"https:\/\/e-muse.it\/blog\/?p=356"},"modified":"2024-12-23T03:03:53","modified_gmt":"2024-12-23T03:03:53","slug":"new-mesh-reduction-tools","status":"publish","type":"post","link":"https:\/\/e-muse.it\/blog\/2024\/12\/23\/new-mesh-reduction-tools\/","title":{"rendered":"New mesh reduction tools"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Holo Lab released this new Blender add-on that does a pretty job at reducing most photogrammetry models: <a href=\"https:\/\/github.com\/HoloLabInc\/ModerateWeightReductionTools\">https:\/\/github.com\/HoloLabInc\/ModerateWeightReductionTools<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It does fail on the more topologically challenged ones, but that is to be expected. As an example this 25MB model:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"763\" src=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.39.56-1024x763.png\" alt=\"\" class=\"wp-image-357\" srcset=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.39.56-1024x763.png 1024w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.39.56-300x224.png 300w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.39.56-768x572.png 768w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.39.56.png 1310w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Was reduced to this, which is just 295kB.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"890\" height=\"590\" src=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.40.43.png\" alt=\"\" class=\"wp-image-358\" srcset=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.40.43.png 890w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.40.43-300x199.png 300w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.40.43-768x509.png 768w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I did remove the black background by hand, though.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The interesting thing is that it added Sharps to edges automatically, you can see them in cyan.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"724\" src=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.42.23-1024x724.png\" alt=\"\" class=\"wp-image-359\" srcset=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.42.23-1024x724.png 1024w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.42.23-300x212.png 300w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.42.23-768x543.png 768w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.42.23.png 1530w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Of course the other interesting announcements in this field were Nvidia&#8217;s <a href=\"https:\/\/research.nvidia.com\/labs\/dir\/meshtron\/index.html\">Meshtron<\/a> and Microsoft&#8217;s <a href=\"https:\/\/trellis3d.github.io\/\">Trellis<\/a> (try it <a href=\"https:\/\/huggingface.co\/spaces\/JeffreyXiang\/TRELLIS\">on hugginface<\/a>), both of which do really interesting mesh generation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Of course for our requirements we cannot simply throw generative AI at the problem and hope for the best, we need to carefully represent the actual objects. But just as a try, we did try to throw an image of a bas-relief at Trellis. It created a plausible (but incorrect) result with a low-res texture. We tried throwing the original image on it as a texture, and it almost looked like it worked, until we tried moving the point of view.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is the original photo, it&#8217;s <a href=\"https:\/\/e-muse.it\/bccaec\/opere\/bcc-ostuni\/palmisano-lavoro\/\">Il Lavoro by Pietro Palmisano<\/a>, from the <a href=\"https:\/\/bccartecultura.it\">BCC Arte &amp; Cultura<\/a> catalogue.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"693\" src=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/BCC-Ostuni-Il-lavoro-1024x693.jpg\" alt=\"\" class=\"wp-image-361\" srcset=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/BCC-Ostuni-Il-lavoro-1024x693.jpg 1024w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/BCC-Ostuni-Il-lavoro-300x203.jpg 300w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/BCC-Ostuni-Il-lavoro-768x519.jpg 768w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/BCC-Ostuni-Il-lavoro.jpg 1140w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Generated model, with no texture:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"810\" height=\"586\" src=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.49.09.png\" alt=\"\" class=\"wp-image-360\" srcset=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.49.09.png 810w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.49.09-300x217.png 300w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.49.09-768x556.png 768w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">With the AI-generated texture<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"855\" src=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.50.36-1024x855.png\" alt=\"\" class=\"wp-image-362\" srcset=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.50.36-1024x855.png 1024w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.50.36-300x251.png 300w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.50.36-768x641.png 768w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.50.36.png 1408w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">With the original texture applied:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"986\" height=\"752\" src=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.53.45.png\" alt=\"\" class=\"wp-image-363\" srcset=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.53.45.png 986w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.53.45-300x229.png 300w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.53.45-768x586.png 768w\" sizes=\"auto, (max-width: 986px) 100vw, 986px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"812\" height=\"1024\" src=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.56.18-812x1024.png\" alt=\"\" class=\"wp-image-364\" srcset=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.56.18-812x1024.png 812w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.56.18-238x300.png 238w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.56.18-768x969.png 768w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.56.18.png 886w\" sizes=\"auto, (max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"958\" height=\"906\" src=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.56.36.png\" alt=\"\" class=\"wp-image-365\" srcset=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.56.36.png 958w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.56.36-300x284.png 300w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.56.36-768x726.png 768w\" sizes=\"auto, (max-width: 958px) 100vw, 958px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>It&#8217;s simultaneously very impressive, and not any good.<\/strong> We could try to salvage it by sculpting the most egregious parts, and we could do way better on the texture mapping.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"868\" src=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.57.06.png\" alt=\"\" class=\"wp-image-366\" srcset=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.57.06.png 980w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.57.06-300x266.png 300w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.57.06-768x680.png 768w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The geometry is really quite dense, we could try combining Trellis with Moderate Weight Reduction Tools.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"519\" src=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.59.17-1024x519.png\" alt=\"\" class=\"wp-image-367\" srcset=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.59.17-1024x519.png 1024w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.59.17-300x152.png 300w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.59.17-768x389.png 768w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.59.17-1536x778.png 1536w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-03.59.17-2048x1037.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That really broke down. The geometry became visibly spiky, but the texture is just all wrong, it did not expect our &#8220;Project from View&#8221; trick.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"591\" src=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-04.00.52-1024x591.png\" alt=\"\" class=\"wp-image-368\" srcset=\"https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-04.00.52-1024x591.png 1024w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-04.00.52-300x173.png 300w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-04.00.52-768x443.png 768w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-04.00.52-1536x886.png 1536w, https:\/\/e-muse.it\/blog\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-23-at-04.00.52-2048x1181.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Holo Lab released this new Blender add-on that does a pretty job at reducing most photogrammetry models: https:\/\/github.com\/HoloLabInc\/ModerateWeightReductionTools It does fail on the more topologically challenged ones, but that is to be expected. As an example this 25MB model: Was reduced to this, which is just 295kB. I did remove the black background by hand, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federate","footnotes":""},"categories":[5,27],"tags":[29,45,31,6,37,33],"class_list":["post-356","post","type-post","status-publish","format-standard","hentry","category-reconstruction","category-tools","tag-ai","tag-blender","tag-open-source","tag-photogrammetry","tag-spatial","tag-til"],"_links":{"self":[{"href":"https:\/\/e-muse.it\/blog\/wp-json\/wp\/v2\/posts\/356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/e-muse.it\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/e-muse.it\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/e-muse.it\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/e-muse.it\/blog\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":1,"href":"https:\/\/e-muse.it\/blog\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"predecessor-version":[{"id":369,"href":"https:\/\/e-muse.it\/blog\/wp-json\/wp\/v2\/posts\/356\/revisions\/369"}],"wp:attachment":[{"href":"https:\/\/e-muse.it\/blog\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/e-muse.it\/blog\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/e-muse.it\/blog\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}