Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

remove floating side panels

Scott Petrovic08d3900aeaf1
diff --git a/src/marketing/marketing.css b/src/marketing/marketing.css
index d04d046..e0ec8ee 100644
--- a/src/marketing/marketing.css
+++ b/src/marketing/marketing.css
@@ -1,6 +1,13 @@
/* Explore page left sidebar: skeleton buttons on top, model variations below */
body.explore-page {
--explore-sidebar-width: 10.5rem;
+ /* tool panel width is content-driven, so this is an approximation */
+ --explore-tool-panel-width: 25rem;
+}
+
+/* center the animation player between the left sidebar and right tool panel */
+body.explore-page #animation-player {
+ left: calc(50% + (var(--explore-sidebar-width) - var(--explore-tool-panel-width)) / 2);
}
.model-selection-section {
diff --git a/src/retarget/index.html b/src/retarget/index.html
index 42194ec..31fdcc0 100644
--- a/src/retarget/index.html
+++ b/src/retarget/index.html
@@ -43,29 +43,7 @@
<h1>Bring your own rigged model</h1>
<div style="max-width: 30rem;">
- <div style="
- padding: 0.5rem;
- margin: 0;
- border: 2px solid #dbff66;
- width: 100%;
- display: flex;
- gap: 0.5rem;
- justify-content: center;
- ">
-
- <span data-tippy-content="This feature is still being developed. The main stable workflow is to use a Mesh2Motion rig that you 'skin' in another application like Blender. Mixamo skeletons supported as long as there is only 1 skeleton in the file." >
- <span class="button-icon-group">
- <span>Experimental</span>
-
- <img src="../images/icons/help.svg" alt="Help" width="20" height="20" />
-
- </span>
- </span>
-
- <a id="m2m-model-github-link" style="font-size: 1rem" target="_blank" href="https://github.com/Mesh2Motion/mesh2motion-assets/tree/main/rigs">View M2M rigs from GitHub.</a>
- </div>
-
- <p style="margin: 0; margin-top: 1rem;">Import your rig and map the bones to continue.</p>
+ <p style="margin: 0;">Import your rig and map the bones to continue. <a id="m2m-model-github-link" target="_blank" href="https://github.com/Mesh2Motion/mesh2motion-assets/tree/main/rigs">View M2M rigs from GitHub.</a></p>
</div>
<div style="display: flex; flex-direction: row; gap: 1rem; margin-top: 1rem;">