[Opensim-users] Assets 101
Justin Clark-Casey
jjustincc at googlemail.com
Fri Feb 6 22:27:30 UTC 2009
jon cundill wrote:
> Ok
>
> I'll set-up a forge project and work this up into a Region Module.
>
> In the meantime if anyone wants to play I've attached my original
> hack to this mail as a patch .
>
> Note, this is very much pre-alpha code, almost certainly full of bugs,
> guaranteed to trash you opensim install and generally ruin your life.
>
> Only works with oar files at the moment. Trick to make this work is to
> strip the file extension of the filename requested to be uploaded or
> downloaded and see what we have left - if we still have a filename and
> an extension then assume OAR file upload/download rather than terrain
> file. So house.oar.raw will assume you want an oar file and house.raw
> will assume you want a raw file.
>
> There is hardly any code needed to get this going - as Diva has
> mentioned in the past, the awesome module architecture the devs have put
> in place make it real easy to do these things in opensim
Nice stuff. Actually you're quite lucky since the OarFileSaved event only snuck in there a week ago.
I don't know, perhaps this is a core module, perhaps it isn't. Actually I really like the functionality in core terms
but then I'm a little biased.
We may well have more discussion on what's core/not core soonish when DrScofield starts the next phase of the Great
Renaming ;)
>
> Jonc
>
>
> 2009/2/6 Robert Klein <rtkwebman at gmail.com <mailto:rtkwebman at gmail.com>>
>
>
> Way to go Jon!!! Maybe put this on the forge as Justin suggests
> below? We
> can always post updates here on the list as things progress.
>
> -Robert
>
>
> jon cundill wrote:
> >
> > 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
> >
> >
> >
> >
> >
>
> --
> View this message in context:
> http://n2.nabble.com/Assets-101-tp2248830p2284815.html
> Sent from the opensim-users mailing list archive at Nabble.com.
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de <mailto: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
--
justincc
Justin Clark-Casey
http://justincc.wordpress.com
More information about the Opensim-users
mailing list