Ok<div><br></div><div>I'll set-up a forge project and work this up into a Region Module.</div><div><br></div><div>In the meantime if anyone wants to play I've attached my original hack to this mail as a patch .</div>
<div><br></div><div>Note, this is very much pre-alpha code, almost certainly full of bugs, guaranteed to trash you opensim install and generally ruin your life.</div><div><br></div><div>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.</div>
<div><br></div><div>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</div><div>
<br></div><div>Jonc</div><div><br><br><div class="gmail_quote">2009/2/6 Robert Klein <span dir="ltr"><<a href="mailto:rtkwebman@gmail.com">rtkwebman@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Way to go Jon!!! Maybe put this on the forge as Justin suggests below? We<br>
can always post updates here on the list as things progress.<br>
<br>
-Robert<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
jon cundill wrote:<br>
><br>
> Hi<br>
> Just knocked together a quick and dirty prototype for this, and using the<br>
> Terrain Upload/ Download for OAR files actually works quite well.<br>
><br>
> - Noticed Limitations<br>
><br>
> Viewer needs you to have .raw on the end of the filename. So you end up<br>
> downloading and uploading files named house.oar.raw rather than house.oar.<br>
><br>
> Maybe the Hippo Viewer people could do something about this if this goes<br>
> further.<br>
><br>
> It is slow, and little feedback is given to the user until it has<br>
> completed,<br>
> so the 2.4 Mb house from the Free Assets page takes around 4 mins to<br>
> upload<br>
> or download on a localhost standalone.<br>
><br>
> I have regions with 30Mb oar files - that would take nearly half an hour<br>
> to<br>
> transfer, probalby longer across the internet.<br>
><br>
> You can probably send Estate Messages with some progress indication to<br>
> alleviate this.<br>
><br>
> As well as OAR files, this technique can also probably be used to<br>
> upload/download R32 or BMP type terrain file formats instead of LLRAW ones<br>
> -<br>
> that might be useful.<br>
><br>
> If there is interest in pursuing this, and unless someone beats me to it,<br>
> I'll tidy up the code and submit a patch for review<br>
><br>
> jonc<br>
><br>
><br>
><br>
><br>
><br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Assets-101-tp2248830p2284815.html" target="_blank">http://n2.nabble.com/Assets-101-tp2248830p2284815.html</a><br>
</font><div class="Ih2E3d">Sent from the opensim-users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
</div></div></blockquote></div><br></div>