javascript - three.js lot of meshes optimization -


i'd use three.js render scene containing lot of small meshes create stacks.

here's fiddle: http://jsfiddle.net/3bl6fbse/

i'd guys me optimizing code. can see, bit laggy because of low fps. i've written code fast, , m aware creating materials , meshes in loop bad practice. thing need know is: how optimize scene, not doing basic techniques creating materials , meshes outside of loop.

i tried use meshes scale's property result ugly, there isn't "stack" effect. tried use mesh.copy ends on same bad performance.

thanks


Comments

Popular posts from this blog

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -