diff --git a/components/calcModels.vue b/components/calcModels.vue index 99d16a3..3a3a033 100644 --- a/components/calcModels.vue +++ b/components/calcModels.vue @@ -6,7 +6,7 @@ const controlsState = reactive({ minDistance: 1, maxDistance: 10, enablePan: false, - enableZoom: false, + // enableZoom: false, maxPolarAngle: (Math.PI / 2) - 0.2, }) const { hasFinishLoading, progress, items } = await useProgress() diff --git a/components/model/parametric.vue b/components/model/parametric.vue index 0d390bb..cd9f2c1 100644 --- a/components/model/parametric.vue +++ b/components/model/parametric.vue @@ -25,46 +25,66 @@ const pbrTexture = await useTexture({ normalMap: '/texture/Rock035_2K_NormalGL.jpg', ambientOcclusion: '/texture/Rock035_2K_AmbientOcclusion.jpg', }) -const { scene: bottom } = await useGLTF('/models_one/verh_100.glb', { draco: true }) -const { scene: verh } = await useGLTF('/models_one/bottom.glb', { draco: true }) -const { scene: stolb } = await useGLTF('/models_one/stolb.glb', { draco: true }) -const { scene: lamelle } = await useGLTF('/models_one/lamel_100.glb', { draco: true }) +const { scene: top } = await useGLTF('/models_one/verh_100.glb') +const { scene: fence } = await useGLTF('/models_one/fence.glb') +const { scene: fastening } = await useGLTF('/models_one/krepleniye_planok (1).glb') +const { scene: lamelle } = await useGLTF('/models_one/lamel_100.glb') + +const pillar_one_pos = fence_section.value * -0.5 +const pillar_two_pos = fence_section.value * 0.5 + pillar_size + bSize \ No newline at end of file diff --git a/public/models_light/back_light.glb b/public/models_light/back_light.glb deleted file mode 100644 index b7291fc..0000000 Binary files a/public/models_light/back_light.glb and /dev/null differ diff --git a/public/models_light/primary_light.glb b/public/models_light/primary_light.glb deleted file mode 100644 index b7291fc..0000000 Binary files a/public/models_light/primary_light.glb and /dev/null differ diff --git a/public/models_light/secondary_light.glb b/public/models_light/secondary_light.glb deleted file mode 100644 index b7291fc..0000000 Binary files a/public/models_light/secondary_light.glb and /dev/null differ diff --git a/public/models_one/fence.glb b/public/models_one/fence.glb new file mode 100644 index 0000000..15a6ef0 Binary files /dev/null and b/public/models_one/fence.glb differ diff --git a/public/models_one/krepleniye_planok (1).glb b/public/models_one/krepleniye_planok (1).glb new file mode 100644 index 0000000..9982e33 Binary files /dev/null and b/public/models_one/krepleniye_planok (1).glb differ diff --git a/public/models_one/lamel.glb b/public/models_one/lamel.glb deleted file mode 100644 index 2a98760..0000000 Binary files a/public/models_one/lamel.glb and /dev/null differ diff --git a/public/models_one/stolb.glb b/public/models_one/stolb.glb deleted file mode 100644 index 8f57eb8..0000000 Binary files a/public/models_one/stolb.glb and /dev/null differ diff --git a/public/models_one/verh.glb b/public/models_one/verh.glb deleted file mode 100644 index b696a4d..0000000 Binary files a/public/models_one/verh.glb and /dev/null differ