Spec Enhancement: WWWAnchor

Robert M. Free ([email protected])
Sat, 18 Nov 1995 08:21:47 PST


========
LINKS TO NAMED LOCATIONS
========

current world:

WWWAnchor
{
name "transport://host/vrmlpath#object"
}

target world:

DEF object PerspectiveCamera{}

This will cause a link to go to the center of a named object in the specified
world. If only #object is specified, the link is to an object in the current
world.

If that object is a camera, the new camera settings will be used. If the
object is a non-camera object, the current camera settings remain in effect
(with the exception of position).

If "object" is not defined in the target world, the behavior would be as if
the "#object" was not supplied.

The behavior of viewers when initially viewing a world with multiple cameras
(and no "#object" is specified) is implementation dependent - the recommended
behavior is to go to the first defined camera - but this may be overridden by
user options and/or camera toggles.

========
LINKS TO ARBITRARY LOCATIONS
========

WWWAnchor
{
name "transport://host/vrmlpath"
map CAMERA cameraX

DEF cameraX PerspectiveCamera{}
}

This will cause a link to a location in the specified world using the camera
definitions in the locally named "cameraX" - which may be defined
outside the anchor node.

The current camera settings will remain in effect, if not specified in the
named camera.

Alternately:

WWWAnchor
{
name "transport://host/vrmlpath"
map POSITION x y z
}

This will cause a link to the location in the specified world, with the
current camera settings (excepting position) remaining in effect.

- Bob Free

_______________________________________________________________________
Bob Free [email protected] http://www.graphcomp.com


  • Next message: hyper-creatrix: gRe: desubscribe www-vrml"
  • Previous message: Matt Belcher: gdesubscribe www-vrml"