# \#visibility

**URL:** https://discourse.threejs.org/tag/visibility/286.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Hide specific object from loaded model](https://discourse.threejs.org/t/hide-specific-object-from-loaded-model/79829)

<div class="topic-metadata">

**Author:** [@nawal\_Ali](https://discourse.threejs.org/u/nawal_Ali)\
**Replies:** 2\
**Last updated:** [March 20, 2025, 1:43am UTC](https://discourse.threejs.org/t/hide-specific-object-from-loaded-model/79829 "2025-03-20T01:43:49Z")

</div>

I want to load a human muscle model with gltf loader and if user clicks on specific muscle like upper muscles for example the whole model except for upper muscles disappears. can i do something like that or do i need a …

---

## [opinions/best practices with rotating objects](https://discourse.threejs.org/t/opinions-best-practices-with-rotating-objects/71212)

<div class="topic-metadata">

**Author:** [@Kurt\_Hoefer](https://discourse.threejs.org/u/Kurt_Hoefer)\
**Replies:** 0\
**Last updated:** [September 25, 2024, 8:43pm UTC](https://discourse.threejs.org/t/opinions-best-practices-with-rotating-objects/71212 "2024-09-25T20:43:14Z")

</div>

Hello! First time here on the forum. Like many of you I am learning, and would love some eyes from more expereinced folks! I am making a logo of sorts as a first stab at this. The logo is two rotating letters produce…

---

## [Pause the gameloop when changing tab](https://discourse.threejs.org/t/pause-the-gameloop-when-changing-tab/68700)

<div class="topic-metadata">

**Author:** [@Deepak\_Saini\_VT](https://discourse.threejs.org/u/Deepak_Saini_VT)\
**Replies:** 2\
**Last updated:** [July 29, 2024, 11:38am UTC](https://discourse.threejs.org/t/pause-the-gameloop-when-changing-tab/68700 "2024-07-29T11:38:50Z")

</div>

I want to pause the gameloop when visibility is changed of the tab. But currently what’s happening is, if we change the visibility, game still continues to run in the background. Maybe according to me it is due to the ti…

---

## [Noticeable 'hiccup'/freeze when not visible object gets visible for the first time](https://discourse.threejs.org/t/noticeable-hiccup-freeze-when-not-visible-object-gets-visible-for-the-first-time/64940)

<div class="topic-metadata">

**Author:** [@kikedao](https://discourse.threejs.org/u/kikedao)\
**Replies:** 8\
**Last updated:** [May 3, 2024, 1:48pm UTC](https://discourse.threejs.org/t/noticeable-hiccup-freeze-when-not-visible-object-gets-visible-for-the-first-time/64940 "2024-05-03T13:48:55Z")

</div>

Hi all! I have an object (InstancedMesh) that I want to be visible=false at camera zoom \< 0.5 and make it visible at zoom \>= 0.5. The problem is when I set it to visible=true for the first time (the initital state of t…

---

## [How can I hide this gray frame?](https://discourse.threejs.org/t/how-can-i-hide-this-gray-frame/64770)

<div class="topic-metadata">

**Author:** [@suchanun\_prawnapa](https://discourse.threejs.org/u/suchanun_prawnapa)\
**Replies:** 1\
**Last updated:** [April 29, 2024, 9:18am UTC](https://discourse.threejs.org/t/how-can-i-hide-this-gray-frame/64770 "2024-04-29T09:18:16Z")

</div>

import { AfterViewInit, Component, ElementRef, Input, OnInit, ViewChild, } from "@angular/core"; import { MockContainerDataService } from "src/service/data-mock-up/mock-container-data"; import \* as THREE f…

---

## [How do points smoothly disappear with increasing distance?](https://discourse.threejs.org/t/how-do-points-smoothly-disappear-with-increasing-distance/48152)

<div class="topic-metadata">

**Author:** [@hofk](https://discourse.threejs.org/u/hofk)\
**Replies:** 3\
**Last updated:** [February 17, 2023, 2:13pm UTC](https://discourse.threejs.org/t/how-do-points-smoothly-disappear-with-increasing-distance/48152 "2023-02-17T14:13:07Z")

</div>

I have a model in a self-generated sphere of points. The problem is that I can’t figure out how the points smoothly disappear with distance. I have created a test excerpt from my project. PointsSphereTEST Since I have …

---

## [Making model visible interferes with render loop?](https://discourse.threejs.org/t/making-model-visible-interferes-with-render-loop/47440)

<div class="topic-metadata">

**Author:** [@MeJayEss](https://discourse.threejs.org/u/MeJayEss)\
**Replies:** 8\
**Last updated:** [January 31, 2023, 4:28pm UTC](https://discourse.threejs.org/t/making-model-visible-interferes-with-render-loop/47440 "2023-01-31T16:28:22Z")

</div>

\[NOTE: This question was cross-posted to Stack Overflow:\] In my ThreeJS app (r124) I have a GLB animation model that I attach a Spotlight to, to make it look like a camera drone with a light that turns on and off. I h…

---

## [Is there a way to have a mesh occlude other objects on multiple layers, but only be visible on one layer?](https://discourse.threejs.org/t/is-there-a-way-to-have-a-mesh-occlude-other-objects-on-multiple-layers-but-only-be-visible-on-one-layer/41774)

<div class="topic-metadata">

**Author:** [@infared\_wifi](https://discourse.threejs.org/u/infared_wifi)\
**Replies:** 5\
**Last updated:** [August 23, 2022, 7:13pm UTC](https://discourse.threejs.org/t/is-there-a-way-to-have-a-mesh-occlude-other-objects-on-multiple-layers-but-only-be-visible-on-one-layer/41774 "2022-08-23T19:13:06Z")

</div>

Hi, I currently have 2 renderers with 2 cameras, each rendering the same scene. I have a type of object that is on a layer with one of the cameras, so it is only visible on one of the renderers. I would like to maintain…

---

## [Swap between children of children objects](https://discourse.threejs.org/t/swap-between-children-of-children-objects/41564)

<div class="topic-metadata">

**Author:** [@binoy\_t](https://discourse.threejs.org/u/binoy_t)\
**Replies:** 0\
**Last updated:** [August 18, 2022, 2:59pm UTC](https://discourse.threejs.org/t/swap-between-children-of-children-objects/41564 "2022-08-18T14:59:16Z")

</div>

Hi, I’m trying to swap between children of objects. I need to show only the selected objects. But I’m facing some issues when it comes to children of children object. My code: function swapObjects(objectName) { par…

---

## [.far question and visibility](https://discourse.threejs.org/t/far-question-and-visibility/35574)

<div class="topic-metadata">

**Author:** [@UI\_UNICORN](https://discourse.threejs.org/u/UI_UNICORN)\
**Replies:** 1\
**Last updated:** [March 5, 2022, 8:40am UTC](https://discourse.threejs.org/t/far-question-and-visibility/35574 "2022-03-05T08:40:44Z")

</div>

A pretty simple question but how does far work? does it set the objects visibility to false when “out of range” ? and does it have much impact on performance , thanks

---

## [Multiple Part GLB / Displayed Separately](https://discourse.threejs.org/t/multiple-part-glb-displayed-separately/19793)

<div class="topic-metadata">

**Author:** [@TwistingHalos](https://discourse.threejs.org/u/TwistingHalos)\
**Replies:** 0\
**Last updated:** [October 15, 2020, 4:54pm UTC](https://discourse.threejs.org/t/multiple-part-glb-displayed-separately/19793 "2020-10-15T16:54:32Z")

</div>

As Ive mentioned several times before, I’m new to Three.js- so I am still trying to learn the best practices I am attempting to display a complex GLB file that a user can select the parts of the model to read details ab…

---

## [Hiding some scene objects for one camera](https://discourse.threejs.org/t/hiding-some-scene-objects-for-one-camera/883)

<div class="topic-metadata">

**Author:** [@fifonik](https://discourse.threejs.org/u/fifonik)\
**Replies:** 3\
**Last updated:** [September 20, 2017, 5:08am UTC](https://discourse.threejs.org/t/hiding-some-scene-objects-for-one-camera/883 "2017-09-20T05:08:50Z")

</div>

I have a scene that should be displayed with two cameras (one camera – object design view, another – object preview). The trick is – one camera (preview) must NOT display some scene’s objects as they are incomplete yet,…
