-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: speedup scenes with many buildings by merging geometries to red…
…uce draw calls Finally managed to improve performance with mergeBufferGeometries, so we get just 1 entity each time new buildings are loaded https://aframe.wiki/en/#!pages/performance.md Until now, each building was created as a separate entity, resulting in its own draw call. This could result in very low framerates, e.g. for the 2700 stelae of the Holocaust memorial. This was slow even when entities are hidden behind buildings, e.g. from Pariser Platz, since we don't have occlusion culling. There is probably room for further improvement, but results are clearly visible on Quest 3. <a-scene stats> on laptop for Brandenburg Gate towards South: ?lat=52.5163&lon=13.3783 53 -> 60fps 2907 -> 2 geometries 37k -> 65k triangles (why?) 2709 -> 12 calls 1k -> 1.1k load time 3136 -> 57 entities
- Loading branch information
Showing
2 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters