NASA-AMMOS / 3DTilesRendererJS

Renderer for 3D Tiles in Javascript using three.js
https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/mars.html
Apache License 2.0
1.48k stars 270 forks source link

Lazy initialization of the upAdjustment matrix (Three.js) #601

Closed Nmzik closed 2 weeks ago

Nmzik commented 3 weeks ago
  1. Instead of creating a new Matrix4 per tile, reuse it.
  2. Pass the upAdjustment matrix to each loader constructor, keeping a reference to it without instantiating and copying the matrix itself.
gkjohnson commented 2 weeks ago

Closing in favor of ~#610~ #611