[Opensim-dev] Serving textures in different formats

Dahlia Trimble dahliatrimble at gmail.com
Wed Dec 8 20:17:43 UTC 2010


I have no current preference for one over the other. I suspect that there
may be more options desired in the future besides format so whichever is
most easily extended and widely accepted may be the better choice.

On Wed, Dec 8, 2010 at 7:36 AM, Diva Canto <diva at metaverseink.com> wrote:

> So far, all textures in OpenSim are stored and served as jp2. However, some
> viewers can't use jp2. Example: Unity3d, for the time being. I would like to
> improve the GetTexture cap service by adding the ability for it to make
> conversions on the fly depending on extra data provided by the caller.
>
> There are two ways of doing this. Which one do people prefer?
>
> A) Add an extra query parameter: http://foo.com/GetTexture/?texture_id=
> <uuid>&format=<format>
>
> B) Use the Accept and Content-Type headers appropriately.
> The request might have
> Accept: image/png, image/jp2
> And the response might have
> Content-Type: image/png
>
> Diva / Crista
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20101208/9f60efaf/attachment-0001.html>


More information about the Opensim-dev mailing list