Hi, there! Can someone help me with this?
I’ve my glb model loaded on the scene. Now, I want to load the part of continents dynamically as per the camera frustum and zoom level. My use case is like -
- The model loaded and only the part that are inside the camera frustum should be visible and as I move my camera, I need to dynamically load the other parts of continents.
- After a certain camera zoom level, I want to dynamically load other models like boxes, and buildings over my continents and write text over it.
I search a little things, like camera.onViewMatrixChangedObservable
event or adding LOD level which can help me to achieve little things. The main part is I’m stuck into dynamic loading part on certain camera movement or zoom level.
Here is my playground link you guys can refer -
https://playground.babylonjs.com/#G95938
Here I’ve commented on the other model “medium-light-new.glb”, which is a sample building the I want to dynamically load over my continents.
Please, help me with your guidance!!! Thanks!