explosion correction
This commit is contained in:
parent
60ed5e4e77
commit
c3e37eb966
|
@ -14,10 +14,14 @@ const controlsState = reactive({
|
||||||
<template>
|
<template>
|
||||||
<div class="container min-w-full">
|
<div class="container min-w-full">
|
||||||
<TresCanvas shadows>
|
<TresCanvas shadows>
|
||||||
<TresPerspectiveCamera :position="[-7, 2, 1]" />
|
<TresPerspectiveCamera :position="[-7, 2, 4]" />
|
||||||
<OrbitControls v-bind="controlsState" make-default />
|
<OrbitControls v-bind="controlsState" make-default />
|
||||||
|
|
||||||
<ModelDiagram />
|
<ModelDiagram />
|
||||||
|
|
||||||
|
<TresDirectionalLight :position="[2, 2, 2]" :intensity="2" color="violet" cast-shadow />
|
||||||
|
<TresDirectionalLight :position="[2, 2, -2]" :intensity="1" color="red" cast-shadow />
|
||||||
|
<TresAmbientLight v-bind="backLight" />
|
||||||
</TresCanvas>
|
</TresCanvas>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -10,15 +10,13 @@ const lamelles_count = useState('lamelles_count')
|
||||||
<TresMeshStandardMaterial color="pink" />
|
<TresMeshStandardMaterial color="pink" />
|
||||||
</TresMesh>
|
</TresMesh>
|
||||||
<Suspense>
|
<Suspense>
|
||||||
<TresGroup>
|
<TresGroup :translate-y="-1.5">
|
||||||
<TresGroup>
|
|
||||||
<Item model-url="/models/kosynka.glb" :target="[0.5, 0.25, 0.5,]" />
|
<Item model-url="/models/kosynka.glb" :target="[0.5, 0.25, 0.5,]" />
|
||||||
<Item model-url="/models/kreplaniye_planok.glb" :target="[1, 0.5, 1]" />
|
<Item model-url="/models/kreplaniye_planok.glb" :target="[1, 0.5, 1]" />
|
||||||
<Item model-url="/models/planki.glb" :target="[1.5, 1, 1.5,]" />
|
<Item model-url="/models/planki.glb" :target="[1.5, 1, 1.5,]" />
|
||||||
<Item model-url="/models/stolb.glb" :target="[-0.5, 0.25, -0.5,]" />
|
<Item model-url="/models/stolb.glb" :target="[-0.5, 0.25, -0.5,]" />
|
||||||
<Item model-url="/models/verh.glb" :target="[-1, 0.5, -1,]" />
|
<Item model-url="/models/verh.glb" :target="[-1, 0.5, -1,]" />
|
||||||
<Item model-url="/models/zakliopki.glb" :target="[-1.5, 1, -1.5,]" />
|
<Item model-url="/models/zakliopki.glb" :target="[-1.5, 1, -1.5,]" />
|
||||||
</TresGroup>
|
|
||||||
</TresGroup>
|
</TresGroup>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</template>
|
</template>
|
Loading…
Reference in New Issue