
An automatic command for a specific event may be turned off using the
following syntax:
[xch_minTime=nnn]
[xch_maxTime=nnn]
[xch_maxMove=nnn.nn]
[xch_startTime=nnn]
[xch_maxRotation=nnn]
[xch_cmd=""]
[params="[position] [look] [up] [time] [orientation]">
event
| xch_cmd
| If the value of this attribute is an empty string (“”), this turns
notification off. If xch_cmd is omitted, this command will cause the notification command
PUEBLOMOVE to be sent to the server. By default, scene notification is off.
Non-empty string values are not supported.
|
| xch_minTime
| The minimum interval for notification. Default scene setting is 1000
milliseconds.
|
| xch_maxTime
| The maximum notification interval. Notification will be sent this often even
if no movement has occurred. Default scene setting is 10000 milliseconds.
|
| xch_maxMove
| The movement distance which will trigger a notification. Default scene
setting is 0.5 meters.
|
| xch_startTime
| The base time for notification. The notification clock is set to this value
upon receipt. Default scene setting is 0.
|
| xch_maxRotation
| The movement rotation which will trigger a notification, in radians. Default
scene setting is 1/12 radian or 15 degrees.
|
| params
| Specifies what arguments to pass in the PUEBLOMOVE command, and their order.
The default scene setting is “position”. Note that the order specified is the
order in which the notification arguments will be emitted. A blank string
(i.e., params=“”) causes just the PUEBLOMOVE command with no arguments.
|
|
|
|
| position
| Current x,y,z position, as “float float float”.
|
| look
| Current camera look direction, as “float float float”.
|
| up
| Current camera up direction, as “float float float”.
|
| time
| is the milliseconds since startTime as “long”.
|
| orientation
| Current camera orientation, as “float float float float”; the camera
orientation axis and rotation angle.
|
|
|
|
| All distance units are in meters.
| |
| All angles are in radians.
| |
| All times are in milliseconds.
| |
| Velocities are in meters per second or radians per second, as appropriate.
| |
|
|
|
Either of the following HTML commands turns on default notification:
<img xch_event="move">
<img xch_event="move" params="position">
After any of these, if the viewpoint is at the VRML default location of (0, 0, 1), the MUD server will receive this default notification every 10 seconds.
PUEBLOMOVE 0.000 0.000 1.000
The following HTML sequence turns off notification:
<img xch_event="move" xch_cmd="">