aboutsummaryrefslogtreecommitdiff
path: root/tools/viz/index.html
diff options
context:
space:
mode:
authorCNLohr <charles@cnlohr.com>2018-03-16 00:02:03 -0400
committerGitHub <noreply@github.com>2018-03-16 00:02:03 -0400
commit6e67cc1996fbcba36e11cb281c78d3b00c4de85d (patch)
tree543390fcbd17dfce8845dff942fc6ecd928270b7 /tools/viz/index.html
parent61a01d0ddfd8e99c97e3d235d4f0782fbf0ed032 (diff)
parent029b2909b37cc58ba35e0f46be1802866ee59730 (diff)
downloadlibsurvive-6e67cc1996fbcba36e11cb281c78d3b00c4de85d.tar.gz
libsurvive-6e67cc1996fbcba36e11cb281c78d3b00c4de85d.tar.bz2
Merge pull request #113 from cnlohr/epnp
Epnp
Diffstat (limited to 'tools/viz/index.html')
-rw-r--r--tools/viz/index.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/viz/index.html b/tools/viz/index.html
new file mode 100644
index 0000000..5085faf
--- /dev/null
+++ b/tools/viz/index.html
@@ -0,0 +1,23 @@
+
+<html>
+ <head>
+ <script
+ src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
+ integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E="
+ crossorigin="anonymous"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/90/three.min.js"></script>
+ <script src="./lib/OrbitControls.js"></script>
+ <script src="survive_viewer.js"></script>
+ </head>
+ <body>
+ <div id="ThreeJS" style="z-index: 1; position: absolute; left:0px; top:0px"></div>
+ <div id="cam-control" style="z-index: 2;border:1px solid white;position:absolute">
+ <button id="toggleBtn">
+ Toggle 2D View
+ </button>
+ <div id="cam" style="display:none">
+ <canvas width=800 height=800 id="camcanvas"></canvas>
+ </div>
+ </div>
+ </body>
+</html>