{"id":2329,"date":"2016-08-24T08:47:35","date_gmt":"2016-08-24T08:47:35","guid":{"rendered":"https:\/\/www.kitely.com\/virtual-world-news\/?p=2329"},"modified":"2016-08-24T08:47:35","modified_gmt":"2016-08-24T08:47:35","slug":"automatic-world-optimization-and-other-improvements","status":"publish","type":"post","link":"https:\/\/www.kitely.com\/virtual-world-news\/2016\/08\/24\/automatic-world-optimization-and-other-improvements\/","title":{"rendered":"Automatic World Optimization and Other Improvements"},"content":{"rendered":"<p>We updated Kitely today with several features that improve the\u00a0in-world experience, including a system that automatically optimizes Kitely worlds so they&#8217;ll start faster.<\/p>\n<p><strong>Automatic World Optimization<\/strong><\/p>\n<p>A common problem in OpenSim is that objects that have complex physics meshes can cause the world to start slowly. A\u00a0physics mesh is the part of the object that determines where it&#8217;s solid, and where avatars can walk through it. For example,\u00a0suppose you have a\u00a0large arch in your world. The object&#8217;s\u00a0physics mesh would also be in the shape of an arch: this is what allows users to walk back and forth under the arch.<\/p>\n<p>Most physics meshes are simple and don&#8217;t cause a problem. However,\u00a0if these physics meshes are very complex (i.e., they contain many triangles), then it takes OpenSim a long time to parse them. This\u00a0makes the world start slower, because this parsing is performed when the world starts. In some cases we&#8217;ve seen worlds that take an extra 10 minutes (!) to start, just because of the time that they have to spend parsing complex physics meshes.<\/p>\n<p>Note that\u00a0<strong>all<\/strong> objects have a physics mesh; not only mesh objects. However, in practice, usually only mesh objects (and some sculpties)\u00a0can have a physics mesh that&#8217;s complex enough to cause a problem.<\/p>\n<p>In the past, when we&#8217;ve seen this problem we used to\u00a0contact world owners and ask them to fix their objects: either by simplifying the physics mesh, or by making the objects phantom (since a phantom object&#8217;s physics mesh isn&#8217;t used, and therefore it doesn&#8217;t take any time to parse during startup). But this took a lot of work both on our part, and on the world owner&#8217;s part, who had to track down all of the objects and fix them.<\/p>\n<p>Therefore, in today&#8217;s update we added a feature that automatically handles this problem. When Kitely worlds start, any object that takes 1.5 seconds or more to parse is automatically made phantom.\u00a0Because this is done automatically,\u00a0world owners no longer need to track down the objects themselves. We also send an email with a detailed list of all the objects that we had made phantom, so if the world owner prefers to optimize their physics meshes and make the objects non-Phantom then they can easily locate the objects in-world.<\/p>\n<p>Here&#8217;s an example of part of such an email:<\/p>\n<pre style=\"padding-left: 30px;\">Dear Oren,\r\n\r\nYour Kitely world <span style=\"text-decoration: underline;\">Bridges<\/span> contains some objects with complex physics meshes. These\r\nmeshes were causing the world to start slowly, because of the time that it takes\r\nOpenSim to process them.\r\n\r\n[...]\r\n\r\n<strong>Slow mesh:<\/strong> 4266 ms\r\n    Object:\r\n        Name: <strong>Tennis Racket High<\/strong>\r\n        UUID: af322f3d-e937-4876-b060-c908762f8e5f\r\n        Location: (402.1, 249.4, 20.9)<\/pre>\n<p>This feature is now live in all Kitely worlds.<\/p>\n<p><strong>Enabled\u00a0llRequestURL in the Same Region<\/strong><\/p>\n<p>Before today&#8217;s update, there was a problem with\u00a0<a href=\"http:\/\/wiki.secondlife.com\/wiki\/LlRequestURL\">llRequestURL<\/a>: the URL that it returned only worked when it was called\u00a0from <strong>other<\/strong> regions. However, when it was called from a prim in the same region, it didn&#8217;t work. This happened due to a security feature in OpenSim whose details are too technical\u00a0to explain here. If you&#8217;re interested, see <a href=\"https:\/\/www.kitely.com\/forums\/viewtopic.php?f=11&amp;t=3290\">this forum thread<\/a> for more information.<\/p>\n<p>We&#8217;ve now fixed this problem, by having llRequestURL provide URLs that contain\u00a0an IP instead of a hostname.<\/p>\n<p><strong>More Offline IMs<\/strong><\/p>\n<p>Some of our users have said that they often reach the limit on Offline IMs (which was 25), causing them to miss some IMs. Therefore, we&#8217;ve increased the number of Offline IMs that are saved for each avatar\u00a0from 25 to 50. This is the same limit that Premium Account users in Second Life get.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We updated Kitely today with several features that improve the\u00a0in-world experience, including a system that automatically optimizes Kitely worlds so they&#8217;ll start faster. Automatic World Optimization A common problem in OpenSim is that objects that have complex physics meshes can cause the world to start slowly. A\u00a0physics mesh is the part of the object that &hellip; <a href=\"https:\/\/www.kitely.com\/virtual-world-news\/2016\/08\/24\/automatic-world-optimization-and-other-improvements\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Automatic World Optimization and Other Improvements<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2329","post","type-post","status-publish","format-standard","hentry","category-virtual-worlds"],"_links":{"self":[{"href":"https:\/\/www.kitely.com\/virtual-world-news\/wp-json\/wp\/v2\/posts\/2329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kitely.com\/virtual-world-news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kitely.com\/virtual-world-news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kitely.com\/virtual-world-news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kitely.com\/virtual-world-news\/wp-json\/wp\/v2\/comments?post=2329"}],"version-history":[{"count":14,"href":"https:\/\/www.kitely.com\/virtual-world-news\/wp-json\/wp\/v2\/posts\/2329\/revisions"}],"predecessor-version":[{"id":2345,"href":"https:\/\/www.kitely.com\/virtual-world-news\/wp-json\/wp\/v2\/posts\/2329\/revisions\/2345"}],"wp:attachment":[{"href":"https:\/\/www.kitely.com\/virtual-world-news\/wp-json\/wp\/v2\/media?parent=2329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kitely.com\/virtual-world-news\/wp-json\/wp\/v2\/categories?post=2329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kitely.com\/virtual-world-news\/wp-json\/wp\/v2\/tags?post=2329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}