This repository has been archived by the owner on Nov 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
88 lines (75 loc) · 5.52 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!--
SweetHome3DJSViewerInOverlay.html version 6.2
Sweet Home 3D, Copyright (c) 2019 Emmanuel PUYBARET / eTeks <[email protected]>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<!--
Codi modificat i estilitzat per ludg1e.
-->
<!DOCTYPE html>
<html style="font-family: Arial;">
<head>
<meta http-equiv="Content-Type" content="text/html, charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="https://github.com/ludg1e/sh3d-hiperaula/blob/main/favicon.png">
<title>Visualitzador SH3D-JS</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<script type="text/javascript" src="lib/big.min.js"></script>
<script type="text/javascript" src="lib/gl-matrix-min.js"></script>
<script type="text/javascript" src="lib/jszip.min.js"></script>
<script type="text/javascript" src="lib/core.min.js"></script>
<script type="text/javascript" src="lib/geom.min.js"></script>
<script type="text/javascript" src="lib/stroke.min.js"></script>
<script type="text/javascript" src="lib/batik-svgpathparser.min.js"></script>
<script type="text/javascript" src="lib/jsXmlSaxParser.min.js"></script>
<script type="text/javascript" src="lib/triangulator.min.js"></script>
<script type="text/javascript" src="lib/viewmodel.min.js"></script>
<script type="text/javascript" src="lib/viewhome.min.js"></script>
<style type="text/css">
.viewerComponent {}
</style>
</head>
<body>
<div id="container" style="display: flex; flex-direction: column; justify-content: center; align-items: center; height: 94.5vh;">
<div id="load-button">
<button type="button" style="width: 100px; height: 100px; background-color: green; border-style: solid; border-color: darkgreen; border-radius: 25px;" onclick='viewHomeInOverlay("propostamodel3d_25042022.sh3d",
{roundsPerMinute: 3, /* Rotation speed of the animation launched once home is loaded in rounds per minute, no animation if missing */
widthByHeightRatio: 4/3, /* Size ratio of the displayed canvas */
navigationPanel: "default", /* Displayed navigation arrows, "none" or "default" for default one or an HTML string containing elements with data-simulated-key
attribute set "UP", "DOWN", "LEFT", "RIGHT"... to replace the default navigation panel, "none" if missing */
aerialViewButtonText: "Vista aèria", /* Text displayed for aerial view radio button, no radio buttons if missing */
virtualVisitButtonText: "Visita virtual", /* Text displayed for virtual visit radio button, no radio buttons if missing */
level: "Main", /* Uncomment to select the displayed level, default level if missing */
/* selectableLevels: ["Ground floor", "Roof"], */ /* Uncomment to choose the list of displayed levels, no select component if empty array */
/* camera: "Exterior view", */ /* Uncomment to select a camera, default camera if missing */
/* selectableCameras: ["Exterior view", "Kitchen"], */ /* Uncomment to choose the list of displayed cameras, no camera if missing */
activateCameraSwitchKey: true, /* Switch between top view / virtual visit with space bar if not false or missing */
viewerControlsAdditionalHTML: "", /* Additional HTML text appended to controls displayed below the canvas 3D, by default empty */
readingHomeText: "Llegint", /* Comment displayed while reading home */
readingModelText: "Model", /* Comment displayed while reading models */
noWebGLSupportError: "El teu navegador no suporta WebGL." /* Error message displayed if the browser does not support WebGL */
})'>
<i id="play-svg" class="bi bi-play-fill" style="display: flex; justify-content: center; align-items: center; font-size: 5em; color: white;"></i>
</button>
</div>
</div>
<div id="footer-text" style="display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; flex-grow: 0; flex-shrink: 0; color: grey;">
<div id="sh3d-info-text">
<a href="https://sweethome3d.com">Sweet Home 3D</a> JS Viewer / Versió 6.2 - Distribuït sota la Llicència Pública General de GNU (GPLv3).
</div>
<div id="source-code-text">
<a href="https://github.com/ludg1e/sh3d-hiperaula">Codi font (GitHub)</a>
</div>
</div>
</body>
</html>