Appearance Formats

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Created page with "=Introduction= The appearance format detailed here is used primarily to transfer appearance information between simulators and backend services, before the simulator uses variou...")

Revision as of 18:18, 25 October 2012

Introduction

The appearance format detailed here is used primarily to transfer appearance information between simulators and backend services, before the simulator uses various components in its own operations (e.g. to send information to viewers as to which attachments are being worn, etc.).

It is also used to store appearance information for NPCs. Unfortunately, in this role it is less than ideal since it wasn't designed to be changed by humans.

Example

Here's is an example appearance serialization for a user wearing skin, eyes, hair and shape body parts, pants and shirt clothing items and a single skull attachment

<llsd>
  <map>
    <key>serial</key>
    <integer>0</integer>
    <key>height</key>
    <real>1.6909986734390259</real>
    <key>wearables</key>
    <array>
      <array>
        <map>
          <key>item</key>
          <uuid>0718fafa-e67a-438e-9431-cd93e83accab</uuid>
          <key>asset</key>
          <uuid>66c41e39-38f9-f75a-024e-585989bfab73</uuid>
        </map>
      </array>
      <array>
        <map>
          <key>item</key>
          <uuid>a394cb67-6d51-4211-b540-939531e558c0</uuid>
          <key>asset</key>
          <uuid>77c41e39-38f9-f75a-024e-585989bbabbb</uuid>
        </map>
      </array>
      <array>
        <map>
          <key>item</key>
          <uuid>63317a84-cebe-4337-b99c-fe8c24286eda</uuid>
          <key>asset</key>
          <uuid>d342e6c0-b9d2-11dc-95ff-0800200c9a66</uuid>
        </map>
      </array>
      <array>
        <map>
          <key>item</key>
          <uuid>2edbb0f7-51ed-47ef-a5ec-0bb16f9fa638</uuid>
          <key>asset</key>
          <uuid>4bb6fa4d-1cd2-498a-a84c-95c1a0e745a7</uuid>
        </map>
      </array>
      <array>
        <map>
          <key>item</key>
          <uuid>9ca33379-159d-4015-bad9-9bedb62033d2</uuid>
          <key>asset</key>
          <uuid>a2d3568a-c1b0-9caf-dd2f-4d3e4d2691e5</uuid>
        </map>
      </array>
      <array>
        <map>
          <key>item</key>
          <uuid>7e152cf6-3103-4be2-a2b6-e4e0bc56f840</uuid>
          <key>asset</key>
          <uuid>00000000-38f9-1111-024e-222222111120</uuid>
        </map>
      </array>
      <array />
      <array />
      <array />
      <array />
      <array />
      <array />
      <array />
      <array />
      <array />
    </array>
    <key>textures</key>
    <array>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>fb4535ad-e21a-482e-a020-b07fb3255214</uuid>
      <uuid>2ed9d686-120d-4e41-82b2-8d469e4658b6</uuid>
      <uuid>bf61d86d-fb38-4b06-a43c-a9451a38c5a6</uuid>
      <uuid>db27d46d-0831-4fa7-b413-8730ed530d9b</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>c228d1cf-4b5d-4ba8-84f4-899a0796aa97</uuid>
      <uuid>93f7702c-e200-4b0b-8942-b77c1872c0a0</uuid>
    </array>
    <key>visualparams</key>
    <binary encoding="base64">IT1VFzp/P1U/KgBVPyRVX5k/IgA/bViEP4hRVWeIfwDLAAB/AAAAAAB/AAD/f3J/Yz9/jH9/AAAAvwBoAAAAAAAAAAAAkdiFAH8Af6oAAH9/bVV/fz9VKmTY1szMzDMZWUzMAH8AAJBVf4R/VQB/f39/f387f1V/f2ovT39/zAKNQgAAf38AAAAAfwCfAACyfyRVg39/f5lfAIxKG39/ANbMxgAAPx5/4v/G////zDMz////zAD//////////////wD//////wB/f/8ZZP////9UAAAAM4T///8=</binary>
    <key>attachments</key>
    <array>
      <map>
        <key>point</key>
        <integer>2</integer>
        <key>item</key>
        <uuid>322a42e2-4fd4-427d-bee8-bc6ed66ec0f0</uuid>
        <key>asset</key>
        <uuid>a55466ff-6ed4-4277-bfb4-326859494b3f</uuid>
      </map>
    </array>
  </map>
</llsd>
Personal tools
General
About This Wiki