# Simple Globe in Omniverse

**URL:** <https://community.cesium.com/t/simple-globe-in-omniverse/41908>\
**Category:** Cesium for Omniverse\
**Created:** [July 7, 2025, 3:07pm UTC](https://community.cesium.com/t/simple-globe-in-omniverse/41908 "2025-07-07T15:07:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![slbouknight](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/slbouknight/32/29780_2.png) [@slbouknight](https://community.cesium.com/u/slbouknight)\
**Post date:** [July 7, 2025, 3:07pm UTC](https://community.cesium.com/t/simple-globe-in-omniverse/41908/1 "2025-07-07T15:07:54Z")

</div>

How would you set up an interactive globe in Omniverse like the one in CesiumJS? I’ve got the Cesium extension working with map data being rendered, but you can’t actually zoom out and see a globe. Is there a code sample available?

---

<div class="post-metadata">

**Author:** ![sean\_lilley](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sean_lilley/32/2083_2.png) [@sean\_lilley](https://community.cesium.com/u/sean_lilley)\
**Post date:** [July 7, 2025, 9:40pm UTC](https://community.cesium.com/t/simple-globe-in-omniverse/41908/3 "2025-07-07T21:40:41Z")

</div>

Hi @slbouknight - you might need to increase the clipping range of the camera. See step 4 in the quickstart guide: [Cesium for Omniverse Quickstart – Cesium](https://cesium.com/learn/omniverse/omniverse-quickstart/#step-4-configure-the-main-camera).

Here’s a code sample:

```auto
import omni.usd
from omni.kit.viewport.utility import get_active_viewport
from pxr import Gf, UsdGeom, Sdf

def extend_far_plane():
    stage = omni.usd.get_context().get_stage()
    viewport = get_active_viewport()
    camera_path = viewport.get_active_camera()
    camera = UsdGeom.Camera.Get(stage, camera_path)
    assert camera.GetPrim().IsValid()
    camera.GetClippingRangeAttr().Set(Gf.Vec2f(1.0, 10000000000.0))

```

We also have an issue for improving camera controls so it’s more like CesiumJS:

> <https://github.com/CesiumGS/cesium-omniverse/issues/152>
>
> Implement a geospatial aware camera controller similar to the one in Cesium for …Unreal and Cesium for Unity (see https://github.com/CesiumGS/cesium-unity/pull/154). The camera should follow the curvature of the Earth as you move forward and adjust zoom speed based on altitude.
> 
> Based on early investigations it's possible to do this with a custom viewport extension but we'd also like a solution that works with stock Code/Create/View.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![slbouknight](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/slbouknight/32/29780_2.png) [@slbouknight](https://community.cesium.com/u/slbouknight)\
**Post date:** [July 9, 2025, 6:56pm UTC](https://community.cesium.com/t/simple-globe-in-omniverse/41908/4 "2025-07-09T18:56:41Z")

</div>

Thanks Sean! That fixed it

---

<div class="post-metadata">

**Author:** ![sean\_lilley](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sean_lilley/32/2083_2.png) [@sean\_lilley](https://community.cesium.com/u/sean_lilley)\
**Post date:** [July 9, 2025, 7:51pm UTC](https://community.cesium.com/t/simple-globe-in-omniverse/41908/5 "2025-07-09T19:51:32Z")

</div>

Thanks @slbouknight, that’s great to hear!
