You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #288 , we introduced new, basic functionality for controlling the camera. After implementing #453 we will have the notion of a configurable "camera target" built upon the foundation of #288.
In discussing #447 and in other channels, it was suggested that one mechanism for controlling the camera target could be to do a raycast based on pointer input. If the ray intersects with the model, the camera target is moved to the point of intersection.
This mechanism would allow users to focus on points of interest in a model without needing to pan, and without the risk of relocating somewhere far away from the model.
Reacted by Thiago Guardado Beltran, David Peicho, Antonio Viggiano, lgasnier, ABakker30 and Umut Karakulak
It's an old issue and since then, hotspot features and some javascript code can be used to move the rotation center.
A double click at any point on the 3D model will move it to this point.
A double click outside the model restores the default rotation center.
So we can focus on the clicked point and then zoom on it (useful for example to see details of the top or the bottom of a tall 3D model).
Activity
lgasnier commentedon Jul 28, 2020
It's an old issue and since then, hotspot features and some javascript code can be used to move the rotation center.
A double click at any point on the 3D model will move it to this point.
A double click outside the model restores the default rotation center.
So we can focus on the clicked point and then zoom on it (useful for example to see details of the top or the bottom of a tall 3D model).
elalish commentedon Jul 28, 2020
@lgasnier Precisely! Thanks for posting this demonstration.
elalish commentedon Mar 30, 2021
We have a panning example now demonstrating this.