People > Kevin Kaiwen Liang >
Kevin's notes and log
[Week 3] three.js and performance issues
Last week, I made a block placement test using the three.js Javascript library. While I'm glad that I got something interactive and working, there are a few issues:
However, there is one large problem - performance. Rendering something like 40000 cubes takes a horrendously long time, on my computer at least. I'm still not exactly sure what the bottleneck is at this stage though.
Examples like this, this and this make me believe that three.js is capable of rendering large numbers of objects, I just need to figure out how. I've also just found a writeup on this blog post explaining how a procedural city can be generated using three.js - I'll look through it carefully later. 0fps also has some performance tips for voxels engines in general, although I'm not sure how easy it would be to implement some of the tips.
On another note, here are a few relevant links:
To do/Ideas
|
1-1 of 1