Hey - i’m using the example from Here and i want to add functionality so when i’m selecting area (clicking an area) - it zooms - so i could add decal more precisely .
The following PR might be interesting for you: https://github.com/mrdoob/three.js/pull/17145
It enables “zoom to cursor” which is known from DCC tools like Blender. Since the decal example also uses OrbitControls, you might want to try to use the logic and apply it when a click is executed.
1 Like
Thanks!!! - do you have any example of it with codepen or something else?
This example is from the PR: https://raw.githack.com/westlangley/three.js/dev_zoom_to_curson/examples/misc_controls_map.html
Thanks - i don’t think it’s what i’m looking for - in this example - suppose i’m clicking the guys nose - then the result im looking for is zooming to it’s nose