From bd2b25f9e63c0c0ebdb8ce63235e38876464af31 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 5 Apr 2021 19:15:39 +0200 Subject: update 3d assets properly, i guess --- frontend/site/projects/museum/stl-files.js | 105 +++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 frontend/site/projects/museum/stl-files.js (limited to 'frontend/site/projects/museum/stl-files.js') diff --git a/frontend/site/projects/museum/stl-files.js b/frontend/site/projects/museum/stl-files.js new file mode 100644 index 0000000..a7a0242 --- /dev/null +++ b/frontend/site/projects/museum/stl-files.js @@ -0,0 +1,105 @@ +export const STL_FILES = { + "nora-queen-of-night-server": { + url: "/last-museum/static/media/last-museum/nora-albadri/queen.stl", + modelMaterial: { + color: "#BCC6CC", + shininess: 50, + }, + width: () => window.innerWidth / 2, + height: () => window.innerHeight, + style: { + left: "0", + top: "0", + }, + transform: { + rotate: { + x: -Math.PI/2, + y: 0, + z: 0, + } + } + }, + + "nora-lamassu-space": { + url: "/last-museum/static/media/last-museum/nora-albadri/lamassu.stl", + modelMaterial: { + color: "#bfb8a8", + shininess: 60, + }, + width: () => window.innerWidth / 2, + height: () => window.innerHeight, + style: { + right: "0", + top: "0", + }, + transform: { + rotate: { + x: -Math.PI/2, + y: 0, + z: 0, + } + } + }, + + "nora-peg-stairs": { + url: "/last-museum/static/media/last-museum/nora-albadri/peg.stl", + modelMaterial: { + color: "#0000ff", + shininess: 30, + }, + width: () => window.innerWidth / 2, + height: () => window.innerHeight, + style: { + right: "0", + top: "0", + }, + transform: { + rotate: { + x: -Math.PI/2, + y: Math.PI/2, + z: 0, + } + } + }, + "nora-nefertiti": { + url: "/last-museum/static/media/last-museum/nora-albadri/nefertiti.stl", + modelMaterial: { + color: "#0000ff", + shininess: 30, + }, + width: () => window.innerWidth / 2, + height: () => window.innerHeight * 2/3, + style: { + left: "0", + top: "0", + }, + transform: { + rotate: { + x: -Math.PI/2, + y: 0, + z: 0, + } + } + }, + "nora-horus-2": { + url: "/last-museum/static/media/last-museum/nora-albadri/shehorus.stl", + modelMaterial: { + color: "#888888", + shininess: 100, + }, + width: () => window.innerWidth / 2, + height: () => window.innerHeight, + style: { + right: "0", + top: "50%", + transform: "translateY(-50%)", + }, + transform: { + rotate: { + x: -Math.PI/2, + y: 0, + z: 0, + } + } + } +} -- cgit v1.2.3-70-g09d2