# I want to zoom to the particular point, is there any way which we can use or any third-party library?

**URL:** <https://discourse.threejs.org/t/i-want-to-zoom-to-the-particular-point-is-there-any-way-which-we-can-use-or-any-third-party-library/46659>\
**Category:** Questions\
**Tags:** controls, shaders\
**Created:** [January 9, 2023, 5:23am UTC](https://discourse.threejs.org/t/i-want-to-zoom-to-the-particular-point-is-there-any-way-which-we-can-use-or-any-third-party-library/46659 "2023-01-09T05:23:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sahil\_Patel](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/sahil_patel/32/32156_2.png) [@Sahil\_Patel](https://discourse.threejs.org/u/Sahil_Patel)\
**Post date:** [January 9, 2023, 5:23am UTC](https://discourse.threejs.org/t/i-want-to-zoom-to-the-particular-point-is-there-any-way-which-we-can-use-or-any-third-party-library/46659/1 "2023-01-09T05:23:30Z")

</div>

Hello there,

I want to zoom into the particular point I have added an example below so, if you guys have any ideas, please share it here so I can use. thanks!

 ![Screenshot from 2023-01-09 10-22-46](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/9/5/9547ac91c73b6515da84c43ac9ce20bfd2300213.jpeg)

---

<div class="post-metadata">

**Author:** ![hofk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/hofk/32/44944_2.png) [@hofk](https://discourse.threejs.org/u/hofk)\
**Post date:** [January 9, 2023, 8:26am UTC](https://discourse.threejs.org/t/i-want-to-zoom-to-the-particular-point-is-there-any-way-which-we-can-use-or-any-third-party-library/46659/2 "2023-01-09T08:26:00Z")

</div>

I think you can use shaders for this. A very old example, which surely doesn’t work under new three.js anymore, I found somewhere and modified it. It is in German, but can be easily translated with [DeepL Translate – Der präziseste Übersetzer der Welt](https://www.deepl.com/de/translator).

[Lichtbrechung - Linse](https://hofk.de/main/threejs/refraction/04_refraction.html)  
 ![2023-01-09 09.20.26](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/1/c/1c56a88458e61f8b5da76b07de2fd1873491f4f8.png)

---

<div class="post-metadata">

**Author:** ![Sahil\_Patel](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/sahil_patel/32/32156_2.png) [@Sahil\_Patel](https://discourse.threejs.org/u/Sahil_Patel)\
**Post date:** [January 9, 2023, 9:21am UTC](https://discourse.threejs.org/t/i-want-to-zoom-to-the-particular-point-is-there-any-way-which-we-can-use-or-any-third-party-library/46659/3 "2023-01-09T09:21:23Z")

</div>

Thanks! @hofk, but it’s not worked for me like I want a totally clear visualization and it does not look proper. so if you have anything else it helps thanks!!! 😊

---

<div class="post-metadata">

**Author:** ![Chaser\_Code](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/chaser_code/32/20199_2.png) [@Chaser\_Code](https://discourse.threejs.org/u/Chaser_Code)\
**Post date:** [January 9, 2023, 11:38am UTC](https://discourse.threejs.org/t/i-want-to-zoom-to-the-particular-point-is-there-any-way-which-we-can-use-or-any-third-party-library/46659/4 "2023-01-09T11:38:27Z")

</div>

One rendering with default zoom. Second rendering to texture with camera.zoom, custom shader for circle or circle mesh with zoomed texture.

---

<div class="post-metadata">

**Author:** ![Sahil\_Patel](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/sahil_patel/32/32156_2.png) [@Sahil\_Patel](https://discourse.threejs.org/u/Sahil_Patel)\
**Post date:** [January 24, 2023, 10:16am UTC](https://discourse.threejs.org/t/i-want-to-zoom-to-the-particular-point-is-there-any-way-which-we-can-use-or-any-third-party-library/46659/5 "2023-01-24T10:16:38Z")

</div>

Hey @Chaser_Code yes, but how we can add this? if you have a code snippet, please share it with me thanks!

---

<div class="post-metadata">

**Author:** ![Chaser\_Code](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/chaser_code/32/20199_2.png) [@Chaser\_Code](https://discourse.threejs.org/u/Chaser_Code)\
**Post date:** [January 24, 2023, 12:50pm UTC](https://discourse.threejs.org/t/i-want-to-zoom-to-the-particular-point-is-there-any-way-which-we-can-use-or-any-third-party-library/46659/6 "2023-01-24T12:50:33Z")

</div>

> **[GitHub - amitdiamant/magnify-3d: Real time Javascript optic magnifying glass...](https://github.com/amitdiamant/magnify-3d)**
>
> Real time Javascript optic magnifying glass library. - GitHub - amitdiamant/magnify-3d: Real time Javascript optic magnifying glass library.

---

<div class="post-metadata">

**Author:** ![drcmda](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@drcmda](https://discourse.threejs.org/u/drcmda)\
**Post date:** [January 24, 2023, 3:21pm UTC](https://discourse.threejs.org/t/i-want-to-zoom-to-the-particular-point-is-there-any-way-which-we-can-use-or-any-third-party-library/46659/7 "2023-01-24T15:21:02Z")

</div>

this can do it: [GitHub - yomotsu/camera-controls: A camera control for three.js, similar to THREE.OrbitControls yet supports smooth transitions and more features.](https://github.com/yomotsu/camera-controls)

---

<div class="post-metadata">

**Author:** ![Sahil\_Patel](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/sahil_patel/32/32156_2.png) [@Sahil\_Patel](https://discourse.threejs.org/u/Sahil_Patel)\
**Post date:** [January 25, 2023, 4:07am UTC](https://discourse.threejs.org/t/i-want-to-zoom-to-the-particular-point-is-there-any-way-which-we-can-use-or-any-third-party-library/46659/8 "2023-01-25T04:07:53Z")

</div>

Hello @Chaser_Code, We have already tried to implement magnify-3D but it’s now deprecated so we can’t use it if you have anything else please share with us it helps. 🙂

---

<div class="post-metadata">

**Author:** ![Chaser\_Code](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/chaser_code/32/20199_2.png) [@Chaser\_Code](https://discourse.threejs.org/u/Chaser_Code)\
**Post date:** [January 25, 2023, 7:28am UTC](https://discourse.threejs.org/t/i-want-to-zoom-to-the-particular-point-is-there-any-way-which-we-can-use-or-any-third-party-library/46659/9 "2023-01-25T07:28:43Z")

</div>

What does mean deprecated?
