Megaregion OAR upload does not work properly [SOLVED]

Ask questions about creating worlds, using worlds, etc.
Post Reply
User avatar
Zuza Ritt
Posts: 235
Joined: Mon Dec 24, 2012 10:25 pm
Has thanked: 205 times
Been thanked: 308 times
Contact:

Megaregion OAR upload does not work properly [SOLVED]

Post by Zuza Ritt »

I have uploaded 4x4 region OAR into new 4x4 Kitely region. There were uploaded:
- objects in root region
- terrain for root and all others region (which had terrain specified)
- NO OBJECTS in others 15 regions.

My OAR is made on vanilla OpenSim (with save oar -all), with megaregion on (CombineContiguousRegions = true). OAR is ok, it is able to be successfully uploaded into another instance of OpenSim (both 0.8.1). All object in OAR are created by me, so no problem with permissions are possible.
My OpenSim has default, BulletSim physics, Kitely world has default, ODE physics. I did not try to switch neither of them, but I guess it is not related?

Advanced megaregion in Kitely is on, it was on automatically, I did not changed it. It is not possible to be changed during process of creating of new world(?)

I would like to backup my one OAR in OpenSim, upload this one OAR into Kitely and vice versa. According to bits founded in this forum, it is possible, and I followed these instruction. It does not work like I expected.
Now I would like to know why my objects are not uploaded and how to find where is the problem?
Are there some complete instructions for this process, which I have not been able to google?
Last edited by Zuza Ritt on Sat Jun 27, 2015 7:18 pm, edited 1 time in total.
I live among the trees. You are invited too:) Visit 21strom.
My Kitely Market. 21strom webpage.
User avatar
Ilan Tochner
Posts: 6728
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 5251 times
Been thanked: 4675 times
Contact:

Re: Megaregion OAR upload does not work properly

Post by Ilan Tochner »

Hi Zuza,

You should be able to import/export your world back and forth using OAR files created in Kitely and on your local instance of OpenSim.

The physics engine shouldn't effect OAR creation but it can effect OAR imports as some complex non-phantom objects are handled differently by the different physics engines (they need to calculate object collision meshes during the upload process). That said, once the upload is completed this shouldn't change what you actually see inworld.

You can change physics engine and Advanced Megaregion mode settings after a world has been created (in the Advanced tab of the world's Manage World dialog). That said, I would highly recommend you do not use BulletSim (anywhere) as it still consumes a lot more server resources than ODE, meaning you'll get lag with fewer avatars inworld.

Is it possible your OAR was of a VarRegion instead of a Megaregion? (both should work but that could be useful information)
User avatar
Zuza Ritt
Posts: 235
Joined: Mon Dec 24, 2012 10:25 pm
Has thanked: 205 times
Been thanked: 308 times
Contact:

Re: Megaregion OAR upload does not work properly

Post by Zuza Ritt »

Thanks Ilan.
I made my OAR at my own OpenSim, so I was in control of settings, it was not VarRegion.
If I can understand correctly, I have to change to ODE in my OpenSim and it could have an influence on import into Kitely? Where Advanced Megaregion have to be on?
I live among the trees. You are invited too:) Visit 21strom.
My Kitely Market. 21strom webpage.
User avatar
Ilan Tochner
Posts: 6728
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 5251 times
Been thanked: 4675 times
Contact:

Re: Megaregion OAR upload does not work properly

Post by Ilan Tochner »

The change would not be to what you get but rather to the collision mesh creation process which can be very different between the two physics engines.

You can change Advanced Megaregion settings in the Advanced tab of the Manage World dialog, but I'd recommend you keep it enabled when you aren't terraforming your world.

Please try importing the same OAR file again and seeing how many objects it reports inworld. Is it the same number you have on your local sim?
User avatar
Dot Matrix
Posts: 1630
Joined: Sun Jul 28, 2013 3:26 am
Has thanked: 1218 times
Been thanked: 2333 times

