Import a 3D Model and automatically assign and export animations
TypeScript
Add view settings updates to create and retarget page
Scott Petrovic331257bcbf1b
diff --git a/src/create.html b/src/create.htmlindex 8074edc..c516486 100644--- a/src/create.html+++ b/src/create.html@@ -46,35 +46,41 @@<img src="../images/github-white-icon.png" width="24" height="24" alt="GitHub" /></a>- <!-- Settings Toggle Dropdown -->- <div id="settings-dropdown-container" class="nav-dropdown">- <button- id="settings-toggle"- class="nav-icon-button"- aria-expanded="false"- aria-controls="settings-dropdown-content"- aria-haspopup="true"- aria-label="Open settings"- >- <span class="material-symbols-outlined">settings</span>- </button>-- <!-- content that has options for settings -->- <div id="settings-dropdown-content" class="nav-dropdown-content" hidden>-- <!-- Theme Toggle -->- <button id="theme-toggle" class="settings-dropdown-row">- <!-- icon will fill in here-->- <span class="theme-icon"></span>- <span class="theme-label"></span>- </button>-- <div class="settings-dropdown-row light-intensity-setting">- <label for="light-intensity-input">Light intensity</label>- <input type="range" id="light-intensity-input" min="0.1" max="2.0" value="1.0" step="0.01" />- </div>++ <!-- Settings Toggle Dropdown -->+ <div id="settings-dropdown-container" class="nav-dropdown">+ <button id="settings-toggle" class="nav-icon-button" aria-expanded="false" aria-controls="settings-dropdown-content" aria-haspopup="true" aria-label="Open settings">+ <span class="material-symbols-outlined">settings</span>+ </button>++ <!-- content that has options for settings -->+ <div id="settings-dropdown-content" class="nav-dropdown-content" hidden>++ <!-- Theme Toggle -->+ <button id="theme-toggle" class="settings-dropdown-row">+ <!-- icon will fill in here-->+ <span class="theme-icon"></span>+ <span class="theme-label"></span>+ </button>+++ <div class="settings-dropdown-row light-intensity-setting">+ <label for="light-intensity-input">Light intensity</label>+ <input type="range" id="light-intensity-input" min="0.1" max="2.0" value="1.0" step="0.01" />+ </div>++ <div class="settings-dropdown-row">+ <label for="floor-grid-toggle">Show floor grid</label>+ <input type="checkbox" id="floor-grid-toggle" checked />+ </div>++ <div class="settings-dropdown-row">+ <label for="solid-background-toggle">Solid background</label>+ <input type="checkbox" id="solid-background-toggle" />+ </div>+ </div></div>- </div>+</div></nav>diff --git a/src/retarget/index.html b/src/retarget/index.htmlindex d6e589b..d051b35 100644--- a/src/retarget/index.html+++ b/src/retarget/index.html@@ -51,10 +51,21 @@<span class="theme-label"></span></button>+<div class="settings-dropdown-row light-intensity-setting"><label for="light-intensity-input">Light intensity</label><input type="range" id="light-intensity-input" min="0.1" max="2.0" value="1.0" step="0.01" /></div>++ <div class="settings-dropdown-row">+ <label for="floor-grid-toggle">Show floor grid</label>+ <input type="checkbox" id="floor-grid-toggle" checked />+ </div>++ <div class="settings-dropdown-row">+ <label for="solid-background-toggle">Solid background</label>+ <input type="checkbox" id="solid-background-toggle" />+ </div></div></div></div>