Import a 3D Model and automatically assign and export animations
TypeScript
Move bone toggle by the animation player to keep options close together
Scott Petrovic64075a5f3908
diff --git a/src/create.html b/src/create.htmlindex f62da9d..7882eb2 100644--- a/src/create.html+++ b/src/create.html@@ -44,15 +44,6 @@<!-- Top toolbar with mouse controls --><div id="header-ui">-- <!-- checkbox option to show skeleton -->- <div id="skeleton-toggle" class="styled-checkbox icon-toggle" >- <input type="checkbox" id="show-skeleton-checkbox" name="show-skeleton" value="show" style="display:none;">- <label for="show-skeleton-checkbox" data-tippy-content="Show skeleton" tabindex="0">- <img src="./images/icons/bone-display.svg" width="30" height="30" alt="Show skeleton" />- </label>- </div>-<div><img src="images/mouse-left.svg" height="30" width="30" style="vertical-align: middle;"/> Rotate</div>@@ -421,6 +412,14 @@<span id="total-time">0f</span></span><input type="range" id="animation-scrubber" min="0" max="100" value="0" disabled>++ <!-- checkbox option to show skeleton -->+ <div id="skeleton-toggle" class="styled-checkbox icon-toggle" >+ <input type="checkbox" id="show-skeleton-checkbox" name="show-skeleton" value="show" style="display:none;">+ <label for="show-skeleton-checkbox" data-tippy-content="Show skeleton" tabindex="0" style="border-radius: 0">+ <img src="../images/icons/bone-display.svg" width="20" height="20" alt="Show skeleton" style="user-select: none;" />+ </label>+ </div></div></div>diff --git a/src/index.html b/src/index.htmlindex d2f99a4..2c72c14 100644--- a/src/index.html+++ b/src/index.html@@ -46,13 +46,7 @@<!-- Top toolbar with mouse controls --><div id="header-ui">- <!-- checkbox option to show skeleton -->- <div id="skeleton-toggle" class="styled-checkbox icon-toggle" >- <input type="checkbox" id="show-skeleton-checkbox" name="show-skeleton" value="show" style="display:none;">- <label for="show-skeleton-checkbox" data-tippy-content="Show skeleton" tabindex="0">- <img src="./images/icons/bone-display.svg" width="30" height="30" alt="Show skeleton" />- </label>- </div>+<div><img src="./images/mouse-left.svg" height="30" width="30" style="vertical-align: middle;"/> Rotate@@ -193,8 +187,19 @@<span id="total-time">0f</span></span><input type="range" id="animation-scrubber" min="0" max="100" value="0" disabled>+++ <!-- checkbox option to show skeleton -->+ <div id="skeleton-toggle" class="styled-checkbox icon-toggle" >+ <input type="checkbox" id="show-skeleton-checkbox" name="show-skeleton" value="show" style="display:none;">+ <label for="show-skeleton-checkbox" data-tippy-content="Show skeleton" tabindex="0" style="border-radius: 0">+ <img src="../images/icons/bone-display.svg" width="20" height="20" alt="Show skeleton" style="user-select: none;" />+ </label>+ </div></div>++</div>diff --git a/src/retarget/index.html b/src/retarget/index.htmlindex e8f72e2..43020ed 100644--- a/src/retarget/index.html+++ b/src/retarget/index.html@@ -202,6 +202,15 @@<span id="total-time">0f</span></span><input type="range" id="animation-scrubber" min="0" max="100" value="0" disabled>++ <!-- checkbox option to show skeleton -->+ <div id="skeleton-toggle" class="styled-checkbox icon-toggle" >+ <input type="checkbox" id="show-skeleton-checkbox" name="show-skeleton" value="show" style="display:none;">+ <label for="show-skeleton-checkbox" data-tippy-content="Show skeleton" tabindex="0" style="border-radius: 0">+ <img src="../images/icons/bone-display.svg" width="20" height="20" alt="Show skeleton" style="user-select: none;" />+ </label>+ </div>+</div></div>@@ -209,14 +218,6 @@<!-- Top toolbar with mouse controls --><div id="header-ui">-- <div id="skeleton-toggle" class="styled-checkbox icon-toggle" >- <input type="checkbox" id="show-skeleton-checkbox" name="show-skeleton" value="show" style="display:none;">- <label for="show-skeleton-checkbox" data-tippy-content="Show skeleton" tabindex="0">- <img src="../images/icons/bone-display.svg" width="30" height="30" alt="Show skeleton" />- </label>- </div>-<div><img src="/images/mouse-left.svg" height="30" width="30" style="vertical-align: middle;"/> Rotate</div>diff --git a/src/styles.css b/src/styles.cssindex 3c16955..40e891f 100644--- a/src/styles.css+++ b/src/styles.css@@ -129,7 +129,8 @@ div, p {}#skeleton-toggle {-+ padding: 0;+ margin: 0;}