Re: [ogpx] URI schema for virtual world locations?

Joshua Bell <josh@lindenlab.com> Fri, 22 January 2010 16:35 UTC

Return-Path: <josh@lindenlab.com>
X-Original-To: ogpx@core3.amsl.com
Delivered-To: ogpx@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A6B753A6870 for <ogpx@core3.amsl.com>; Fri, 22 Jan 2010 08:35:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.852
X-Spam-Level:
X-Spam-Status: No, score=-2.852 tagged_above=-999 required=5 tests=[AWL=1.124, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, GB_I_INVITATION=-2, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GY0xzHx2VdSp for <ogpx@core3.amsl.com>; Fri, 22 Jan 2010 08:35:43 -0800 (PST)
Received: from mail-fx0-f221.google.com (mail-fx0-f221.google.com [209.85.220.221]) by core3.amsl.com (Postfix) with ESMTP id 647B53A6949 for <ogpx@ietf.org>; Fri, 22 Jan 2010 08:35:42 -0800 (PST)
Received: by fxm21 with SMTP id 21so312913fxm.29 for <ogpx@ietf.org>; Fri, 22 Jan 2010 08:35:35 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.90.196 with SMTP id e46mr1200379wef.194.1264178134418; Fri, 22 Jan 2010 08:35:34 -0800 (PST)
In-Reply-To: <b8ef0a221001220802l4307cdc7m14b05426876afa66@mail.gmail.com>
References: <62BFE5680C037E4DA0B0A08946C0933DC4B2DC80@rrsmsx506.amr.corp.intel.com> <b8ef0a221001211005l65f771edwa7eb1f228d9ee6fa@mail.gmail.com> <a768bcd91001211023h7e502394y9a65b399f1ee4b56@mail.gmail.com> <8FB8EE72-4938-4DA2-8134-6496DBF6ADE5@gmail.com> <b8ef0a221001211132i1a76b959k6f5768f15c5aa03c@mail.gmail.com> <BD24FA22-060C-44F8-8897-9D2808CC1769@gmail.com> <b8ef0a221001211310k11e87a57gda827e6dc2458c77@mail.gmail.com> <7765f2c61001220625h25580faexe0a20dca1f74a58b@mail.gmail.com> <0DF3EFDA-FDB3-45E4-91D1-051B1288E27C@bbn.com> <b8ef0a221001220802l4307cdc7m14b05426876afa66@mail.gmail.com>
Date: Fri, 22 Jan 2010 08:35:34 -0800
Message-ID: <f72742de1001220835s783eb958o11e5deac9b7ea9b4@mail.gmail.com>
From: Joshua Bell <josh@lindenlab.com>
To: ogpx@ietf.org
Content-Type: multipart/alternative; boundary="0016e6dab0cda290af047dc368b9"
Subject: Re: [ogpx] URI schema for virtual world locations?
X-BeenThere: ogpx@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Virtual Worlds and the Open Grid Protocol <ogpx.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ogpx>, <mailto:ogpx-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ogpx>
List-Post: <mailto:ogpx@ietf.org>
List-Help: <mailto:ogpx-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ogpx>, <mailto:ogpx-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jan 2010 16:35:44 -0000

Agreed. When something needs to be specified, it should be done to enable
interoperation between actual systems and can be implemented and proven by
running code. If coordinates-within-regions are necessary to specify, x/y/z
coordinates in meters with IEEE 754 64-bit floats appear to be completely
sufficient for current systems.

That said, I think part of the challenge for the VWRAP WG is to determine
what can be left *unspecified* yet *not* get in the way of interop
envisioned by this group. (Which is one of the topics I want to discuss at
length in Anaheim). As an example, if there are places where data can be
relayed between two endpoints by a third party without specification in the
protocol itself, and the burden is on those endpoints to have out-of-band
agreement on the format, that simplifies VWRAP and enables scenarios we
hadn't thought of. (I'm not sure that's applicable to this example, just
throwing it out.)

On Fri, Jan 22, 2010 at 8:02 AM, Meadhbh Hamrick
<meadhbh.siobhan@gmail.com>wrote:

