{"id":4213,"date":"2018-01-28T17:47:58","date_gmt":"2018-01-28T23:47:58","guid":{"rendered":"http:\/\/blog.zoha-islands.com\/?p=4213"},"modified":"2018-01-28T17:47:58","modified_gmt":"2018-01-28T23:47:58","slug":"sl-tutorial-how-to-cut-land-impact-memory-load-of-second-life-buildings-by-40-with-modding","status":"publish","type":"post","link":"https:\/\/zoha-islands.com\/blog\/sl-tutorial-how-to-cut-land-impact-memory-load-of-second-life-buildings-by-40-with-modding\/","title":{"rendered":"SL Tutorial: How To Cut Land Impact &#038; Memory Load Of Second Life Buildings By 40%+ With Modding"},"content":{"rendered":"<div id=\"entry-6a00d8341bf74053ef01bb09ebbed1970d\" class=\"entry-category-art_projects_in_sl entry-author-slhamlet entry-type-post entry\">\n<div class=\"entry-inner\">\n<div class=\"entry-footer\"><\/div>\n<\/div>\n<\/div>\n<div id=\"entry-6a00d8341bf74053ef01b7c9486a79970b\" class=\"entry-category-sl_blogger_link entry-category-tutorial entry-author-slhamlet entry-type-post entry\">\n<div class=\"entry-inner\">\n<h3 class=\"entry-header\"><a href=\"http:\/\/nwn.blogs.com\/nwn\/2018\/01\/sl-building-optimization-tutorial-penny-patton.html\">SL Tutorial: How To Cut Land Impact &amp; Memory Load Of Second Life Buildings By 40%+ With Modding<\/a><\/h3>\n<p>So a common complaint we receive is definitely lag.\u00a0 This complaints kind of comes with the Second Life territory unfortunately, but there are some things that people can do to help reduce this.<\/p>\n<p>Common Things:<\/p>\n<p>Removing unnecessary scripts from items such as trees and landscaping &#8211; anything that is texture change via a menu &#8211; also has a DELETE option &#8211; which should be utilized once the objects are placed and as you build.\u00a0 Rez scripts should be removed after rezzing large scale items from rez boxes.\u00a0 Some common rez script names are as follows:\u00a0Huge item, positioner, rez faux, ZeroRez, SD_LinkedPrimController, building all, buildingAligner Reciever, component &#8211; part, rez-free, component_MLS and link component.\u00a0 All of these are unnecessary once the build is placed into its final position.\u00a0\u00a0When and if we are called to the sim for lag issues and find these scripts running you will be contacted by our support staff. These actions are to keep our sims running to the best of their ability and ensure the quality of your living experience with us remains nothing but the best.<\/p>\n<p>In crusing through my daily news feeds and follows I came across an article by Penny Patton that helps to describe modding your structures and objects to reduce lag, prims and make your sim run so much smoother! I also do alot of exactly what she does here when building my own land up.\u00a0 It helps so much with sim stress!\u00a0 Check the links below for the step by step guide &amp; Make sure you hit follow on her blog!<\/p>\n<div class=\"entry-content\">\n<div class=\"entry-body\">\n<p><a class=\"asset-img-link\" href=\"http:\/\/pennycow.blogspot.com\/2018\/01\/saving-li-and-framerates-through.html\"><img decoding=\"async\" class=\"asset asset-image at-xid-6a00d8341bf74053ef01b8d2d2ba77970c image-full img-responsive aligncenter\" title=\"SL building optimization tutorial Penny Patton\" src=\"http:\/\/nwn.blogs.com\/.a\/6a00d8341bf74053ef01b8d2d2ba77970c-800wi\" alt=\"SL building optimization tutorial Penny Patton\" border=\"0\" \/><\/a><\/p>\n<p>Read about how RL professional visual designer Penny Patton can make\u00a0<a href=\"http:\/\/nwn.blogs.com\/nwn\/2018\/01\/second-life-optimized-fps-fallout-4-penny-patton.html\">Second Life look as good as Fallout 4, even on an older computer\u00a0<\/a>&#8212; now read\u00a0<a href=\"http:\/\/pennycow.blogspot.com\/2018\/01\/saving-li-and-framerates-through.html\">her step-by-step guide to doing that with a single building (this post-apocalyptic scrap house above) which she bought in the SL marketplace, through modding<\/a>:<\/p>\n<blockquote><p>&#8220;I realized that by setting the entire building to &#8220;no physics&#8221; and replacing the physics with an invisible shell of box prims set to &#8220;convex hull&#8221; I was able to save yet more land impact.\u00a0 This doesn&#8217;t always work, but it works often enough to give it a try and here it ended up saving me a tonne of Land Impact points&#8230;.\u00a0<strong>This scrap house is covered in various unique corrugated metal panels.<\/strong>\u00a0They&#8217;re not identical. Out of the box there&#8217;s like 6-12 different panels each with it&#8217;s own texture, spec map and normal map. All of which are 1024&#215;1024.\u00a0 Each texture uses 4MB of memory on its own and it&#8217;s simple arithmetic to see how that adds up.<strong>\u00a0What I did was remove every type of panel except 2.\u00a0<\/strong>Then I copied the remaining 2 panels to replace each of the panels I removed. Not difficult, but a little tedious and time consuming. But worth it!<\/p>\n<p><strong>Reducing VRAM\/Texture Use<\/strong><\/p>\n<p><b>\u00a0VRAM\/Texture Memory is less common knowledge in SL but I&#8217;ll try and summarize.\u00a0<\/b>Your graphics card has a set amount of memory to use rendering what you see in SL.\u00a0<b>All the textures you see have to be in that memory to be displayed<\/b>, but so much more relies on that memory so you cannot max your card&#8217;s memory out on textures alone or you see massive framerate losses and &#8220;texture thrashing&#8221;. Texture thrashing is when you see textures going blurry and re-rezzing. You also have to download all these textures, which contributes to lag and slow rez times.<\/p>\n<p><b>\u00a0360MB might not sound like a lot of memory, but it&#8217;s only one building in an entire sim and then you throw avatars and their memory use into the mix.\u00a0<\/b>My videocard only has 2GB of VRAM. It&#8217;s a midrange card, a few years old. Newer, more expensive cards have up to around 8GB. Onboard graphics have very little, if any, dedicated memory.<\/p>\n<p>Following so far? Ok, good!<br \/>\n<b><br \/>\n<\/b><b>This scrap house is covered in various unique corrugated metal panels.<\/b>\u00a0They&#8217;re not identical. Out of the box there&#8217;s like 6-12 different panels each with it&#8217;s own texture, spec map and normal map. All of which are 1024&#215;1024.\u00a0 Each texture uses 4MB of memory on its own and it&#8217;s simple arithmetic to see how that adds up.&#8221;<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<\/div>\n<div id=\"signature\">\n<div id=\"signature-inner\"><\/div>\n<\/div>\n<\/div>\n<div class=\"entry-footer\"><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>SL Tutorial: How To Cut Land Impact &amp; Memory Load Of Second Life Buildings By 40%+ With Modding So a common complaint we receive is definitely lag.\u00a0 This complaints kind of comes with the Second Life territory unfortunately, but there are some things that people can do to help reduce this. Common Things: Removing unnecessary &hellip; <a href=\"https:\/\/zoha-islands.com\/blog\/sl-tutorial-how-to-cut-land-impact-memory-load-of-second-life-buildings-by-40-with-modding\/\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":4217,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,3,4,5],"tags":[],"_links":{"self":[{"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/posts\/4213"}],"collection":[{"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/comments?post=4213"}],"version-history":[{"count":0,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/posts\/4213\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/media\/4217"}],"wp:attachment":[{"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/media?parent=4213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/categories?post=4213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/tags?post=4213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}