Comments (4)
ok, I increased errorTarget and it works. Although just needed a confirmation if this is the only way or it can be optimized more?
from 3dtilesrendererjs.
Do you have more information on the number of geometries loaded, memory for geometry used, or what you mean by "crashing"? Does it just stop loading or does is the WebGL context lost?
But otherwise it's of course possible to produce a tileset or use an error target that causes too much geometry to be loaded - which might be particularly noticeable on devices with a high pixel ratio like iphones
from 3dtilesrendererjs.
By crashing I mean this when trying to load the model on phone's browser,
It does load everything on PC but takes a lot of memory mostly above 90%, in the following image it was 75%
I cannot say the number of geometries loaded but it's a lot so a lot of data gets downloaded when the pages loads,
following is the model after it is fetch to 3js,
from 3dtilesrendererjs.
You can count the geometry using some of the load and unload callback functions in the README and estimate memory usage using estimateBytesUsed
from three.js' BufferGeometryUtils
. Textures may be accounting for more memory than necessary, as well.
Either way it sounds like too much memory is being used for the files. You could reduce the files further using the typical approaches like gltf-transform or gltfpack.
from 3dtilesrendererjs.
Related Issues (20)
- Consider a plugin system
- EnvironmentControls: Get last known / used distance or point
- Memory explosion HOT 1
- Add Tileset Metadata example
- Is version 1.1 not supported by anything?
- It seems that LOD is not supported? HOT 4
- Why only load JSON without loading any model files? HOT 8
- Aborted tiles leave remaining ImageBitmaps HOT 2
- GlobeControls: There's a big jump in speed at zoom out transition
- Remove callback assignments in favor of event listeners
- Remove gated logic behind r165
- Loaders: Change "load" to "loadAsync" to align with three.js api
- If loading a large model, will it use web work acceleration? HOT 1
- Move loaders to "loaders" folder
- EnvironmentControls: Clicking outside the click range can cause the camera to "jump" to a far position
- there is no BatchTable attribute for PNTS HOT 1
- The issue with testing by Jest HOT 1
- Bug: DOMException: signal is aborted without reason HOT 2
- GlobeControls: Hovering over the sky and zooming in zooms the camera forward instead of to mouse position
- GoogleTilesRenderer get all needed tiles loaded status HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3dtilesrendererjs.