LSL Protocol/Restrained Love Open Relay Group/camera

From Second Life Wiki
< LSL Protocol‎ | Restrained Love Open Relay Group
Revision as of 13:14, 21 July 2011 by Dahlia Orfan (talk | contribs) (Created page with "{{ ORG Restrained Life Relay Specs TOC }} = camera = STATUS: proposal version: 000 RECOMMENDED WITH: '''''vision''''' …")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

camera

STATUS: proposal

version: 000

RECOMMENDED WITH: vision

  • !x-thirdview, synonym of the Susan's relay command @thirdview=add/n
  • !x-thirdview/clear, synonym of the Susan's relay command @thirdview=rem/y
  • !x-setcamera
  • !x-setcamera/clear

Description of !x-thirdview and !x-thirdview/clear

!x-thirdview forces the wearer of the relay to use mouselook mode. The interest of this command is to be able to force the wearer to use mouselook mode even in grid-wide mode.

  • The acknowledgment for !x-thirdview is either !x-thirdview,ok or !x-thirdview,ko, not @thirdview=add,ok or @thirdview=add,ko. Idem for !x-thirdview/clear.

Interaction with !x-vision

When the wearer does not want to switch for mouselook mode, a blind command like !x-vision/<0'0'0>/1.0/TEXTURE_BLANK/1.0'1.0/0.0'0.0/0.0 will be executed by the relay itself until the wearer changes the mode.

Description of !x-setcamera and !x-setcamera/clear

The syntax of !x-setcamera follows the syntax of the LSL command llSetCameraParams(). So the syntax is

!x-setcamera/INTEGER/FLOAT/FLOAT/FLOAT/FLOAT/INTEGER/VECTOR/FLOAT/FLOAT/VECTOR/FLOAT/INTEGER/FLOAT

See http://lslwiki.net/lslwiki/wakka.php?wakka=llSetCameraParams for further details. When a parameter is the empty string, the default value must be used. So !x-setcamera/clear is equivalent to !x-setcamera/////////////. This command is a restriction, i.e. in ask mode, a permission must be granted. When several controllers send camera settings, a stack of settings is created and the last one is used. When the stack is empty, the wearer's camera goes back to default settings.