{"id":525,"date":"2015-10-13T08:47:39","date_gmt":"2015-10-13T08:47:39","guid":{"rendered":"http:\/\/avastar.online\/?page_id=525"},"modified":"2015-10-13T08:47:39","modified_gmt":"2015-10-13T08:47:39","slug":"io","status":"publish","type":"page","link":"https:\/\/avalab.org\/avastar\/300\/help\/properties\/object\/shape\/io\/","title":{"rendered":"Avatar Shape IO"},"content":{"rendered":"<div class=\"row-fluid\">\n<div class=\"rhcol span10\">\n<h2><image src=\"\/avastar\/292\/wp-content\/uploads\/2019\/08\/approve_logo_280.png\" style=\"width:120px;vertical-align:middle;margin-left:0px;margin-right:10px;\"><\/image> Avatar Shape IO<\/h2>\n<\/div>\n<div class=\"rhcol span2\">\n<a class=\"mamap\" href=\"\/wp-content\/uploads\/2020\/04\/map_shape_io_panel.png\" target=\"_blank\"><img decoding=\"async\" alt=\"\" src=\"\/wp-content\/uploads\/2020\/04\/map_shape_io_panel.png\" \/><\/a>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>Secondlife supports the export of custom Avatar Shapes as Data files in XML<sup>(*)<\/sup> Format. The Shape Importer converts those data files into Avastar Appearance Slider configurations.<\/p>\n<p>You can access the Shape importer either from the File Menu or from the Properties editor (see image). We explain both options below.<\/p>\n<\/div>\n<div class=\"rhcol span5\" data-wp-editing=\"1\"><img decoding=\"async\" class=\"alignleft wp-image-43725 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-875.png\" alt=\"\" width=\"383\" height=\"429\" \/><\/div>\n<\/div>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">(*) more on XML ...<\/h3><div class=\"symple-toggle-container symple-clearfix\"><span style=\"color: #ff6600;\"> <sup>(*)<\/sup><\/span>: XML (<a href=\"https:\/\/en.wikipedia.org\/wiki\/XML\">Extensible Markup Language<\/a>) is not a defined data format. It is just a language. The SL Shape Importer assumes that the imported data is in that XML language and it assumes the data contains Secondlife Shape information. If the Data is not XML or does not contain SL Shape data, then the Shape Importer will fail utterly! <\/div><\/div>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">Sidenote: How to Export a Shape from Secondlife ...<\/h3><div class=\"symple-toggle-container symple-clearfix\">\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>In most viewers you find a shape export option hidden in the advanced menu:<\/p>\n<p>Develop -&gt; Avatar -&gt; Character Tests -&gt; Appearance to XML<\/p>\n<p>This silently creates a file called:<\/p>\n<pre><code>[application_folder]\/character\/&lt;SL-user&gt;_s_000.xml<\/code><\/pre>\n<\/div>\n<div class=\"rhcol span5\">\n<div id=\"attachment_5877\" style=\"width: 980px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/04\/Image876.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-5877\" class=\"wp-image-5877 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/04\/Image876.png\" alt=\"\" width=\"970\" height=\"545\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/04\/Image876.png 970w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/04\/Image876-300x169.png 300w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/04\/Image876-768x432.png 768w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/a><p id=\"caption-attachment-5877\" class=\"wp-caption-text\">Click to Zoom<\/p><\/div>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>This file content is your current shape ready to be loaded into Avastar. [application_folder] is the viewer&#8217;s application data folder. For Windows this folder is located at:<\/p>\n<p>C:\\Users\\&lt;PC-User&gt;\\AppData\\Roaming\\Second Life\\logs\\&lt;SL-User&gt;_s_000.xml<\/p>\n<p>where :<\/p>\n<ul>\n<li>PC-User: The name of your Windows User<\/li>\n<li>SL-User: The name of your Avatar<\/li>\n<\/ul>\n<\/div>\n<div class=\"rhcol span5\">\n<p><img decoding=\"async\" class=\"alignleft wp-image-43727 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-877.png\" alt=\"\" width=\"383\" height=\"190\" \/><\/p>\n<\/div>\n<\/div>\n<\/div><\/div>\n<p>The Shape Importer is used in 3 different scenarios as described below:<\/p>\n<h3>Import an SL Shape into a new Avastar Armature<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>Suppose you start a fresh Project with an empty scene. You already have downloaded your personal Shape from Second Life in the SL Shape file format (see above). Now you want to create a new Avastar character with exactly this shape:<\/p>\n<p>You find the XML Shape importer in the regular Blender Import menu under<\/p>\n<pre>File -&gt; Import -&gt; Shape as Avastar<\/pre>\n<\/div>\n<div class=\"rhcol span5\"><img decoding=\"async\" class=\"alignleft wp-image-5471 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2019\/09\/Image-005.png\" alt=\"\" width=\"727\" height=\"568\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2019\/09\/Image-005.png 727w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2019\/09\/Image-005-300x234.png 300w\" sizes=\"(max-width: 727px) 100vw, 727px\" \/><\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>The tool first opens a file selector where you select the shape file that you want to import. Note that you have import options (see image)<\/p>\n<ul>\n<li><span style=\"color: #ff6600;\"><em>Rig Type:<\/em><\/span><br \/>\nUse <em>Basic<\/em> to get a classic Avastar SL Rig.<br \/>\nUse <em>Extended<\/em> to get an Avastar\u00a0 Bento Rig.<br \/>\nUse <em>Reference<\/em> to get a Bento Rig with only SL Bones<\/li>\n<li><span style=\"color: #ff6600;\"><em>Use Quads:<\/em><\/span> Create Meshes mostly with Quads.<\/li>\n<\/ul>\n<\/div>\n<div class=\"rhcol span5\">\n<p><img decoding=\"async\" class=\"alignleft wp-image-43731 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-804.png\" alt=\"\" width=\"383\" height=\"199\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-804.png 383w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-804-300x156.png 300w\" sizes=\"(max-width: 383px) 100vw, 383px\" \/><\/p>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>Avastar creates the new Avastar character in the scene, and finally applies the imported shape to the Appearance Slider system.<\/p>\n<p><strong><span style=\"color: #3366ff;\">Note:<\/span><\/strong> By default Only the Animation bones are displayed. You can change the bone visibility in the <em><span style=\"color: #ff6600;\">Rig Display panel<\/span><\/em> (see image)<\/p>\n<\/div>\n<div class=\"rhcol span5\"><img decoding=\"async\" class=\"alignleft wp-image-43732 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-805.png\" alt=\"\" width=\"383\" height=\"408\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-805.png 383w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-805-282x300.png 282w\" sizes=\"(max-width: 383px) 100vw, 383px\" \/><\/div>\n<\/div>\n<h3><span style=\"color: #3366ff;\">Variation 1:<\/span> Import SL Shape into existing Avastar Armature<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>Assume you already have an Avastar in the scene <span style=\"color: #993300;\">and that Avastar is already selected<\/span>. If you call the SL Shape Importer now, then it does not create a new Avastar character, but it applies the imported shape directly to the active (and selected) Avastar armature.<\/p>\n<p>This is indicated in the Importers Options section (see image)<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><img decoding=\"async\" class=\"alignleft wp-image-43760 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-804b.png\" alt=\"\" width=\"386\" height=\"232\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-804b.png 386w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-804b-300x180.png 300w\" sizes=\"(max-width: 386px) 100vw, 386px\" \/><\/p>\n<\/div>\n<\/div>\n<p><strong><span style=\"color: #3366ff;\">Note:<\/span> <\/strong>If you have one or more Avastar Rigs in the scene, but none of them is selected, then the Importer will create a new Avastar besides the existing ones.<\/p>\n<h3><span style=\"color: #3366ff;\">Variation 2:<\/span> Use the Avastar Shape IO Panel<\/h3>\n<p>Instead of using the classic Blender style Import as described above, you also can use the Avastar Shape IO Panel.<\/p>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>You find the Shape import\/export Panel in the Object properties of the Avastar Armature.<\/p>\n<ul>\n<li>Go to object mode.<\/li>\n<li>Select the Rig (LMB on the yellow circles around the mesh).<\/li>\n<li>Open the Properties window (on the right side).<\/li>\n<li>Navigate to the &#8220;Object&#8221; properties.<\/li>\n<\/ul>\n<p>There you find a panel named <strong>Avatar Shape IO<\/strong>.<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><img decoding=\"async\" class=\"alignleft wp-image-43725 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-875.png\" alt=\"\" width=\"383\" height=\"429\" \/><\/p>\n<\/div>\n<\/div>\n<p>This panel offers 3 functions:<\/p>\n<h4>Import Shape<\/h4>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>When you click on Import Shape, then a file selection box opens where you can select which Shape file you want to import.<\/p>\n<p>The Shape will be applied to the active Armature.<br \/>\nThis is actually the same as Variation 1 (see above)<\/p>\n<\/div>\n<div class=\"rhcol span5\"><img decoding=\"async\" class=\"alignleft wp-image-43727 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-877.png\" alt=\"\" width=\"383\" height=\"190\" \/><\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<h4>Export Shape to<\/h4>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>Create a new Shape file with your current shape settings. This file can later be used for Load Shape (see above). Right to the <strong>Export Shape to<\/strong> button you find a selector for the save destination:<\/p>\n<ul>\n<li>You can either save your Shape to File.<\/li>\n<li>or to a Blender text block. In that case the slider values are found in the Blender text editor panel. The values correspond to the shape settings in the SL viewer.<\/li>\n<\/ul>\n<\/div>\n<div class=\"rhcol span5\"><img decoding=\"async\" class=\"alignleft wp-image-43728 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-878.png\" alt=\"\" width=\"383\" height=\"190\" \/><\/div>\n<\/div>\n<p><span style=\"color: #3366ff;\"><strong>Note<\/strong>:<\/span> Some viewers support the upload of shape file to SL (e.g. Firestorm, Singularity). To see the file, switch to the Blender Text editor and locate <em>Shape for: Avatar<\/em> (Avatar stands for the name of the Armature). Useful when you need to update the shape in SL with the values from blender.<\/p>\n<h4>Refresh Shape:<\/h4>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>This resets the Avastar meshes to the current Shape values. Also if you messed up the Avastar meshes (by editing them) you can return the mesh back to the current shape slider values.<\/p>\n<\/div>\n<div class=\"rhcol span5\"><img decoding=\"async\" class=\"alignleft wp-image-43729 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-880.png\" alt=\"\" width=\"383\" height=\"190\" \/><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Avatar Shape IO &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":533,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-525","page","type-page","status-publish","hentry","category-help"],"_links":{"self":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/comments?post=525"}],"version-history":[{"count":0,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/525\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/533"}],"wp:attachment":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/media?parent=525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/categories?post=525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/tags?post=525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}