[Opensim-dev] IRegisterInterface for extending scene entities

Justin Clark-Casey jjustincc at googlemail.com
Wed Jan 2 20:13:33 UTC 2013


Updating is probably quite trivial.  Serialization is probably also reasonably easy.

I think the bigger issue is whether this approach is reasonable, particularly in the light of going in an 
entity-component direction.  For instance, in the database, it stores all dynamic attributes in a single serialized 
OSDMap in a DynAttrs column, in the same format as would be later put into the object serialization.  This is nice and 
simple but may have tradeoffs in terms of performance and ability to update directly via db manipulation.

I feel the tradeoffs are worthwhile but I think that everybody needs to look at this, which is one reason that I didn't 
just push it in originally [1].  We could do this via a feature proposal [2].  In any case, it has to be discussed.

OARs use the XML2 format whereas everything else uses the 'XML' format.  This is actually a very long-standing screw-up 
due to a misunderstanding as to what XML2 meant - there is practically no difference between the two formats.

[1] http://lists.berlios.de/pipermail/opensim-dev/2010-August/009166.html
[2] http://opensimulator.org/wiki/Feature_Proposals

On 02/01/13 16:58, Oren Hurvitz wrote:
> I just looked at the dynamic-attributes branch and it looks extremely useful!
> I was just now considering ways to attach data to scene objects, and this
> would fit the bill exactly. So I'd like to bring the dynamic attributes code
> over to the master branch (updating it as needed), plus add serialization
> into the XML, XML2 and OAR formats. Since it's been 2 years since that code
> was written, are there any caveats I should be aware of before I begin?
>
> Oren
>
>
>
> --
> View this message in context: http://opensim-dev.2196679.n2.nabble.com/IRegisterInterface-for-extending-scene-entities-tp7578406p7578417.html
> Sent from the opensim-dev mailing list archive at Nabble.com.
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>


-- 
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc



More information about the Opensim-dev mailing list