[Opensim-dev] SceneObject* Metadata

Dickson, Mike (ISS Software) mike.dickson at hp.com
Wed Nov 26 15:23:48 UTC 2008


This isn't an informed opinion, just a thought I had when I saw the message after browsing code.  But why not Just have a separate dictionary that gets persisted based on UUID. That is, you key by UUID and return a property list (<string, string> as suggtested) if one exists.  That way existing entities don't change and you can then theoretically hang specialized properties off of anything that has a UUID.  Code that needs it can do the separate fetch for the properties.

I'm only starting to get my head into the code so if this isn't sensible, sorry. Still coming up to speed on internals.

Mike

-----Original Message-----
From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of Frisby, Adam
Sent: Wednesday, November 26, 2008 7:21 AM
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] SceneObject* Metadata

Well,

If we save it in RexEntity - then every storage provider needs to recognise it. RexEntity does and will exist - however when it comes to packaging the data up and putting it in a storage provider, we then need to make customised versions for each. The metadata field provides a convenient way of storing the extra properties in a backwards compatible way.

Adam

> -----Original Message-----
> From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-
> bounces at lists.berlios.de] On Behalf Of Melanie
> Sent: Wednesday, 26 November 2008 4:58 AM
> To: opensim-dev at lists.berlios.de
> Subject: Re: [Opensim-dev] SceneObject* Metadata
>
> Hi,
>
> ideally, Rex data should be in a RexEntity, not the LLEntity or
> IEntity.
>
> I'm +1 on the metadata as such, but I think meshes should not be
> metadata. As a stopgap measure maybe, but not as an architectural
> choice.
>
> Personally, I see no call to bend over backwards for Rex, What have
> they done for the project or me lately?
>
> If we do change the serialization stuff, let's please make the
> format accommodate coalesced objects, too?
>
> Melanie
>
>
> Frisby, Adam wrote:
> > Hi everyone,
> >
> > I'd like to add another parameter onto SceneObjectPart and group
> called 'Metadata' - Metadata would be a Dictionary<string,string> which
> is serialised with the object when loaded and saved from inventory,
> archives, etc.
> >
> > This change would require all the storage providers to handle the new
> metadata fields. The purpose of this field is mainly to support things
> that the stock OpenSim parts do not - without breaking compatibility.
> >
> > An example of such usage would be a "MeshUUID" metafield for the
> Modular Rex components we're building inside DeepThink - this would
> allow the Rex metadata to be attached to a otherwise normal field, but
> would only be understood and handled by the simulator if you had the
> modular rex components installed.
> >
> > Another example might be tagging keywords for search and indexing
> purposes, AI, etc. All the metadata properties would be accessible from
> region modules and they can write and add new ones relatively easily
> under the proposal. (Just grab the SOG/SOP, then edit the metadata
> dictionary).
> >
> > Thoughts?
> >
> > Adam
> >
> >
> >
> > ---------------------------------------------------------------------
> ---
> >
> > _______________________________________________
> > Opensim-dev mailing list
> > Opensim-dev at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/opensim-dev
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev



More information about the Opensim-dev mailing list