-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ok, just to stir the pot a bit more, here's another format I just came up
while playing around. This definately bears some similarities to what
Reed proposed, and we might be able to combine some ideas from both...
world is a3dl:sector {
acl core:accept-all,property:deny-all {
/phred
/barney
}
example (text/plain) = "Data goes here."
bloxx links to vip://interreality.org/world/bloxx
that-guy links to /phred
another-example is property:property {
block property:data = "hello there"
block property:datatype = text/plain
}
an-object is a3dl:object3d.cube {
a3dl:position = "1 2 3"
a3dl:orientiation = "0 1 0 90"
a3dl:material is a3dl:material {
a3dl:color = ".3 .5 .7"
}
}
phred is core:identity, misc:avatar { }
barney is core:identity, misc:avatar { }
And a sample configuration file:
# An example server which loads a COD with a 3D world into an open site.
vobject configuration {
logfile = 3dworld-blocks.log
# Set a permissive default access control policy:
default-site-policy =
core:accept-all,property:accept-all,site:accept-all,log-level-control:accept-all
# Enable search:
search is vosapp:plugin {
vosapp:plugin-path = plugins/.libs/libomniplg_search.so
}
# Enable remote log control:
logcontrol is vosapp:plugin {
vosapp:plugin-path = plugins/.libs/libomniplg_logctrl.so
}
# Load the (trivially simple) 3D world from a COD file.
cod is vosapp:plugin {
vosapp:plugin-path = plugins/.libs/libomniplg_cod.so
file = world/blocks.cod.gz
}
# The avatar factory creates an avatar object on the server
# when a new visitor joins the world. This allows people behind
# firewalls/NAT gateways to interact with other users since messages to their
# avatar go to the server, not to their own local host (those would
# be blocked by the firewall).
cod is vosapp:plugin {
vosapp:plugin-path = plugins/.libs/libomniplg_avatar_factory.so
vobject = /world
model = default_avatar.md2
skin = default_avatar.png
hardrotation = 0 1 0 90
policy = factory.compound:accept-all
starting_pos = -4 1 -4
starting_ori = 0 1 0 25
}
# This turns the root 'world' object into a talkative object which
# relays talk messages to other avatars in the world.
talkative is vosapp:plugin {
vosapp:plugin-path = plugins/.libs/libomniplg_talkative.so
vobject = /world
sendpolicy = talkative:send-only
listenpolicy = core:accept-all
}
}
Comments?
[ Peter Amstutz ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED] ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ http://interreality.org ]
[ http://interreality.org/~tetron ][ pgpkey: pgpkeys.mit.edu 18C21DF7 ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDXaHtaeHUyhjCHfcRAgHlAJ46KkkJ12lVWkxKZw9H31R8eoMpBgCgm4Fg
UYwFih/CU2MmBi5fMqsyWsM=
=ucDt
-----END PGP SIGNATURE-----
_______________________________________________
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d