> it's important because one of the functions of the protocol will be
> for clients to inform servers where they wish their avatars to appear
> in the virtual world. virtual objects will be moving as well, and
> simulators will need to communicate with user agents the moral
> equivalent of "box number 5 just moved to location <x,y,z>."
>
> VWRAP is a protocol for interaction between systems that have
> characteristics similar to OpenSimulator and Second Life. Both systems
> use meters in a rectangular coordinate system to describe position.
>
> There has been discussion in the past about supporting multiple
> coordinate systems, but the implementers believed it would introduce
> unneeded complexity. Requiring that ALL compliant systems support ALL
> possible representational systems seemed like an invitation to
> incompatibility.
>
> VWRAP does not mandate what coordinate system your implementation uses
> internally, it only mandates what coordinate system you use to
> communicate with other systems. If you wish to use polar coordinates
> measured in femtoparsecs in your implementation, that is your
> business. but when it's time to communicate with the outside world
> (using VWRAP), you'll have translate into/out of meters in a
> rectangular coordinate system.
>
> this is not because we're rectangular bigots, it's because many of us
> believe that picking a single representational system will reduce
> complexity of the protocol.
>
> -cheers
> -meadhbh
>
> On Fri, Jan 22, 2010 at 7:22 AM, Richard L. Barnes <rbarnes@bbn.com>
> wrote:
> > It's not clear to me why the protocol needs to define coordinates,
> > especially given that different servers might have different notions of
> > place.  One server might think of space in terms of coordinates in
> meters,
> > another in polar coordinates, another in terms of polygons that represent
> > some construct known only to the server.
> > So when we're talking about referring to points in space, it seems like
> it
> > would make sense to have two parts: One piece of information that gets
> you
> > to the right server, and one that tells the server what location is being
> > referenced (in whatever frame it thinks in).
> > To make an analogy, in the HTTP URI <http://example.com/this/is/a/path>,
> the
> > authority part "example.com" gets you to the right server, and the
> meaning
> > of the path component "this/is/a/path" is completely up to the server (it
> > can be opaque to the user).
> >
> > --Richard
> >
> >
> > On Jan 22, 2010, at 9:25 AM, Frans wrote:
> >
> > I like this idea too, makes a lot of sens. +1
> >
> > On Thu, Jan 21, 2010 at 10:10 PM, Meadhbh Hamrick
> > <meadhbh.siobhan@gmail.com> wrote:
> >>
> >> hmm. i kinda like this idea.
> >>
> >> we may want to choose a rectangular coordinate system as the default.
> >>
> >> so yeah, maybe the mapping service is "the thing" that defines what
> >> we're now alternately calling a virtual world, grid or instance. so we
> >> could have a simple service like this that describes the grid:
> >>
> >> %% grid/info
> >> << {
> >>  grid_name : string,
> >>  coordinates : string,
> >>  map_service : uri
> >> }
> >>
> >> and you could plug in values of "spherical" or "cylindrical" in the
> >> coordinates entry, but have "rectangular" be the default. the
> >> "map_service" URI could be the URI used to convert a region name +
> >> point in space into a URI for requesting services like teleport, map
> >> tiles, spatial chat, etc.
> >>
> >> so... for example... i could have a grid/info entry for SL's vaak test
> >> grid at http://util.vaak.lindenlab.com/. when you did a HTTP GET on
> >> it, you would get the blob:
> >>
> >> <?xml version="1.0"?>
> >> <llsd>
> >>  <map>
> >>    <key>grid_name</key>
> >>    <string>vaak</string>
> >>    <key>map_service</key>
> >>    <uri>http//util.vaak.lindenlab.com/services/map</uri>
> >>  </map>
> >> </llsd>
> >>
> >> the map service at http//util.vaak.lindenlab.com/services/map could be
> >> queried to get information and/or caps to access locations. so you
> >> could construct a service like:
> >>
> >> %% location/info
> >> << {
> >>  teleport_cap : uri,
> >>  map_tile : uri,
> >>  spatial_chat_cap : uri
> >> }
> >>
> >> so when you did a get on
> >>
> >> http//
> util.vaak.lindenlab.com/services/map?location_x=128&location_y=128&location_z=32&region_name=Ahern
> >> you might get a response like:
> >>
> >> <?xml version="1.0"?>
> >> <llsd>
> >>  <map>
> >>    <key>teleport_cap</key>
> >>
> >>  <uri>
> http://sim1.vaak.lindenlab.com/c/0953E063-5B31-4B62-B218-A7C0CE1FC391
> </uri>
> >>    <key>map_tile</key>
> >>    <uri>http://s3.amazonaws.com/foo/bar/ahern.jpg</uri>
> >>    <key>spatial_chat_cap</key>
> >>
> >>  <uri>
> http://sim1.vaak.lindenlab.com/c/4AFA1BAF-4FAD-45A5-A683-6244BC81A660
> </uri>
> >>  </map>
> >> </llsd>
> >>
> >> and the teleport_cap would be the one that gets used if someone wanted
> >> to teleport to the location.
> >>
> >> hope this makes sense.
> >>
> >> -cheers
> >> -meadhbh
> >>
> >
> > --
> > Jeroen Frans
> > Virtual World Technology Specialist.
> > TheVesuviusGroup.com
> > SL: Frans Charming
> > _______________________________________________
> > ogpx mailing list
> > ogpx@ietf.org
> > https://www.ietf.org/mailman/listinfo/ogpx
> >
> >
> _______________________________________________
> ogpx mailing list
> ogpx@ietf.org
> https://www.ietf.org/mailman/listinfo/ogpx
>