[Opensim-dev] Accessing textures via HTTP

Mike Mazur mmazur at gmail.com
Mon Mar 16 00:11:19 UTC 2009


Hi,

On Sun, 15 Mar 2009 08:35:21 +0200
Tommi Laukkanen <tommi.s.e.laukkanen at gmail.com> wrote:

> I would need to fetch textures from assetserver using HTTP. Is it
> enabled by default anf if so any pointers to find out url format? Do I
> need enable some module?

The asset server exposes an HTTP handler for assets at:

http://address:port/assets/<asset_UUID>

A GET request to that URL will receive an XML-serialized AssetBase
class as defined in OpenSim/Framework/AssetBase.cs. A POST of an
XML-serialized AssetBase class to the same URL will create an asset.

If you'd like custom behavior, I encourage you to look at the
AssetInventoryServer and some of the Frontend plugins it has. Look in
OpenSim/Grid/AssetInventoryServer/Plugins.

HTH,
Mike



More information about the Opensim-dev mailing list