Basic.story.vue 595 B

1234567891011121314151617181920
  1. <script setup lang="ts">
  2. import { OrbitControls } from '@tresjs/cientos'
  3. import AkuAku from './AkuAku.vue'
  4. </script>
  5. <template>
  6. <Story title="models/GLTF/Basic">
  7. <Variant title="playground">
  8. <Suspense>
  9. <TresCanvas clear-color="#82DBC5" shadows alpha>
  10. <TresPerspectiveCamera :position="[11, 11, 11]" />
  11. <OrbitControls />
  12. <TresScene>
  13. <AkuAku />
  14. <TresDirectionalLight :position="[-4, 8, 4]" :intensity="1.5" cast-shadow />
  15. </TresScene>
  16. </TresCanvas>
  17. </Suspense>
  18. </Variant>
  19. </Story>
  20. </template>