Closed vineetsk1 closed 10 years ago
performance greatly increases by removing collision spheres for selection details... (1116->96 children).
in the mean time test using Three#Object3D as group to add instead of direct scene.
this doesn't explain why game gradually becomes laggy even when adding and removing all.. memory leak?
garbage collection not working? or maybe just using tools wrong:
Potentially Useful: http://stackoverflow.com/questions/25169853/threejs-web-app-add-remove-gradual-lag (dispose())
according to http://stackoverflow.com/questions/22565737/cleanup-threejs-scene-leak it might just be because of several calls of render & animate... preliminary tests show this fix works, so closing. -.-
Performance issues with Eterna 3D Windows 7, Google Chrome
Performance of 3D puzzles works quite well at first. However, upon repeated additions of motifs and undoing the addition of those motifs, the performance of the puzzles gradually reaches the point where the puzzle is no longer responsive even to the addition of motifs. Makes trial by error difficult, since the puzzle needs to be reloaded after a certain amount of time to be playable.