[Opensim-dev] Serving textures in different formats
Diva Canto
diva at metaverseink.com
Wed Dec 8 17:09:33 UTC 2010
On 12/8/2010 8:24 AM, Mike Chase wrote:
> On 12/08/2010 10:36 AM, Diva Canto 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.
>>
> Personally I prefer neither. Doing format conversions on the client
> (rather than the server where the overhead affects all the users)
> seems more appropriate to me. IMO standardizing on a single format
> from the server and then letting the client do a format conversion
> where thats necessary is the better solution. Alternatively you could
> push the conversion off to a separate service. But again, that implies
> the core code doesn't need to address it.
Then have your client do that. This doesn't affect the ability for
clients to do that in any way: simply omit the extra information.
Other clients benefit from the server doing the conversion, and the
result of that conversion being cached on the server side, so that
future requests get exactly what they need.
Technically, this conversion does not belong to the simulator; it
belongs to the GetTexture service associated with the simulator; this
service can execute anywhere.
More information about the Opensim-dev
mailing list