{"id":3734,"date":"2014-03-03T20:26:07","date_gmt":"2014-03-03T20:26:07","guid":{"rendered":"http:\/\/sl.governormarley.com\/?p=3734"},"modified":"2014-03-03T20:26:07","modified_gmt":"2014-03-03T20:26:07","slug":"second-life-content-creators-should-pay-attention-to-penny-patton","status":"publish","type":"post","link":"https:\/\/sl.governormarley.com\/?p=3734","title":{"rendered":"Second Life Content Creators Should Pay Attention To Penny Patton"},"content":{"rendered":"<p><a title=\"Skara Brae Statue by Ciaran Laval, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/ciaran_laval\/12892468323\/\"><img loading=\"lazy\" decoding=\"async\" alt=\"Skara Brae Statue\" src=\"https:\/\/i0.wp.com\/v4s2.yimg.com\/sk\/3817\/12892468323_88133e3943.jpg?resize=500%2C238&#038;ssl=1\" width=\"500\" height=\"238\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p><span style=\"line-height: 1.5em;\">To some <a title=\"Penny Patton\" href=\"http:\/\/pennycow.blogspot.co.uk\/\" target=\"_blank\">Penny Patton<\/a> is like a broken record, calling for people to change their camera angles, change the way they use textures, change scale, change their perceptions. However Penny&#8217;s content creation tips for Second Life should be heeded, even if you don&#8217;t agree with all of them. Penny&#8217;s site has a lot of good information but the post I&#8217;m going to highlight today is : <\/span><a style=\"line-height: 1.5em;\" title=\"Building A Better Second Life\" href=\"http:\/\/pennycow.blogspot.co.uk\/2013\/06\/building-better-second-life.html\" target=\"_blank\">Building A Better Second Life<\/a><span style=\"line-height: 1.5em;\">.<\/span><\/p>\n<p><a title=\"Skara Brae Tavern by Ciaran Laval, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/ciaran_laval\/12892376005\/\"><img loading=\"lazy\" decoding=\"async\" alt=\"Skara Brae Tavern\" src=\"https:\/\/i0.wp.com\/v4s2.yimg.com\/sk\/3775\/12892376005_dc9112337b.jpg?resize=500%2C238&#038;ssl=1\" width=\"500\" height=\"238\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Most of the tips Penny advises content creators to follow actually work to improve Second Life performance, for example:<\/p>\n<blockquote><p><em>Textures eat up bandwidth to download, processing power for the sim to retrieve them from the asset server and deliver them to your viewer, and then your videocard needs to store them in memory and render them. Too many large textures are one of the biggest reasons SL gets such poor framerates and why everything takes so long to rez.<\/em><\/p><\/blockquote>\n<p>This is undeniably true. Larger than needed textures hit performance, using too many textures will also hit performance too.<\/p>\n<p><a title=\"Skara Brae Buildings by Ciaran Laval, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/ciaran_laval\/12892468053\/\"><img loading=\"lazy\" decoding=\"async\" alt=\"Skara Brae Buildings\" src=\"https:\/\/i0.wp.com\/v4s2.yimg.com\/sk\/3710\/12892468053_f44a974dd4.jpg?resize=500%2C238&#038;ssl=1\" width=\"500\" height=\"238\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Penny doesn&#8217;t just provide tips and sit back and hope people notice, she allows people to call her bluff because examples of Penny&#8217;s work exist within Second Life and there are no two ways about this, performance is generally extremely good where Penny builds. Textures load fast, you can move around, you&#8217;re not sat there waiting for grey buildings to rez.<\/p>\n<p><!--more--><\/p>\n<p><a title=\"Skara Brae Inside by Ciaran Laval, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/ciaran_laval\/12892467873\/\"><img loading=\"lazy\" decoding=\"async\" alt=\"Skara Brae Inside\" src=\"https:\/\/i0.wp.com\/v4s2.yimg.com\/sk\/3746\/12892467873_ee4c68bd57.jpg?resize=500%2C238&#038;ssl=1\" width=\"500\" height=\"238\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Penny gives plenty of examples of where people may make inefficient content within a Second Life, and other virtual world, context :<\/p>\n<blockquote><p><em>From another store I purchased a simple, one room house. Not counting the two windows and the single door, the house uses eighteen 1024&#215;1024 textures. Realistically, this house could have been textured with no more than three 512&#215;512 textures and looked more or less identical.<\/em><\/p><\/blockquote>\n<p>Now if you want to know why that&#8217;s not optimal design, you don&#8217;t just need to listen to Penny, you can check out the <a title=\"Second Life Wiki God Building Practices\" href=\"http:\/\/wiki.secondlife.com\/wiki\/Good_Building_Practices\" target=\"_blank\">good building practices<\/a> on the Second Life wiki, especially the part about <a title=\"Texture usage\" href=\"http:\/\/wiki.secondlife.com\/wiki\/Texture_Usage\" target=\"_blank\">texture usage<\/a>\u00a0and the linked page of <a title=\"Texture sizes\" href=\"http:\/\/wiki.secondlife.com\/wiki\/Texture_sizes\" target=\"_blank\">texture sizes<\/a> which lists how much memory textures can take up, here are a few examples for 32-bit textures:<\/p>\n<ul>\n<li>1024 x 1024 &#8211; 4MB<\/li>\n<li>512 x 512 &#8211; 1MB<\/li>\n<li>256 x 256 &#8211; 192KB<\/li>\n<li>128 x 128 &#8211; 64KB<\/li>\n<\/ul>\n<p>As you can hopefully see, larger textures take up more memory and a lot of them are quickly going to start to tax an average graphics card.<\/p>\n<p><a style=\"line-height: 1.5em;\" title=\"Skara Brae Snow by Ciaran Laval, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/ciaran_laval\/12892467883\/\"><img loading=\"lazy\" decoding=\"async\" alt=\"Skara Brae Snow\" src=\"https:\/\/i0.wp.com\/v4s2.yimg.com\/so\/7430\/12892467883_9c0a413692.jpg?resize=500%2C238&#038;ssl=1\" width=\"500\" height=\"238\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Penny points out how textures can impact performance with another example, this time from changing the textures on her build herself, the results are quite staggering:<\/p>\n<blockquote><p><em>I have used a variety of tricks to remove over sixty 1024&#215;1024&#8217;s worth of textures and saw my framerates jump from single digits to over 30fps in the worst areas. With shadows on. I&#8217;m seeing around 50-60fps in the best areas of the island, up from about 20 before I went gung-ho on texture use.<\/em><\/p><\/blockquote>\n<p>Now of course there is a balance here, smaller textures mean less detail. There&#8217;s also the issue of texture reuse being important. If you have a 1024 x 1024 texture that you use repeatedly, it may be better to stick with that size if you absolutely can&#8217;t get away with a smaller size because repeated use of the same sized texture can also provide a performance boost, as the Second Life wiki explains:<\/p>\n<blockquote><p><em>If you have one texture repeated many times around your parcel\/region, it costs more resources to have that one texture broken down into various sizes for different sized surfaces. In this case it is better to just have one size of the texture throughout your land.<\/em><\/p><\/blockquote>\n<p>However the Second Life wiki does also caution against using 1024 x 1024 textures:<\/p>\n<blockquote><p><em>You should rarely ever use 1024 x 1024 sized textures. Try to avoid using this size as much as possible.<\/em><\/p><\/blockquote>\n<p>The reason for that has already been explained by Penny, larger textures use more memory.<\/p>\n<p><a title=\"Skara Brae Labyrinth by Ciaran Laval, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/ciaran_laval\/12892798074\/\"><img loading=\"lazy\" decoding=\"async\" alt=\"Skara Brae Labyrinth\" src=\"https:\/\/i0.wp.com\/v4s2.yimg.com\/so\/7296\/12892798074_359ea40fd9.jpg?resize=500%2C238&#038;ssl=1\" width=\"500\" height=\"238\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Textures of course aren&#8217;t the only component that causes latency in Second Life, but they are a big one. Careful usage of scripts can also help with performance. Scripts compiled in <a title=\"Mono\" href=\"http:\/\/wiki.secondlife.com\/wiki\/Mono\" target=\"_blank\">Mono<\/a> have a nifty feature called bytecode sharing, the advantage of that is explained by the Second Life Wiki:<\/p>\n<blockquote><p><em>Mono can do bytecode sharing. Thus multiple copies of scripts with the same asset id will only take up as much room as one instance. Imagine some script that you use a dozen times on your land. If each of the objects containing the script is separately compiled from text source, you will use up a dozen times the script&#8217;s size of memory. But if instead you simply drag a copy of the single, already compiled script into each of the dozen objects, then no matter how many copies exist they only take up the size of one script (plus data) in memory.<\/em><\/p><\/blockquote>\n<p>The really important point to note there is that the scripts must be the same asset ID, so compile once and then copy that compiled script into your other objects if you want to take advantage of this, don&#8217;t copy and paste the code into a new script.<\/p>\n<p><a title=\"Skara Brae Outdoors by Ciaran Laval, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/ciaran_laval\/12892374995\/\"><img loading=\"lazy\" decoding=\"async\" alt=\"Skara Brae Outdoors\" src=\"https:\/\/i0.wp.com\/v4s2.yimg.com\/so\/7438\/12892374995_bfc7135bb2.jpg?resize=500%2C238&#038;ssl=1\" width=\"500\" height=\"238\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>However back to Penny, she doesn&#8217;t just talk the talk, she actually walks the walk. If you&#8217;re brave and can turn a blind eye to adult themes, you can see some of Penny&#8217;s work in the Skara Brae sim in Second Life:<\/p>\n<p>SLURL To Skara Brae :\u00a0<a title=\"SLURL\" href=\"http:\/\/maps.secondlife.com\/secondlife\/Skara%20Brae\/237\/239\/1341\" target=\"_blank\">http:\/\/maps.secondlife.com\/secondlife\/Skara%20Brae\/237\/239\/1341<\/a><\/p>\n<p>There you should find options to teleport to a few destinations. Unfortunately this is an adult sim &#8230;. no really, I&#8217;m warning you, this is adult oriented in a way that some may not like. However if you go during a quiet period you should be fine, there are some really nice examples of efficient builds here and I&#8217;ve included some shots of the sim in the images for this post. However it is an adult rated sim advertising adult rated themes.<\/p>\n<p>Between them, Penny and Linden Lab can point people in the right direction, although some people will have their own efficiency methods and some of those may well be different to LL&#8217;s or Penny&#8217;s. Optimising content for a shared creative space such as Second Life is something that should be encouraged more, Penny does a good job and Linden Lab have some good information but I do wish Linden Lab would shout about it more often, the resources are there but it would be useful if they were highlighted more often.<\/p>\n<p><a class=\"twitter-share-button\" href=\"https:\/\/twitter.com\/share\" data-via=\"Ciaran_Laval\">Tweet<\/a><br \/>\n<script type=\"text\/javascript\">\/\/ <![CDATA[\n!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=\/^http:\/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+':\/\/platform.twitter.com\/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');\n\/\/ ]]><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To some Penny Patton is like a broken record, calling for people to change their camera angles, change the way they use textures, change scale, change their perceptions. However Penny&#8217;s content creation tips for Second Life should be heeded, even if you don&#8217;t agree with all of them. Penny&#8217;s site has a lot of good &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/sl.governormarley.com\/?p=3734\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Second Life Content Creators Should Pay Attention To Penny Patton&#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":[19,679,1022],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6rJUK-Ye","jetpack-related-posts":[],"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts\/3734"}],"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=3734"}],"version-history":[{"count":1,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts\/3734\/revisions"}],"predecessor-version":[{"id":3735,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts\/3734\/revisions\/3735"}],"wp:attachment":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}