vue-3d-model
vue-3d-model copied to clipboard
📷 vue.js 3D model viewer component
动态获取的模型文件 显示的时候出现这个问题是啥原因呐
如题!!!
  如图引入插件,页面无法打开
请教一下这个问题怎么处理 Error :Unable to preventDefault inside passive event listener invocation. 点击视图区域进行平移或旋转时控制台会报错
export default { data(){ return { lights:[ { type: 'DirectionalLight', position: { x: 1, y: 1, z: 1 }, color: 0xffffff, intensity: 1, }, { type: 'DirectionalLight', position: { x:...
能不能建个交流群
能不能建个交流群
使用three.js为什么也没用 var spotLight = new SpotLight('#00ff00', 5, 50, 20, 10) spotLight.position.set(0, 5, 0) var spotTarget = new Object3D() spotTarget.position.set(0, 0, 0) spotLight.target = spotTarget // // spotLight.target = this.$refs['collada'].scene.children[0] this.$refs['collada'].scene.add(spotLight)...
I'm trying to use model-obj component, but it doesn't work. Import library as instructed. If remove the component where I use it, no such text in console and all works...
你好,感谢你的插件,on-click事件输出log,网页端是可以的,但是我们用在手机端无反应,请问该如何做?本来想着在底层放个透明的视图用来出发点击,但是事件无法穿透组件。希望能回复我。感谢
I got this Issue and found a problem that I had solved about z-fighting: https://github.com/hujiulong/vue-3d-model/issues/197#issuecomment-653156367 I think we should add this option into DEFAULT_GL_OPTIONS at `model-mixin.vue` https://github.com/hujiulong/vue-3d-model/blob/e47cbc389de1d5f94985b8ecff0d0137d5fbdd97/src/model-mixin.vue#L41 ```js const DEFAULT_GL_OPTIONS...