# Have a problem to make an Incremental .babylon

**URL:** <https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968>\
**Category:** Questions\
**Created:** [November 23, 2020, 4:55pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968 "2020-11-23T16:55:18Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arash\_Bagheri](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Arash\_Bagheri](https://forum.babylonjs.com/u/Arash_Bagheri)\
**Post date:** [November 23, 2020, 4:55pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/1 "2020-11-23T16:55:18Z")

</div>

Hi  
I am try to use this link : [Exporters/Tools/MakeIncremental at master · BabylonJS/Exporters · GitHub](https://github.com/BabylonJS/Exporters/tree/master/Tools/MakeIncremental) to create the Incrementa .babylon . I put the source file and destination file in the program.cs, but I couldn’t get the result, is it possible to help me?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [November 23, 2020, 5:24pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/2 "2020-11-23T17:24:24Z")

</div>

I usually do not use anymore incremental loading in my scenes but I can totally understand the need for it.

I wonder if some of the gltf/glb might be suitable for you ?

Also, this definitely looks like a bug and would need at least input files and so on in order to repro it ?

---

<div class="post-metadata">

**Author:** ![Arash\_Bagheri](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Arash\_Bagheri](https://forum.babylonjs.com/u/Arash_Bagheri)\
**Post date:** [November 23, 2020, 5:29pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/3 "2020-11-23T17:29:35Z")

</div>

I have an obj file with about 2million Polygons and 5 layers and when I wanted to load it, the model work very slowly.  
I converted them to glb/gltf but the problem didn’t solve. because of that I decided to try .babylon.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [November 23, 2020, 5:30pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/4 "2020-11-23T17:30:53Z")

</div>

2 millions poly might be A LOT too handle in real time ☹ I wonder if you should check in reducing the poly count by using instancing for instance or other techniques ?

---

<div class="post-metadata">

**Author:** ![Arash\_Bagheri](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Arash\_Bagheri](https://forum.babylonjs.com/u/Arash_Bagheri)\
**Post date:** [November 23, 2020, 5:33pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/5 "2020-11-23T17:33:11Z")

</div>

how can I use instance when I loaded the obj file to reduce the poly?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [November 23, 2020, 5:35pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/6 "2020-11-23T17:35:23Z")

</div>

You would need to change the obj file and so on in your edition tools like blender or such and ensure you have it laid out as you see fit, this won t be a simple task.

But first having the model to see what could be optimized might help

---

<div class="post-metadata">

**Author:** ![Arash\_Bagheri](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Arash\_Bagheri](https://forum.babylonjs.com/u/Arash_Bagheri)\
**Post date:** [November 23, 2020, 5:39pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/8 "2020-11-23T17:39:39Z")

</div>

should convert it to glb or gltf? which one is better??

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [November 23, 2020, 5:41pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/9 "2020-11-23T17:41:06Z")

</div>

Adding @bghgary regarding incremental loading ?

---

<div class="post-metadata">

**Author:** ![Arash\_Bagheri](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Arash\_Bagheri](https://forum.babylonjs.com/u/Arash_Bagheri)\
**Post date:** [November 23, 2020, 5:42pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/10 "2020-11-23T17:42:40Z")

</div>

for using instances to optimize it ,is it better to be gltf?

---

<div class="post-metadata">

**Author:** ![Arash\_Bagheri](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Arash\_Bagheri](https://forum.babylonjs.com/u/Arash_Bagheri)\
**Post date:** [November 23, 2020, 5:45pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/11 "2020-11-23T17:45:48Z")

</div>

actually I have build this map projection tiled map: [Babylon.js Playground](https://playground.babylonjs.com/#9CSKDY)  
and I want to put some obj model on it, like OSM building.

like this website: [OSM Buildings](https://osmbuildings.org/?lat=52.51811&lon=13.35722&zoom=15.0&tilt=30)

---

<div class="post-metadata">

**Author:** ![Arash\_Bagheri](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Arash\_Bagheri](https://forum.babylonjs.com/u/Arash_Bagheri)\
**Post date:** [November 23, 2020, 7:08pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/12 "2020-11-23T19:08:23Z")

</div>

Hi @bghgary , is it possible help me regarding to incremental loading?

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [November 23, 2020, 8:52pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/13 "2020-11-23T20:52:37Z")

</div>

It sounds like you want some kind of tile-based solution. [Cesium](https://www.cesium.com/) is a good example of this. Cesium uses glTF with some extensions underneath.

As for the incremental loading, Babylon.js out-of-the-box does not have anything tile-based that I know of. I think you will need a custom solution for this.

I’ve never used the MakeIncremental tool, so I don’t know what it is trying to do. It looks fairly simplistic compared to what you are asking.

---

<div class="post-metadata">

**Author:** ![Arash\_Bagheri](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Arash\_Bagheri](https://forum.babylonjs.com/u/Arash_Bagheri)\
**Post date:** [November 23, 2020, 9:22pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/14 "2020-11-23T21:22:15Z")

</div>

Thank you so much.  
I need something which load the gltf in terms of the zoom level. Yes I want to build something like Cesium, and first of all I need something to load gltf with good speed.

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [November 23, 2020, 9:46pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/15 "2020-11-23T21:46:02Z")

</div>

If each tile is relatively small, it should load fast. You may also want to look into glTF mesh compression extensions like [Draco](https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Khronos/KHR_draco_mesh_compression/README.md) or [mesh quantization](https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Khronos/KHR_mesh_quantization/README.md) which can reduce the glTF size and make it download faster.

---

<div class="post-metadata">

**Author:** ![Arash\_Bagheri](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Arash\_Bagheri](https://forum.babylonjs.com/u/Arash_Bagheri)\
**Post date:** [November 23, 2020, 9:55pm UTC](https://forum.babylonjs.com/t/have-a-problem-to-make-an-incremental-babylon/15968/16 "2020-11-23T21:55:15Z")

</div>

Thanks a lot 🙏 🙏
