# Occlusion perspective effect

**URL:** <https://forum.techsoft3d.com/t/occlusion-perspective-effect/4764>\
**Category:** HOOPS Visualize Web\
**Created:** [July 12, 2025, 3:28am UTC](https://forum.techsoft3d.com/t/occlusion-perspective-effect/4764 "2025-07-12T03:28:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lblblb19940522](https://avatars.discourse-cdn.com/v4/letter/l/bb73d2/32.png) [@lblblb19940522](https://forum.techsoft3d.com/u/lblblb19940522)\
**Post date:** [July 12, 2025, 3:28am UTC](https://forum.techsoft3d.com/t/occlusion-perspective-effect/4764/1 "2025-07-12T03:28:29Z")

</div>

May I ask how I can set the occlusion perspective effect of a certain object？Similar to the highlighting effect, there are obscured strokes，However, highlighting cannot be set to have a specific effect for a particular object; it only has a global setting effect.

---

<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:** [July 12, 2025, 11:11am UTC](https://forum.techsoft3d.com/t/occlusion-perspective-effect/4764/2 "2025-07-12T11:11:12Z")

</div>

It’s not quite clear what you mean by:

> [@lblblb19940522](#):
>
> occlusion perspective effect

Can you please provide more information?

---

<div class="post-metadata">

**Author:** ![lblblb19940522](https://avatars.discourse-cdn.com/v4/letter/l/bb73d2/32.png) [@lblblb19940522](https://forum.techsoft3d.com/u/lblblb19940522)\
**Post date:** [July 13, 2025, 5:32am UTC](https://forum.techsoft3d.com/t/occlusion-perspective-effect/4764/3 "2025-07-13T05:32:03Z")

</div>

I just want to know if there is a way to make a certain blocked object display like a highlight

---

<div class="post-metadata">

**Author:** ![lblblb19940522](https://avatars.discourse-cdn.com/v4/letter/l/bb73d2/32.png) [@lblblb19940522](https://forum.techsoft3d.com/u/lblblb19940522)\
**Post date:** [July 13, 2025, 5:35am UTC](https://forum.techsoft3d.com/t/occlusion-perspective-effect/4764/4 "2025-07-13T05:35:16Z")

</div>

The obscured part can be displayed

---

<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:** [July 14, 2025, 3:30pm UTC](https://forum.techsoft3d.com/t/occlusion-perspective-effect/4764/5 "2025-07-14T15:30:17Z")

</div>

I want to say that you are referring to depth range which can be set using [setDepthRange](https://docs.techsoft3d.com/communicator/latest/api_ref/viewing/classes/Model.html#Model.setDepthRange). So for example, the following call ensures that the node in question is not obscured by another object:

```auto
hwv.model.setDepthRange([node_ids], 0.0, 0.01);

```

---

<div class="post-metadata">

**Author:** ![bgupta](https://avatars.discourse-cdn.com/v4/letter/b/8baadc/32.png) [@bgupta](https://forum.techsoft3d.com/u/bgupta)\
**Post date:** [July 15, 2025, 1:00pm UTC](https://forum.techsoft3d.com/t/occlusion-perspective-effect/4764/6 "2025-07-15T13:00:34Z")

</div>

I think better way it highlights with highlight-Outline that helps a lot