Re: Megaregion OAR upload does not work properly

Post by Dot Matrix »

I know it sounds odd, but in my local copy of OpenSim I turn megaregion mode OFF (CombineContiguousRegions=FALSE).

The --all switch still works when saving a megaregion OAR from the root region.

I've made quite a few megaregion OARs for Kitely using this set-up, including ones for other people.
These users thanked the author Dot Matrix for the post:
Zuza Ritt
User avatar
Zuza Ritt
Posts: 235
Joined: Mon Dec 24, 2012 10:25 pm
Has thanked: 205 times
Been thanked: 308 times
Contact:

Re: Megaregion OAR upload does not work properly

Post by Zuza Ritt »

Ilan, my root region in Kitely have got same amount of prims, like my local root region. Other Kitely regions have got 0 prims. My other local regions have got about 2600 prims in them.
There is about 7500 prims at 16 regions altogether in my OAR, so I am sure I am not exceeding Kitely prim limit for world.


Thank you, Dot, for suggestion. I have planned to use these odd options as last steps;)
I have tried switch off megaregion before creating OAR. It failed in import into Kitely:

Replace World Failed
Couldn't start the virtual world


This new oar has same data size and same amount of assets during export, like previous one, just megaregion was off. I imported this new oar into another instance of OpenSim, again, no problem there.
I live among the trees. You are invited too:) Visit 21strom.
My Kitely Market. 21strom webpage.
User avatar
Ilan Tochner
Posts: 6728
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 5251 times
Been thanked: 4675 times
Contact:

Re: Megaregion OAR upload does not work properly

Post by Ilan Tochner »

Please try changing your local physics engine to ODE before exporting the world then import that into Kitely.
User avatar
Oren Hurvitz
Posts: 361
Joined: Sun Dec 23, 2012 8:42 am
Has thanked: 19 times
Been thanked: 500 times
Contact:

Re: Megaregion OAR upload does not work properly

Post by Oren Hurvitz »

Hi Zuza,

You didn't mention which world you attempted to replace. Was it "21strom"? I see one attempt to replace this world in the logs. That attempt failed due to a temporary problem, so please try to replace the world again.
These users thanked the author Oren Hurvitz for the post (total 2):
Selby EvansZuza Ritt
User avatar
Zuza Ritt
Posts: 235
Joined: Mon Dec 24, 2012 10:25 pm
Has thanked: 205 times
Been thanked: 308 times
Contact:

Re: Megaregion OAR upload does not work properly

Post by Zuza Ritt »

Hi Oren,
thank you for notice, there was the problem. I tried again and it was successful.

Thank you all for advices.

I guess I am not last one who need to do that, so there is a summary.

How to export 4x4 (3x3, 2x2) megaregion from (local) OpenSim to Kitely megaregion:

1. I created new instance of OpenSim 0.8.1 and run it first with no modification.
2. Created 16 regions in the Region.ini, each region is common region with a unique UUID, name of region didn't matter, layout was 4x4 regions. Root region was in the SW corner.
3. Created content in regions, some exported and imported from single Kitely regions, some new.
(Then I rotated content of some regions by "rotate scene" and rotated terrain in bitmap editor.)
4. Megaregion was off (CombineContiguousRegions=false,) physics was default (BulletSim) - no changes needed, it is default, just for record
5. Exported oar by "save oar -all yourname.oar"
6. Imported oar to Kitely 4x4 region, with default ODE physics. Advanced Megaregion was turned off after import, so it could to be changed at World-Manage World-Advanced tab

All objects are imported successfuly, all my landscapes with "walkable" collision physics are ok and working.
These users thanked the author Zuza Ritt for the post (total 3):
Dot MatrixSelby EvansIlan Tochner
I live among the trees. You are invited too:) Visit 21strom.
My Kitely Market. 21strom webpage.
Post Reply