Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

Add camera projection change to explore page

Scott Petrovic35a67a249159
diff --git a/src/index.html b/src/index.html
index 7eaf011..1ccc27e 100644
--- a/src/index.html
+++ b/src/index.html
@@ -185,6 +185,23 @@
<!-- 3d view control hit box. It is just a container to help with 3d view controls. -->
<div id="view-control-hitbox"></div>
+ <!-- Camera Type Toggle -->
+ <div id="camera-toggle-container">
+ <fieldset>
+ <span>Camera Projection</span>
+ <div id="camera-type-group" class="toggle">
+ <input type="radio" name="camera-type" value="perspective" id="camera-perspective" checked="checked" />
+ <label for="camera-perspective">
+ <span class="material-symbols-outlined" title="Perspective Camera" style="font-size: 20px;">photo_camera</span>
+ </label>
+ <input type="radio" name="camera-type" value="orthographic" id="camera-orthographic" />
+ <label for="camera-orthographic">
+ <span class="material-symbols-outlined" title="Orthographic Camera" style="font-size: 20px;">grid_view</span>
+ </label>
+ </div>
+ </fieldset>
+ </div>
+
<!-- build version information-->
<span id="build-version"></span>
diff --git a/src/marketing/marketing.css b/src/marketing/marketing.css
index 28b1003..45b8333 100644
--- a/src/marketing/marketing.css
+++ b/src/marketing/marketing.css
@@ -2,9 +2,8 @@
display: inline-flex;
flex-direction: column;
left: 0;
- top: 70px;
- gap: 0;
- margin: 1rem;
+ top: 120px;
+ margin: 2rem;
position: fixed;
}