This commit is contained in:
Kseninia Mikhaylova 2024-06-11 13:22:58 +03:00
parent f551abc982
commit 580719239e
2 changed files with 4 additions and 3 deletions

View File

@ -34,6 +34,7 @@ const { hasFinishLoading, progress, items } = await useProgress()
<Suspense>
<ModelParametric />
</Suspense>
<TresDirectionalLight :position="[7, 6, 7]" :intensity="10" color="#fdf5ca" cast-shadow />
</TresCanvas>
</div>
</template>

View File

@ -40,9 +40,9 @@ watch(fence_section, () => {
</script>
<template>
<TresGroup :scale="3" :rotate-y="-Math.PI * -0.5" :translate-y="-3.25">
<TresMesh receive-shadow cast-shadow :translate-y="-0.26">
<TresCircleGeometry :args="[8, 8, 8]" :rotate-x="-Math.PI * 0.5" />
<TresMeshStandardMaterial v-bind="pbrTexture" color="violet" />
<TresMesh receive-shadow :translate-y="-0.05">
<TresCircleGeometry :args="[8, 32]" :rotate-x="-Math.PI * 0.5" />
<TresMeshStandardMaterial color="violet" />
</TresMesh>
<TresGroup :position="[pillar_one_pos, (lSize * -0.5), 0]" :scale="[1, 0.5, 1]">