mrdoob/three.js — Issue #817: low fps in project with many textured objects
Author: andrjew
Created: 2011-11-30 01:08:04+00:00
State: open

Hi,
I have a problem with low fps in my project and have no idea why :(
When I have few (3-5) buildings on scene everything works quite good, but when I add more buildings things are slowing down tragically (about 5 -10 fps). The more buildings I add, the less fps I have. It's a disaster for me because this is my bachelor of science thesis and I need to add about 50 more buildings to this scene.

link to my project:
http://labiryntwiedzy.pl/labirynt
-can walk with WASD

So if anyone can help, or have some idea how to get more fps please write to me as fast as you can (it's have to be done to 12/12/2011 ).
chrome profiler screenshot:
http://postimage.org/image/5mt8h3orl/

1. function wykryjInteraktywnosc() will be used less (now it's being started on each render(), but I'm going to start it only on each 5th render() )
2. I don't think that it can be fault of textures not being in power-of-two size, becauese in Loader it's automatically changed to POT size.

Thanks in advance, Andrjew

PS. Im amezed with Three.js posibilties. Grat work ! Keep it up ;)