美文网首页
用react vr重写threejs示例

用react vr重写threejs示例

作者: liu_520 | 来源:发表于2017-08-05 11:12 被阅读253次

react vr中文网:www.vr-react.com

qq群:481244084

源码 github:https://github.com/LiuC520/ReactVR/tree/master/examples/threejs

示例不段更新中

调试安装步骤:首先进入threejs文件下面的具体示例中,然后打开命令输入:npm install ,安装完毕,需要修改threejs模块下面的文件,否则会出现解析出错,把threejs下面的build文件夹下面的三个文件拷贝到 具体的示例/node_modules/three/build下面,然后在命令行输入 npm start,再打开浏览器输入:localhost:8081/vr/,等待加载资源完成。

你也可以按照我的另一篇文章:http://www.jianshu.com/p/6a9980a0a42b来自己修改threejs文件,然后自己打包threejs

下面是直接可以查看的,在react vr中文网上也有哦,www.vr-react.com

1.webgl_animation_cloth

2.webgl_animation_keyframes_json

3.webgl_animation_scene

4.webgl_animation_skinning_blending

相关文章

网友评论

      本文标题:用react vr重写threejs示例

      本文链接:https://www.haomeiwen.com/subject/kjpilxtx.html