[Opensim-users] Blender Exporter for OpenSim

Justin Clark-Casey jjustincc at googlemail.com
Mon Sep 22 20:15:32 UTC 2008


Shree Kumar wrote:
> Justin Clark-Casey wrote:
>> Shree Kumar wrote:
>>   
>>> +1. That's a downside of my exporter : it writes directly to the
>>> database. Not pretty.
>>> Issue is that I need to restart my opensim instance every time I export
>>> the scene.
>>>
>>> The "load-xml2" command doesn't seem to fit these requirements too.
>>>     
>>
>> In what way doesn't it fit, Shree?
>>   
> Could be my ignorance speaking here :-) I've been using OpenSim for 
> about 3 weeks; and haven't read much of the code either.
> 
> I thought the save-xml2 command just saves the data in the prims & 
> primshapes tables. That doesn't include the assets that are needed is 
> that correct ?

That's correct.  The save-oar command will save the assets as well and package everything into a tar.gz file.

In principle you could also construct an archive from scratch and load it in via load-oar.  I was attempting to 
construct a format where that could be done reasonably easily, though unfortunately as yet it is undocumented (evil, I 
know).

If you do attempt to construct an oar tar.gz there is a small gotcha.  Due to licensing issues I won't go into now, I 
had to hand write a tar packer/unpacket which currently only handles the old tar V7 format archive (as used in gtar's 
--format=v7 option as detailed on its man page).

-- 
justincc
Justin Clark-Casey
http://justincc.wordpress.com



More information about the Opensim-users mailing list