{"id":2338,"date":"2017-10-01T14:17:40","date_gmt":"2017-10-01T14:17:40","guid":{"rendered":"http:\/\/avastar.online\/?page_id=2338"},"modified":"2022-05-26T14:16:23","modified_gmt":"2022-05-26T14:16:23","slug":"import-sl-animation-bvh","status":"publish","type":"page","link":"https:\/\/avalab.org\/avastar\/300\/help\/io\/import-sl-animation-bvh\/","title":{"rendered":"Import SL-Animation"},"content":{"rendered":"<h2><image src=\"\/avastar\/300\/wp-content\/uploads\/2022\/03\/approve_logo_300.png\" style=\"width:120px;vertical-align:middle;margin-left:0px;margin-right:10px;\"><\/image> SL Animation Importer(BVH)<\/h2>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>A simple file importer for SL Animation files using the BVH format. The importer only works reliably if following conditions apply:<\/p>\n<ol>\n<li>The animation has been made for Secondlife<\/li>\n<li>The Animation contains a reference pose in the first frame.<\/li>\n<\/ol>\n<p><span style=\"color: #3366ff;\"><strong>Note:<\/strong><\/span> If the above conditions do not apply, then the importer most probably does not import the animations correctly.<\/p>\n<p>You find the Importer here:<\/p>\n<pre>File - Import - SL Animation (bvh)<\/pre>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2019\/09\/Image-807.png\"><img decoding=\"async\" class=\"size-full wp-image-5477 alignleft\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2019\/09\/Image-807.png\" alt=\"\" width=\"727\" height=\"568\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2019\/09\/Image-807.png 727w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2019\/09\/Image-807-300x234.png 300w\" sizes=\"(max-width: 727px) 100vw, 727px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h3>The Importer Options<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>You find a set of Import options in the File selector:<\/p>\n<ul>\n<li><span style=\"color: #ff6600;\"><em>Import with Rig:<\/em><\/span><br \/>\nUse Basic for the SL System character<br \/>\nUse Extended for a Bento Rig<\/li>\n<li><em><span style=\"color: #ff6600;\">Retarget to [Origin | COG]<\/span><\/em>: BVH files either have their root bone in the <strong><span style=\"color: #ff6600;\">C<\/span><\/strong>enter <strong><span style=\"color: #ff6600;\">O<\/span><\/strong>f <strong><span style=\"color: #ff6600;\">G<\/span><\/strong>ravity (COG, mPelvis) or at the base of the rig (Origin). Here you can specify which situation applies to your imported BVH file.<\/li>\n<li><em><span style=\"color: #ff6600;\">With Translation:<\/span><\/em> (as it says)<\/li>\n<li><em><span style=\"color: #ff6600;\">Scale:<\/span><\/em> (by default assume unit is inch)<\/li>\n<li><span style=\"color: #ff6600;\"><em>Cleanup action<\/em><\/span>: remove animation curves which contain less than 2 keyframes<\/li>\n<li><em><span style=\"color: #ff6600;\">Keep source rig:<\/span><\/em> For debugging only<\/li>\n<li><em>Keep reference frame:<\/em> For debugging only<\/li>\n<\/ul>\n<\/div>\n<div class=\"rhcol span5\">\n<p><img decoding=\"async\" class=\"alignleft wp-image-43763 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-808.png\" alt=\"\" width=\"379\" height=\"301\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-808.png 379w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-808-300x238.png 300w\" sizes=\"(max-width: 379px) 100vw, 379px\" \/><\/p>\n<\/div>\n<\/div>\n<p><strong><span style=\"color: #3366ff;\">Tip:<\/span><\/strong> Please check the hover tool tips for more detailed information.<\/p>\n<h3>After Import<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span6\">\n<p>When the import was successful you see a fresh Avastar Rig (only the Armature in Stick mode)\u00a0 and the imported animation in the timeline (default action).<\/p>\n<p>In the image i have changed the display mode from Stick to Octahedral only for cosmetic reasons.<\/p>\n<\/div>\n<div class=\"rhcol span6\">\n<p><img decoding=\"async\" class=\"alignleft wp-image-43765 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-809.png\" alt=\"\" width=\"870\" height=\"548\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-809.png 870w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-809-300x189.png 300w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/05\/Image-300-809-768x484.png 768w\" sizes=\"(max-width: 870px) 100vw, 870px\" \/><\/p>\n<\/div>\n<\/div>\n<h3>Variation: Import into existing Avastar<\/h3>\n<p>If you already have an Avastar character in the scene, then you can load an animation directly &#8220;into&#8221; your Avastar character:<\/p>\n<ul>\n<li>Select the Avastar rig in Object mode<\/li>\n<li>Call the BVH importer as described above.<\/li>\n<\/ul>\n<p>The importer recognizes the active Object is an Avastar character and uses it as target for the imported Animation.<\/p>\n<p><strong><span style=\"color: #993300;\">Note:<\/span><\/strong> This importer is experimental and basically unsupported. Feedback and suggestions for improvement are welcome.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SL Animation Importer(BVH) A simple file importer for SL Animation files using the BVH format. The importer only works reliably if following conditions apply: The animation has been made for Secondlife The Animation contains a reference pose in the first frame. Note: If the above conditions do not apply, then the importer most probably does [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5477,"parent":3761,"menu_order":4,"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-2338","page","type-page","status-publish","has-post-thumbnail","hentry","category-help"],"_links":{"self":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/2338","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=2338"}],"version-history":[{"count":3,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/2338\/revisions"}],"predecessor-version":[{"id":43766,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/2338\/revisions\/43766"}],"up":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/3761"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/media\/5477"}],"wp:attachment":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/media?parent=2338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/categories?post=2338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/tags?post=2338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}