[英]Vertex-Animation in javascript for A-Frame
Is there anything like a formula-deformer animation for A-Frame? 是否有类似A帧的公式变形动画的内容? The Idea is that I have a geometry in A-Frame and a js-script which makes the geometry wobbble.
我的想法是,我在A框架中有一个几何图形,并且有一个js脚本使几何图形摆动。 I tried the noise-shader from the A-Frame-Extras but it breaks the vertexes and doesn
t look good and I
m not a good coder to do it myself! 我尝试了A-Frame-Extras的噪声着色器,但是它破坏了顶点并且
t look good and I
并不t look good and I
也不是一个好的编码器!
I`m happy about any ideas! 我对任何想法都很满意! Cheers, Can
欢呼声
Here is a simpler example that might help https://glitch.com/edit/#!/equinox-rainstorm?path=shaders/grass-vertex.glsl:9:5 这是一个更简单的示例,可能会帮助https://glitch.com/edit/#!/equinox-rainstorm?path=shaders/grass-vertex.glsl:9:5
Basically using a vertex shader to bend the top half of the mesh. 基本上是使用顶点着色器弯曲网格的上半部分。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.