Three.js:帮助生成FlowMap

时间:2019-07-15 11:17:15

标签: three.js

我正在尝试使用Three.js生成流程图:https://threejs.org/examples/#webgl_water_flowmap

我使用了此处指示的部分代码源:https://github.com/mrdoob/three.js/blob/master/examples/webgl_water_flowmap.html,但页面上没有任何内容:https://flowmaptest-site.superhi.com/

如果有人可以帮助我,我将非常感激:slight_smile:

1 个答案:

答案 0 :(得分:1)

浏览器控制台显示一些错误消息:

  

三。水:必需组件三。反射器未找到。

THREE.ReflectorTHREE.Water的依赖项。如果不包含它,该组件将无法工作。

此外,似乎某些纹理无法从主机加载。

  

获取https://flowmaptest-site.superhi.com/textures/water/Water_1_M_Normal.jpg 404(未找到)

     

获取https://flowmaptest-site.superhi.com/textures/water/Water_2_M_Normal.jpg 404(未找到)