[Opensim-dev] Splitting VAR regions

Myron Curtis myronjc at virtualworldsgrid.com
Wed Oct 28 15:49:29 UTC 2015


Thanks!

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.

Myron

 

From: opensim-dev-bounces at opensimulator.org
[mailto:opensim-dev-bounces at opensimulator.org] On Behalf Of Heilmann,
Michael
Sent: Tuesday, October 27, 2015 12:51 PM
To: opensim-dev at opensimulator.org; 'moses-list at lists.mitre.org'
Subject: [Opensim-dev] Splitting VAR regions

 

OpenSim Users and Developers

 

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.

 

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.

 

The scripts are released under MIT, and are available at
https://github.com/M-O-S-E-S/opensim-oar-utilities.  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.

 

Caveats on this version: 

 - 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.

- Assets that are off-region (coordinates outside of the 0-256,0-256
coordinate square) are ignored.

 

Thanks

 

Michael Heilmann

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20151028/36267e52/attachment.html>


More information about the Opensim-dev mailing list