[Opensim-users] Assets 101

jon cundill jcundill at gmail.com
Fri May 1 20:45:14 UTC 2009


Hi
As suggested in the mail thread, I tidied up the code for this feature and
added it to the forge

http://forge.opensimulator.org/gf/project/uploadext.

- I haven't been back to it since Feb though, so will probably need some
tweaks to get it to work against current trunk.

Main problem with this approach is the speed of the upload / download.
Whilst OK for terrain files, it is _painfully_ slow for larger things like
oar files, my Osgrid region took around 30 mins to transfer through
this mechanism- SCP takes around 30 seconds.


jonc






2009/5/1 Stefan Andersson <stefan at tribalmedia.se>

>  Has anybody tried this feature out? Does it work?
>
> Best regards,
> Stefan Andersson
>
>
>
>
> ------------------------------
> Date: Thu, 5 Feb 2009 22:18:08 +0000
> From: jcundill at gmail.com
>
> To: opensim-users at lists.berlios.de
> Subject: Re: [Opensim-users] Assets 101
>
> Hi
> Just knocked together a quick and dirty prototype for this, and using the
> Terrain Upload/ Download for OAR files actually works quite well.
>
> - Noticed Limitations
>
> Viewer needs you to have .raw on the end of the filename. So you end up
> downloading and uploading files named house.oar.raw rather than house.oar.
>
> Maybe the Hippo Viewer people could do something about this if this goes
> further.
>
> It is slow, and little feedback is given to the user until it has
> completed, so the 2.4 Mb house from the Free Assets page takes around 4 mins
> to upload or download on a localhost standalone.
>
> I have regions with 30Mb oar files - that would take nearly half an hour to
> transfer, probalby longer across the internet.
>
> You can probably send Estate Messages with some progress indication to
> alleviate this.
>
> As well as OAR files, this technique can also probably be used to
> upload/download R32 or BMP type terrain file formats instead of LLRAW ones -
> that might be useful.
>
> If there is interest in pursuing this, and unless someone beats me to it,
> I'll tidy up the code and submit a patch for review
>
> jonc
>
>
> 2009/2/5 Sean Hennessee <sean at uci.edu>
>
> Excellent idea, Stefan. +1
> ~Sean
>
>
> Stefan Andersson wrote:
>
> aaand coming in from the flank here...
>
> is there any other way than 'terrain download/upload' to download content
> to file thru the viewer?
>
> If not, I guess that you could just supplant the terrain ul/dl with an oar
> dl/ul.
>
> That is, instead of sending an 'raw' bbinary, we could sent a save-oar xml
> file. Provided permissions, of course.
>
> am I correct that the client actually sends an asynch request for the data,
> then starts streaming it?
>
> if so, I guess we could just do something like
>
> a) user requests terrain ul/dl and specifies filename
> b) region sends a dialog box asking "you want RAW, OAR, Log File excerpt or
> Save-xml2?"
> c) user answers
> d) region starts sending specified content, client stores it to that file
>
> Would be quite a nifty and convenient way to work with region content given
> access to no console, I'd say.
>
> Best regards,
> Stefan Andersson
> Tribal Media AB
>
>
>
>
>
> ------------------------------
>
> Date: Thu, 5 Feb 2009 10:27:24 -0800
> From: sean at uci.edu
> To: opensim-users at lists.berlios.de
> Subject: Re: [Opensim-users] Assets 101
>
> When I said "...connect a region to OSGrid..." I meant the old fashion way
> of starting an OpenSim.exe that connects a new blank region to OSGrid. You
> would not need to do any hypergridding. Since the new region you connect to
> OSGrid is running on your server, you would have access to the console to do
> save-oar's to your hearts content. Then the transfer to your own stand-alone
> would just be a matter of file copy and load-oar. Although, now that you
> mention it, doing a hypergrid region might actually make the transfer
> easier; that is, once you get hypergrid working.
>
> If you're trying to get stuff from LL's grid, SI is about the only thing
> going.
>
> Peace,
> Sean
>
> Robert Klein wrote:
>
> LOL Sean, that is a great idea, but for those of us who have yet to get the
> whole hypergrid thing going we are kind of stuck with relying on Second
> Inventory or someone else making the oar files available. Hmm, if only LL
> would open up the SL grid for 24 hours... :)
>
> -Robert
>
>
> Sean Hennessee wrote:
>
>
> Robert,
>
> The easiest way, (or at least a way), to grab assets from OSGrid is to
> connect a region to OSGrid, rez the assets on your region, then save-oar
> of your region. This will give you an OAR file of those assets that you
> can then upload to your stand-alone or any other region that you have
> access to the console.
>
> Peace,
> Sean
>
>
>
>
>
> --
>
> Sean Hennessee
> Central Computing Support
> Network & Academic Computing Services
> UC Irvine
>
>
> ... . .- -. /  .... . -. -. . ... ... . .
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20090501/dd4fbb44/attachment.html>


More information about the Opensim-users mailing list