diff --git a/.DS_Store b/.DS_Store
index f025ef0..127abaa 100644
Binary files a/.DS_Store and b/.DS_Store differ
diff --git a/splats/gabriel_mod.ply b/splats/gabriel_mod.ply
new file mode 100644
index 0000000..33f9c97
Binary files /dev/null and b/splats/gabriel_mod.ply differ
diff --git a/splats/groupe2_mod.ply b/splats/groupe2_mod.ply
new file mode 100644
index 0000000..a0e4db9
Binary files /dev/null and b/splats/groupe2_mod.ply differ
diff --git a/splats/groupe3_2_mod.ply b/splats/groupe3_2_mod.ply
new file mode 100644
index 0000000..bb6da6f
Binary files /dev/null and b/splats/groupe3_2_mod.ply differ
diff --git a/splats/groupe3_mod.ply b/splats/groupe3_mod.ply
new file mode 100644
index 0000000..dd9c766
Binary files /dev/null and b/splats/groupe3_mod.ply differ
diff --git a/splats/groupe_mod.ply b/splats/groupe_mod.ply
index 0b2aa2e..1715513 100644
Binary files a/splats/groupe_mod.ply and b/splats/groupe_mod.ply differ
diff --git a/splats/index.html b/splats/index.html
index 9c6ea0b..402fb27 100644
--- a/splats/index.html
+++ b/splats/index.html
@@ -20,6 +20,9 @@
if (document.getElementById('G3').getAttribute('visible') == true) {
gaussian = "G3"
}
+ if (document.getElementById('G4').getAttribute('visible') == true) {
+ gaussian = "G4"
+ }
console.log(eventData.key.toUpperCase());
if (eventData.key.toUpperCase() == "L")
{
@@ -80,6 +83,7 @@
document.getElementById('G2').setAttribute('visible', 'false');
document.getElementById('G1').setAttribute('visible', 'true');
document.getElementById('G3').setAttribute('visible', 'false');
+ document.getElementById('G4').setAttribute('visible', 'false');
document.getElementById('sky').setAttribute('src', '#sky1');
}
else if (eventData.key.toUpperCase() == "2")
@@ -88,6 +92,7 @@
document.getElementById('G1').setAttribute('visible', 'false');
document.getElementById('G2').setAttribute('visible', 'true');
document.getElementById('G3').setAttribute('visible', 'false');
+ document.getElementById('G4').setAttribute('visible', 'false');
document.getElementById('sky').setAttribute('src', '#sky2');
}
else if (eventData.key.toUpperCase() == "3")
@@ -96,8 +101,18 @@
document.getElementById('G1').setAttribute('visible', 'false');
document.getElementById('G2').setAttribute('visible', 'false');
document.getElementById('G3').setAttribute('visible', 'true');
+ document.getElementById('G4').setAttribute('visible', 'false');
document.getElementById('sky').setAttribute('src', '#sky3');
}
+ else if (eventData.key.toUpperCase() == "4")
+ {
+ document.getElementById('master').setAttribute('scene', '4');
+ document.getElementById('G1').setAttribute('visible', 'false');
+ document.getElementById('G2').setAttribute('visible', 'false');
+ document.getElementById('G3').setAttribute('visible', 'false');
+ document.getElementById('G4').setAttribute('visible', 'true');
+ document.getElementById('sky').setAttribute('src', '#sky4');
+ }
}
);
@@ -112,6 +127,7 @@
document.getElementById('G1').setAttribute('visible', 'false');
document.getElementById('G2').setAttribute('visible', 'true');
document.getElementById('G3').setAttribute('visible', 'false');
+ document.getElementById('G4').setAttribute('visible', 'false');
document.getElementById('sky').setAttribute('src', '#sky2');
}
else if (scene == "2") {
@@ -119,13 +135,23 @@
document.getElementById('G2').setAttribute('visible', 'false');
document.getElementById('G1').setAttribute('visible', 'false');
document.getElementById('G3').setAttribute('visible', 'true');
+ document.getElementById('G4').setAttribute('visible', 'false');
document.getElementById('sky').setAttribute('src', '#sky3');
}
else if (scene == "3") {
+ document.getElementById('master').setAttribute('scene', '4');
+ document.getElementById('G2').setAttribute('visible', 'false');
+ document.getElementById('G1').setAttribute('visible', 'false');
+ document.getElementById('G3').setAttribute('visible', 'false');
+ document.getElementById('G4').setAttribute('visible', 'true');
+ document.getElementById('sky').setAttribute('src', '#sky4');
+ }
+ else if (scene == "4") {
document.getElementById('master').setAttribute('scene', '1');
document.getElementById('G2').setAttribute('visible', 'false');
document.getElementById('G1').setAttribute('visible', 'true');
document.getElementById('G3').setAttribute('visible', 'false');
+ document.getElementById('G4').setAttribute('visible', 'false');
document.getElementById('sky').setAttribute('src', '#sky1');
}
}
@@ -141,6 +167,8 @@
+
+
diff --git a/splats/index2.html b/splats/index2.html new file mode 100644 index 0000000..4b33b2c --- /dev/null +++ b/splats/index2.html @@ -0,0 +1,191 @@ + + +
+ + + + + +
+