<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:black'>Thanks!<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'>I imagine that we could load the splits into empty 256x256 regions and then create new oars the usual way to get the assets reattached for export.<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'>Myron<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> opensim-dev-bounces@opensimulator.org [mailto:opensim-dev-bounces@opensimulator.org] <b>On Behalf Of </b>Heilmann, Michael<br><b>Sent:</b> Tuesday, October 27, 2015 12:51 PM<br><b>To:</b> opensim-dev@opensimulator.org; 'moses-list@lists.mitre.org'<br><b>Subject:</b> [Opensim-dev] Splitting VAR regions<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div id=divtagdefaultwrapper><p style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>OpenSim Users and Developers<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'><o:p> </o:p></span></p><p style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>I have written and released a few python scripts that operate on OpenSimulator version 0.8 OAR files.  Three of them are simply visualization tools, but the primary effort script (split.py) will operate on a VAR region OAR file, and split it into multiple standard 256 meter region OAR files.<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'><o:p> </o:p></span></p><p style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>VAR regions are very useful, but they have a few shortcomings.  We saw that VAR regions do not scale well, and that normal operations (such as maptile generation, or persistence) could make the larger regions unusable for minutes at a time.  Unfortunately, OpenSimulator only provides mechanisms for loading a standard oar into a VAR region.  I could not find any mechanism for saving a tile out of a VAR region.  So I wrote one.<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'><o:p> </o:p></span></p><p style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>The scripts are released under MIT, and are available at <a href="https://github.com/M-O-S-E-S/opensim-oar-utilities" title="https://github.com/M-O-S-E-S/opensim-oar-utilities Ctrl+Click or tap to follow the link" id=LPlnk753908>https://github.com/M-O-S-E-S/opensim-oar-utilities</a>.  I have only tested these internally, so if anyone would be willing to test them, or provide input, it would be appreciated.  Feedback and contributions are welcome.  I have successfully run it against a 2x2 VAR region and a 6x6 VAR region on the MOSES Grid.<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>Caveats on this version: <o:p></o:p></span></p><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'> - The resultant OAR files are currently asset-less.  So they should only be loaded into grids where the assets in question already exist, such as the grid containing the original VAR region.<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>- Assets that are off-region (coordinates outside of the 0-256,0-256 coordinate square) are ignored.<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>Thanks<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>Michael Heilmann<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'><o:p> </o:p></span></p></div></div></div></body></html>