Description
When using the three globe XYZ image tile path, switching to an orthographic camera and browsing continuously causes memory usage to keep increasing. Switching back to a perspective camera does not make the memory drop in any noticeable way.
In orthographic view, the tree nodes number can easily exceed 1 million
Reproduction steps
- Use the three globe XYZ image tile path
- Switch to an orthographic camera
- Pan, zoom, and browse continuously
- Observe memory usage and tree node count
Code
registerPlugin(
new XYZTilesPlugin({
url: config.url,
center: true,
levels: config.levels ?? 20,
shape: 'ellipsoid',
} as any),
)
Live example
https://threejs-3d-tiles-renderer.vercel.app/
Screenshots & Tile Set
check the tree node number and memory useage
Library Version
newestVersion
Three.js Version
newestVersion
Description
When using the three globe XYZ image tile path, switching to an orthographic camera and browsing continuously causes memory usage to keep increasing. Switching back to a perspective camera does not make the memory drop in any noticeable way.
In orthographic view, the tree nodes number can easily exceed 1 million
Reproduction steps
Code
registerPlugin(
new XYZTilesPlugin({
url: config.url,
center: true,
levels: config.levels ?? 20,
shape: 'ellipsoid',
} as any),
)
Live example
https://threejs-3d-tiles-renderer.vercel.app/
Screenshots & Tile Set
check the tree node number and memory useage
Library Version
newestVersion
Three.js Version
newestVersion