{"id":1598,"date":"2011-11-22T23:42:54","date_gmt":"2011-11-22T23:42:54","guid":{"rendered":"http:\/\/sl.governormarley.com\/?p=1598"},"modified":"2011-11-22T23:56:17","modified_gmt":"2011-11-22T23:56:17","slug":"using-convex-hull-to-lower-land-impact","status":"publish","type":"post","link":"https:\/\/sl.governormarley.com\/?p=1598","title":{"rendered":"Using Convex Hull To Lower Land Impact"},"content":{"rendered":"<p>Due to recent advances it&#8217;s quite possible to create builds, or modify your old builds and drastically reduce your land impact (prim count) score. This doesn&#8217;t require mesh, but it does require you change the physics shape of your prims from prim to Convex Hull and be warned, there are some gotchas with this, if you&#8217;re not using cube prims, then your land impact score could actually go up, so tread carefully. There&#8217;s also the issue of scripts, but we&#8217;ll come to that later.<\/p>\n<p>So we start with my work in progress build:<\/p>\n<p><a title=\"Work In Progress Build by Ciaran Laval, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/23556228@N08\/6385869335\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/farm7.staticflickr.com\/6214\/6385869335_09a78e6b23.jpg?resize=500%2C394\" alt=\"Work In Progress Build\" width=\"500\" height=\"394\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>This weighs in at 19 prims currently, I&#8217;ll lower that during this process. The build is 28 x 28 top floor and 26 x 26 ground floor. Already I&#8217;m able to make savings because Linden Lab now allow us to create larger prims natively in the viewer, all of this can be done inworld with the inworld tools.<\/p>\n<p><!--more--><\/p>\n<p>In old money, this build would already have a prim count of 63 prims, so the fact that I can create it with just 19 is already a whopping saving, that 10 meter prim limit really did add to the prim counts, now that&#8217;s gone, whopping savings can be made right away, however as I said, I&#8217;ll lower the count.<\/p>\n<p>So to start with I have my build at 19 prims with a physics shape of prim:<\/p>\n<p><a title=\"Prim Linkset by Ciaran Laval, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/23556228@N08\/6385868551\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/farm7.staticflickr.com\/6108\/6385868551_a1b5bcbc72.jpg?resize=459%2C500\" alt=\"Prim Linkset\" width=\"459\" height=\"500\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Now if I change the physics shape type in that dropdown, the linkset will be counted in the same fashion as mesh and as cubes are low cost, when they&#8217;re linked they basically half in land impact score, so for example two cube prims linked and set to convex hull will only have a land impact score of 1, rather than 2 &#8230; so I&#8217;ll demonstrate that right now:<\/p>\n<p><a title=\"Convex Hull linkset with script by Ciaran Laval, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/23556228@N08\/6385868651\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/farm7.staticflickr.com\/6046\/6385868651_1026a8b842.jpg?resize=449%2C500\" alt=\"Convex Hull linkset with script\" width=\"449\" height=\"500\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>And as you can instead of a land impact score of 19 I now have a land impact score of 19 &#8230;. wait wait wait! What&#8217;s all this about? Well the problem is the door, yes just one door script means you can&#8217;t make prim savings by changing your build to convex hull, but there is an answer, unlink the door from the linkset:<\/p>\n<p><a title=\"Trublesome Script by Ciaran Laval, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/23556228@N08\/6385868725\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/farm7.staticflickr.com\/6048\/6385868725_f3d434106e.jpg?resize=500%2C468\" alt=\"Trublesome Script\" width=\"500\" height=\"468\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>To do this you merely right click the linkset, tick the edit linked parts box, right click the door and make sure that&#8217;s what you&#8217;re clicking and then click unlink. Now everything is linked except for the door and now I do make savings on land impact:<\/p>\n<p><a title=\"Convex Hull by Ciaran Laval, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/23556228@N08\/6385868849\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/farm7.staticflickr.com\/6229\/6385868849_fa45caf3cd.jpg?resize=449%2C500\" alt=\"Convex Hull\" width=\"449\" height=\"500\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>So now my total build comes in at a land impact score of 10, 9 for the main build and 1 for the door, we can&#8217;t forget about the door. That means if you want to move it, you&#8217;ll have to select the main linkset and the door, otherwise the door will be left behind! However that&#8217;s really not that troublesome and if you want to sell your builds then you can utilise a utility such as <a title=\"rez-Foo\" href=\"https:\/\/marketplace.secondlife.com\/p\/Rez-Foo\/1681520\" target=\"_blank\">CrystalShard Foo&#8217;s excellent rez-Foo <\/a>which is designed for builds that have large linksets really but I&#8217;ve used it many\u00a0times when I&#8217;ve added sculpted stairs to my builds. I tested this work in progress with Rez-Foo to see if there were any issues with the new physics shapes and Rez-Foo and it worked a treat.<\/p>\n<p>So from 63 prims, down to 19 thanks to Linden Lab allowing us to use larger prims, and\u00a0then down to 10, pretty good savings I&#8217;d say! As I said, there are some gotchas, this won&#8217;t work in all cases and could indeed increase the land impact (prim count) score if you&#8217;re using sculpts or curved\/twisted prims, you have to be aware of the script limitations and convex hull isn&#8217;t suitable for hollowed out prims that you want people to be able to walk into, however if a hollowed out prim is part of your linkset, then set just that prim to physics shape prim and leave the rest as convex hull, you can make savings like that.<\/p>\n<p>This is worth a try, but do tread carefully.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Due to recent advances it&#8217;s quite possible to create builds, or modify your old builds and drastically reduce your land impact (prim count) score. This doesn&#8217;t require mesh, but it does require you change the physics shape of your prims from prim to Convex Hull and be warned, there are some gotchas with this, if &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/sl.governormarley.com\/?p=1598\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Using Convex Hull To Lower Land Impact&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[3,14],"tags":[297,19,1022],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6rJUK-pM","jetpack-related-posts":[],"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts\/1598"}],"collection":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1598"}],"version-history":[{"count":4,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts\/1598\/revisions"}],"predecessor-version":[{"id":1600,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts\/1598\/revisions\/1600"}],"wp:attachment":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}