canvas on demand
This commit is contained in:
parent
f0210f60ea
commit
1075c0d443
|
@ -62,7 +62,7 @@ watch([section_count, extra_section], () => {
|
|||
</div>
|
||||
</template>
|
||||
<Loader />
|
||||
<TresCanvas preset="realistic">
|
||||
<TresCanvas>
|
||||
<TresPerspectiveCamera v-bind="cameraStat" ref="camera" />
|
||||
<OrbitControls v-bind="controlsState" make-default />
|
||||
<TresGroup :position-x="Math.min(section_count, max_size) * fence_section * -1" :position-y="-3">
|
||||
|
|
|
@ -63,7 +63,7 @@ onMounted(() => {
|
|||
Загрузка 3D модели
|
||||
</div>
|
||||
</template>
|
||||
<TresCanvas height="600" preset="realistic" render-mode="on-demand">
|
||||
<TresCanvas height="600">
|
||||
<TresPerspectiveCamera :position="[-7, 2, 4]" ref="camera" />
|
||||
<OrbitControls v-bind="controlsState" ref="controls" make-default />
|
||||
<Suspense>
|
||||
|
|
Loading…
Reference in New Issue