Is it possible to update one mesh by every second?

I saw most of three.js examples updating speed @ 60 Frames PS.
is it possible to updating mesh geometries color attributes by each second

Yes, however you need a bit of logic in order to achieve this. I use the following Regulator class in context of game AI logic.

You can replace the Time class with THREE.Clock in order to use the implementation with three.js. When you have created you regulator with the desired update frequency, just call the ready() method per frame. If it returns true, you know you have to update the mesh.

1 Like