# NodeID Contributing to Bounding Box But Not Visible in Viewer – How to Investigate?

**URL:** https://forum.techsoft3d.com/t/nodeid-contributing-to-bounding-box-but-not-visible-in-viewer-how-to-investigate/4679
**Category:** HOOPS Visualize Web
**Tags:** code, webviewer, sample, learn
**Created:** [May 21, 2025, 3:45pm UTC](https://forum.techsoft3d.com/t/nodeid-contributing-to-bounding-box-but-not-visible-in-viewer-how-to-investigate/4679 "2025-05-21T15:45:07Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![raja.r](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@raja.r](https://forum.techsoft3d.com/u/raja.r)
#### Post date: [May 21, 2025, 3:45pm UTC](https://forum.techsoft3d.com/t/nodeid-contributing-to-bounding-box-but-not-visible-in-viewer-how-to-investigate/4679/1 "2025-05-21T15:45:07Z")

</div>

Hi Team,

In Hoops Communicator, I’m encountering an issue where the overall model bounding box is unexpectedly large.

After investigation, I found a specific `nodeId` that is **contributing to this large bounding box** , but the node is:

- **Technically visible** (not hidden or excluded).
- Still **not actually seen in the 3D viewer** — even after zoom-to-fit or manually fitting to the node.

Here’s what I’ve tried:

- Used `model.getModelBounding()` with various parameter combinations.
- Confirmed the node is not excluded or set invisible.
- Retrieved the bounding box of the node via `model.getNodeBounding(nodeId)` — it’s positioned far from the main model geometry.

**Questions:**

1. What could cause a node to be “visible” but not actually render in the viewer?
2. Could this be due to:

- Geometry having extreme coordinates or zero scale?
- Empty geometry or placeholder meshes?
- Incorrect transformation matrix?

1. How can I inspect the node’s content (geometry, transform, metadata) to determine why it’s not rendering?

Any tips or tools in the Communicator API to debug such nodes would be very helpful.

---

<div class="post-metadata">

### Author: ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)
#### Post date: [May 21, 2025, 3:54pm UTC](https://forum.techsoft3d.com/t/nodeid-contributing-to-bounding-box-but-not-visible-in-viewer-how-to-investigate/4679/2 "2025-05-21T15:54:37Z")

</div>

The node in question may be facing away from the camera and thus getting culled. As a quick test, you can call [View.setBackfacesVisible(true)](https://docs.techsoft3d.com/communicator/latest/api_ref/viewing/classes/View.html#View.setBackfacesVisible).

---

<div class="post-metadata">

### Author: ![raja.r](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@raja.r](https://forum.techsoft3d.com/u/raja.r)
#### Post date: [May 21, 2025, 4:15pm UTC](https://forum.techsoft3d.com/t/nodeid-contributing-to-bounding-box-but-not-visible-in-viewer-how-to-investigate/4679/3 "2025-05-21T16:15:06Z")

</div>

i just added .view.setBackfacesVisible(true); on model structure ready not luck. still could not see the node

---

<div class="post-metadata">

### Author: ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)
#### Post date: [May 21, 2025, 4:34pm UTC](https://forum.techsoft3d.com/t/nodeid-contributing-to-bounding-box-but-not-visible-in-viewer-how-to-investigate/4679/4 "2025-05-21T16:34:32Z")

</div>

You mentioned that you were able to retrieve the bounding box of the node in question:

> - Retrieved the bounding box of the node via `model.getNodeBounding(nodeId)` — it’s positioned far from the main model geometry.

How does bounding box look like? Is it three-dimensional or more 2D?

Perhaps we can retrieve more information on the `MeshData` object. In the dev console, paste the following:

```auto
hwv.setCallbacks({
  selectionArray: async function (selections) {
    if (selections.length > 0) {
      for (const selectionEvent of selections) {
        const selection = selectionEvent.getSelection();
        const nodeid = selection.getNodeId();

        console.log("Selected Node: " + nodeid);
        const md = await hwv.model.getNodeMeshData(nodeid);

        console.log("MeshData: " + JSON.stringify(md));
      }
    }
  },
});

```

Either select the node via the browser or you can call:  
`hwv.selectionManager.selectNode(your_nodeid);`

---

<div class="post-metadata">

### Author: ![raja.r](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@raja.r](https://forum.techsoft3d.com/u/raja.r)
#### Post date: [May 21, 2025, 5:39pm UTC](https://forum.techsoft3d.com/t/nodeid-contributing-to-bounding-box-but-not-visible-in-viewer-how-to-investigate/4679/5 "2025-05-21T17:39:25Z")

</div>

![Screen Recording 2025-05-21 at 11.07.35 PM](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/7/72f6715ae3a5d44fdbd2fefe425bab9f8d7333e9.gif)  
yes it is selectable and far away. how do we handle or exclude such nodes?

---

<div class="post-metadata">

### Author: ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)
#### Post date: [May 21, 2025, 5:46pm UTC](https://forum.techsoft3d.com/t/nodeid-contributing-to-bounding-box-but-not-visible-in-viewer-how-to-investigate/4679/6 "2025-05-21T17:46:19Z")

</div>

If you have the original CAD source file, it might be worth confirming if this same geometry is there as well. This will confirm that it isn’t a Communicator issue necessarily.

At any rate, you can apply the `InstanceModifier` enum called [ExcludeBounding](https://docs.techsoft3d.com/communicator/latest/api_ref/viewing/enum/InstanceModifier.html#instancemodifier-excludebounding) to remove it from bounding calculations.
