# Large coordinates

**URL:** <https://forum.babylonjs.com/t/large-coordinates/29111>\
**Category:** Questions\
**Created:** [April 6, 2022, 12:00pm UTC](https://forum.babylonjs.com/t/large-coordinates/29111 "2022-04-06T12:00:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Romain](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/romain/32/23363_2.png) [@Romain](https://forum.babylonjs.com/u/Romain)\
**Post date:** [April 6, 2022, 12:00pm UTC](https://forum.babylonjs.com/t/large-coordinates/29111/1 "2022-04-06T12:00:17Z")

</div>

Hello,

I am developping an app with BabylonJS and I want to set up my camera at large coordinates but my object shapes are distored when I move with my mouse but not with arrows keys…Can have you a solution for this problem ?

Here is my **engine** :

```auto
  var engine = new BABYLON.Engine(canvas, true, {
      useHighPrecisionFloats: true,
      preserveDrawingBuffer: true,
      stencil: true,
    });

```

My **camera** set-up :

```auto
 var camera = new BABYLON.FreeCamera(
        'camera1',
        new BABYLON.Vector3(
          736615.502910341,
          65.0622981253458,
          6822191.60884546
        ),
        scene
      );

      camera.setTarget(BABYLON.Vector3.Zero());
      camera.attachControl(canvas, false);

```

I have try :

```auto
scene.activeCamera.maxZ

```

and

```auto
engine.useReverseDepthBuffer = true

```

But nothing work…

Thanks in advance

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [April 6, 2022, 12:26pm UTC](https://forum.babylonjs.com/t/large-coordinates/29111/2 "2022-04-06T12:26:16Z")

</div>

Hi @Romain ,

Welcome to the forum 🙂

Would you be able to reproduce that on the playground ([playground.babylonjs.com](http://playground.babylonjs.com)) so we can see what you are seeing?

---

<div class="post-metadata">

**Author:** ![Romain](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/romain/32/23363_2.png) [@Romain](https://forum.babylonjs.com/u/Romain)\
**Post date:** [April 6, 2022, 1:13pm UTC](https://forum.babylonjs.com/t/large-coordinates/29111/3 "2022-04-06T13:13:40Z")

</div>

Thanks for your welcome @RaananW, I’m glad to join your forum 🙂

I’m work with an IFC file so, It’s difficult for me to reproduce that on the playground…Here is my project repository : [https://github.com/romain-becker/BABYLON-IFC](https://github.com/romain-becker/BABYLON-IFC).

---

<div class="post-metadata">

**Author:** ![Romain](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/romain/32/23363_2.png) [@Romain](https://forum.babylonjs.com/u/Romain)\
**Post date:** [April 6, 2022, 1:27pm UTC](https://forum.babylonjs.com/t/large-coordinates/29111/4 "2022-04-06T13:27:34Z")

</div>

I have also try something like this [https://playground.babylonjs.com/#73TFGX#2](https://playground.babylonjs.com/#73TFGX#2)

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [May 5, 2022, 7:02pm UTC](https://forum.babylonjs.com/t/large-coordinates/29111/5 "2022-05-05T19:02:32Z")

</div>

Hello! Can you talk a bit more about your project, what do you intend to make? I don’t have much experience with large scenarios, but I’m sure someone on the forum can help you. 😃 @imerso 's very cool template might also be of help! [Floating Origin Template for BJS 5.x - Demos and projects - Babylon.js (babylonjs.com)](https://forum.babylonjs.com/t/floating-origin-template-for-bjs-5-x/29833)

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [June 3, 2022, 1:22pm UTC](https://forum.babylonjs.com/t/large-coordinates/29111/6 "2022-06-03T13:22:47Z")

</div>

Hello just checking in, do you still have issues? @Romain

---

<div class="post-metadata">

**Author:** ![Romain](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/romain/32/23363_2.png) [@Romain](https://forum.babylonjs.com/u/Romain)\
**Post date:** [June 3, 2022, 1:56pm UTC](https://forum.babylonjs.com/t/large-coordinates/29111/7 "2022-06-03T13:56:16Z")

</div>

Hello @carolhmj sorry for the delay, this solution work’s fine, thanks a lot ! 🙂
