hujiulong

Results 127 comments of hujiulong
trafficstars

> 貌似tsx组件内defineComponent里面不定义props是有问题的吧,这样的话setup函数内拿不到props的(ps:我的vue版本是3.0.4) @841440416 看文章最后那段文字。这个功能已经被移除了

这个功能在TODO Lisi里,不过比较麻烦,不同格式的模型的动画处理方式差别太大,暂时放一放。

@mrkylemac You can rotate the model by updating `rotation` option. https://hujiulong.github.io/vue-3d-model/#/demo-rotate

@creazy231 The animation of different formats of models can not be handled in a unified way, which is troublesome to do. 😭

@creazy231 gltf model animation is easier to implement, I will consider supporting gltf model animation, but I am busy at this time, so it may take a long time.

你说的响应式是指什么?

没太明白的你的问题,obj本身是不包含贴图的,需要配合材质文件.mtl

You can get the position of click through `on-click` event, but there is no simple way to add annotations to the 3D scene.

应该会自动适应的,可能是你的模型边缘有一些别的部件,导致计算出的位置和缩放不正确