Merge branch 'bx-696-startproject' of https://git.svs-tech.pro/ksenia_mikhailova/mns-mini-zabor into bx-696-startproject
This commit is contained in:
commit
ed9f5335a9
|
@ -54,11 +54,15 @@ watch(form_state, changeParametres, { deep: true })
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-item">
|
<div class="form-item">
|
||||||
<label for="length">Длина секции, мм</label>
|
<label for="length">Длина секции, мм</label>
|
||||||
|
<Icon type="button" @click="increment('length')">-</Icon>
|
||||||
<input id="length" type="number" v-bind="parametric.length" v-model="form_state.length" />
|
<input id="length" type="number" v-bind="parametric.length" v-model="form_state.length" />
|
||||||
|
<Icon type="button" @click="increment('length')">+</Icon>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-item">
|
<div class="form-item">
|
||||||
<label for="height">Высота забора, мм</label>
|
<label for="height">Высота забора, мм</label>
|
||||||
|
<Icon type="button" @click="increment('length')">-</Icon>
|
||||||
<input id="height" type="number" v-bind="parametric.height" v-model="form_state.height" />
|
<input id="height" type="number" v-bind="parametric.height" v-model="form_state.height" />
|
||||||
|
<Icon type="button" @click="increment('length')">+</Icon>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { Environment } from '@tresjs/cientos'
|
import { Environment } from '@tresjs/cientos'
|
||||||
import { CineonToneMapping, PCFShadowMap } from 'three';
|
import { ReinhardToneMapping, PCFShadowMap } from 'three';
|
||||||
|
|
||||||
const lamelles_count = useState<number>('lamelles_count')
|
const lamelles_count = useState<number>('lamelles_count')
|
||||||
const fence_section = useState<number>('fence_section')
|
const fence_section = useState<number>('fence_section')
|
||||||
|
@ -12,7 +12,7 @@ const bSize = 0.0235
|
||||||
const pillar_size = 80 * 0.001
|
const pillar_size = 80 * 0.001
|
||||||
|
|
||||||
const { renderer } = useTresContext()
|
const { renderer } = useTresContext()
|
||||||
renderer.value.toneMapping = CineonToneMapping
|
renderer.value.toneMapping = ReinhardToneMapping
|
||||||
|
|
||||||
renderer.value.shadowMap.enabled = true
|
renderer.value.shadowMap.enabled = true
|
||||||
renderer.value.shadowMap.type = PCFShadowMap
|
renderer.value.shadowMap.type = PCFShadowMap
|
||||||
|
|
Loading…
Reference in New Issue