diff --git a/components/model/parametric.vue b/components/model/parametric.vue
index 4396054..3d82b00 100644
--- a/components/model/parametric.vue
+++ b/components/model/parametric.vue
@@ -21,13 +21,18 @@ renderer.value.toneMapping = ReinhardToneMapping
renderer.value.shadowMap.enabled = true
renderer.value.shadowMap.type = PCFSoftShadowMap
-const { scene: top } = await useGLTF('/models_one/verh_100.glb', { draco: true })
-const { scene: fence } = await useGLTF('/models_one/fence.glb', { draco: true })
-const { scene: fastening } = await useGLTF('/models_one/krepleniye_planok (1).glb', { draco: true })
-const { scene: lamelle } = await useGLTF('/models_one/lamel_100.glb', { draco: true })
+const { scene: top_model } = await useGLTF('/models_one/verh_100.glb', { draco: true })
+const { scene: fence_model } = await useGLTF('/models_one/fence.glb', { draco: true })
+const { scene: fastening_model } = await useGLTF('/models_one/krepleniye_planok (1).glb', { draco: true })
+const { scene: lamelle_model } = await useGLTF('/models_one/lamel_100.glb', { draco: true })
-set_material(lamelle, getColorHexFromRal(lamelle_color.value));
-[top, fence, fastening].map((el: any) => { set_material(el, getColorHexFromRal(pillar_color.value)) })
+const top = ref(top_model)
+const fence = ref(fence_model)
+const fastening = ref(fastening_model)
+const lamelle = ref(lamelle_model)
+
+set_material(lamelle.value, getColorHexFromRal(lamelle_color.value));
+[top, fence, fastening].map((el: any) => { set_material(el.value, getColorHexFromRal(pillar_color.value)) })
const { seek, seekAll } = useSeek()
watch(lamelle_color, () => {
@@ -35,7 +40,7 @@ watch(lamelle_color, () => {
items.forEach(element => {
set_material(element, getColorHexFromRal(lamelle_color.value))
});
- set_material(lamelle, getColorHexFromRal(lamelle_color.value));
+ set_material(lamelle.value, getColorHexFromRal(lamelle_color.value));
})
watch(pillar_color, () => {
const items = [
@@ -48,7 +53,7 @@ watch(pillar_color, () => {
items.forEach(element => {
set_material(element, getColorHexFromRal(pillar_color.value))
});
- [top, fence, fastening].map((el: any) => { set_material(el, getColorHexFromRal(pillar_color.value)) })
+ [top, fence, fastening].map((el: any) => { set_material(el.value, getColorHexFromRal(pillar_color.value)) })
})
watch([section_count, extra_section], () => {
const base = seek(scene.value, 'name', 'base')
diff --git a/public/hdrmaps/kiara_1_dawn_4k.hdr b/public/hdrmaps/kiara_1_dawn_4k.hdr
deleted file mode 100644
index f9908c8..0000000
Binary files a/public/hdrmaps/kiara_1_dawn_4k.hdr and /dev/null differ
diff --git a/public/hdrmaps/kloppenheim_06_4k.hdr b/public/hdrmaps/kloppenheim_06_4k.hdr
deleted file mode 100644
index 7a001d6..0000000
Binary files a/public/hdrmaps/kloppenheim_06_4k.hdr and /dev/null differ
diff --git a/public/hdrmaps/lonely_road_afternoon_4k.hdr b/public/hdrmaps/lonely_road_afternoon_4k.hdr
deleted file mode 100644
index deacca3..0000000
Binary files a/public/hdrmaps/lonely_road_afternoon_4k.hdr and /dev/null differ
diff --git a/public/hdrmaps/skukuza_golf_4k.hdr b/public/hdrmaps/skukuza_golf_4k.hdr
deleted file mode 100644
index 7ff25b4..0000000
Binary files a/public/hdrmaps/skukuza_golf_4k.hdr and /dev/null differ
diff --git a/public/hdrmaps/symmetrical_garden_4k.hdr b/public/hdrmaps/symmetrical_garden_4k.hdr
deleted file mode 100644
index 1f8e04f..0000000
Binary files a/public/hdrmaps/symmetrical_garden_4k.hdr and /dev/null differ
diff --git a/public/texture/Grass01_MR_2K/Grass01_2K_AO.png b/public/texture/Grass01_MR_2K/Grass01_2K_AO.png
deleted file mode 100644
index 3ff3da1..0000000
Binary files a/public/texture/Grass01_MR_2K/Grass01_2K_AO.png and /dev/null differ
diff --git a/public/texture/Grass01_MR_2K/Grass01_2K_BaseColor.png b/public/texture/Grass01_MR_2K/Grass01_2K_BaseColor.png
deleted file mode 100644
index 257104b..0000000
Binary files a/public/texture/Grass01_MR_2K/Grass01_2K_BaseColor.png and /dev/null differ
diff --git a/public/texture/Grass01_MR_2K/Grass01_2K_Height.png b/public/texture/Grass01_MR_2K/Grass01_2K_Height.png
deleted file mode 100644
index a59744a..0000000
Binary files a/public/texture/Grass01_MR_2K/Grass01_2K_Height.png and /dev/null differ
diff --git a/public/texture/Grass01_MR_2K/Grass01_2K_Normal.png b/public/texture/Grass01_MR_2K/Grass01_2K_Normal.png
deleted file mode 100644
index 940a799..0000000
Binary files a/public/texture/Grass01_MR_2K/Grass01_2K_Normal.png and /dev/null differ
diff --git a/public/texture/Grass01_MR_2K/Grass01_2K_Roughness.png b/public/texture/Grass01_MR_2K/Grass01_2K_Roughness.png
deleted file mode 100644
index 5cbfa82..0000000
Binary files a/public/texture/Grass01_MR_2K/Grass01_2K_Roughness.png and /dev/null differ