I am currently working on updating the vertices of a SphereGeometry
based on the current value of performance.now()
, incorporating perlin noise into the equation.
The expected result is shown in this image: https://i.sstatic.net/zwAAm.gif
To see my code in action, check out this working example: http://jsfiddle.net/8L4bktyw/1/
However, I am encountering an issue where the vertices are not updating visually, even though the colors on the MeshNormalMaterial
appear to change as if they have been updated.
An interesting observation is that upon refreshing or running the fiddle multiple times, the vertices eventually do update as intended.
I am wondering if I may be incorrectly updating the geometry. Any insights would be greatly appreciated!