hujiulong
hujiulong
看来是昨天升级的依赖移除了一些历史api,但是没有发新版本,通过npm安装的版本没有影响
试下 1.4.1 或 2.0.0-alpha.4 ,应该已经修复了
The current version should be compatible with Vue 3, but I haven't tested it.
The latest 2.x version already supports Vue 3, but it is still in alpha status, and there may be major API changes.
还有一些别的逻辑和OrbitControls绑定了,不能这么改。如果你要实现这个逻辑可以自己把代码都复制到自己项目里改一下
不支持,只能展示单个模型
This rendering result is because the geometry has no normals, you can choose to bring the normal information when exporting the model, Or, like the `smooth` prop of obj-model, recalculate...
可以在人物背后添加光源
Because the process of parse model takes up a lot of CPU resources, which will affect page rendering, I am considering moving the process of parse to [worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker).
Duplicate of #74