Avatar portability
From OpenSimulator
(Difference between revisions)
(→Avatar Portability) |
(→Avatar Portability) |
||
Line 18: | Line 18: | ||
[[Image:avatar_portability_1.PNG]] | [[Image:avatar_portability_1.PNG]] | ||
− | |||
*U1 is an user of GridService G1, so probably, U1's "UserInventoryURL" and "UserAssetURL" are pointing to G1's default Inventory/Asset server. | *U1 is an user of GridService G1, so probably, U1's "UserInventoryURL" and "UserAssetURL" are pointing to G1's default Inventory/Asset server. | ||
*R1 is a regionserver in GridService G2, so R1 used to fetch assets from G2's default Asset server. | *R1 is a regionserver in GridService G2, so R1 used to fetch assets from G2's default Asset server. | ||
+ | ---- | ||
[[Image:avatar_portability_2.PNG]] | [[Image:avatar_portability_2.PNG]] | ||
+ | *U1 login to R1, R1 can get U1's appearance from U1's "UserInventoryUrl" and get U1's assets(textures) from "UserAssetUrl". | ||
== Implementation == | == Implementation == |
Revision as of 02:16, 16 July 2008
Contents |
Basic Idea
To enable user avatar travel from a grid service to another grid service, There are 2 problem to be considered:
- How to enable foreign user login - Authentication
- How to get a foreign user's belongings(including appearance, inventory)
To achieve the 1st, client side changes are needed. SO, so far, I have only implemented 2nd, and would like to explan my idea:
Authentication
Avatar Portability
In "users" table, "UserInventoryURL" and "UserAssetURL" have been there for a long time, and they are not used yet. My idea starts from the 2 properties;
- U1 is an user of GridService G1, so probably, U1's "UserInventoryURL" and "UserAssetURL" are pointing to G1's default Inventory/Asset server.
- R1 is a regionserver in GridService G2, so R1 used to fetch assets from G2's default Asset server.
- U1 login to R1, R1 can get U1's appearance from U1's "UserInventoryUrl" and get U1's assets(textures) from "UserAssetUrl".