vue-3d-model icon indicating copy to clipboard operation
vue-3d-model copied to clipboard

加载出了canvas,但是没有显示模型

Open JokerLoLgrey opened this issue 4 years ago • 7 comments
trafficstars

用的这个网站的模型 https://sketchfab.com/3d-models/88-american-sedan-low-poly-model-8509a7f82665442592627940b7a1cfab

加载出了canvas,但是没有显示模型

这是代码

<template>
  <div class="index">
    <model-gltf src="/asstes/3d/car/scene.gltf"></model-gltf>
  </div>
</template>

<script>
import { ModelGltf } from 'vue-3d-model'
export default {
  name: 'Index',
  components: {
    ModelGltf
  }
}
</script>

<style lang="scss" scoped></style>

demo里面有一个错误 image

JokerLoLgrey avatar Jul 01 '21 08:07 JokerLoLgrey

给一个能复现问题的demo

hujiulong avatar Jul 01 '21 16:07 hujiulong

给一个能复现问题的demo

https://github.com/JokerLoLgrey/3dModelTest

JokerLoLgrey avatar Jul 05 '21 02:07 JokerLoLgrey

给一个能复现问题的demo

https://github.com/JokerLoLgrey/3dModelTest

请问问题解决了吗

taro99 avatar Aug 06 '21 01:08 taro99

给一个能复现问题的demo

同样的问题,跟楼主写法一样 gltf格式模型 canvas加载出来 但是模型没有加载出来,请问如何解决?

jackliu18 avatar Aug 20 '21 09:08 jackliu18

给一个能复现问题的demo

同样的问题

jackliu18 avatar Aug 20 '21 09:08 jackliu18

还需要安装three,npm i three -S

caitaoyu avatar Feb 19 '22 03:02 caitaoyu

还需要安装three,npm i three -S

还是不行

image

JokerLoLgrey avatar Apr 22 '22 04:04 JokerLoLgrey