Allow zooming on cursor position

Hey

currently when zooming, the model zooms to the center point of the axis on the screen, which sometimes provedes annoying situations (like when trying to zoom in, my camera will go through the object instead of zooming to the detail I want to look at). currently i need to continuously reposition my model to the center in order for me to get ‘close’ to the object i want to view

Can there be a toggle specifying the zoom type, where the default can be set on user profile lvl?

I agree and even would suggest making this behavior the default (Just like in Revit, Archicad, or Rhino). This definitely will go to our backlog, thanks!

1 Like

Hey Dick, 6 months later we now zoom on cursor position instead of the center of the window. Please give it a try and let us know if you have any feedback! It’s live on app.speckle.systems.

3 Likes

Hey!

Such good news that i had to test it! it works… but not yet great. on large models i find that the ‘zoom step’ seems to be realtive to the total model size, so i am zooming right through my elements with one scroll wheel ‘step’ can this be gadually? (see attached vid)

Hi @Dickels112

Could you perhaps share a model that manifests this issue?

We’ve tried it on both large and microscopic models and we did not encounter such issues as “‘zoom step’ seems to be realtive to the total model size” is the thing that makes it work for various scene sizes. Perhaps there is something specific in your scene that is throwing things off, so we’d need to check it out

Cheers

Is the model far from CAD origin ?

Such geometry often led to display and view navigation problems when
exported to 3D Apps like Cinema 4D and a bit for Modo.
C4D even clipped the view so such geometry was totally invisible.

In Autocad users often draw 45 000 km or so in world coordinates away
from internal origin. Autocad seems to not bother that much.
If you would do that in Vectorworks, you would already get display and
snapping issues inside the CAD.

Hey Alex,
what is your username on app.speckle? then i will add you as collaborator

Hi @Dickels112

It’s Alex but I think email should also work alex@speckle.systems

Cheers

2 Likes

Thanks for the invite! We’ll look into the issue

1 Like

Hey @alex

Can this be related to the camera position in relation to the 0.0 point of the model? Is the zoom step being determined based on distance between the ‘origin point’ of the model and the current camera position?
i have a similar problem with another Civil3D model and i think if i upload the model to ‘relative coordinates’ the problem will not occur


Edit: the problem still occurs even with a relative coordinate position to my other model of civil3d

Hey @Dickels112

I had a look back when you originally posted and the issue is generally present on large models with a less uniform shape. For example, the one from your original post is very long and relatively narrow. Because zooming speed takes into account the overall stream size, it does not work very great for some stream shapes (like the one you have).

We are planning on revisiting the camera controls in the near future, and we’ve already made an issue with this particular report so we’ll get on it relatively soon

Cheers

1 Like

love it! thanks! I think there is argument for both options, personally my preference would be: closest distance between cam position and geometry defines ‘zoom step’ with a certain limit (obviously you would also want to go ‘through’ an element). a toggle preventing you to zoom-through elements would also help btw. I will patiently wait the future :slight_smile:

1 Like

any updates on this?

@B.Kaiser Which part? Since June we’ve been zooming on cursor position instead of the center point. Being able to toggle between these zoom types is not something we make possible though if that’s what you’re referring to. Maybe at some point but it’s not currently in the works.

1 Like

@benjavo its literally just the speed of the zoom in and out the slights roll of the wheel on my mouse and I’m halfway across my model. if there could be a zoom speed control added to setting that would be great.

That makes sense. Is it a small scale model by any chance?

I’ve noted down the request to adjust the zoom speed. We’ll definitely do it but I can’t promise when at this point. I’ll let you know here.

No they are not smakk my work is in commercial construction so working with typical building sizes. I suspect that’s why it moves so fast is due to the size of the model’s. Thanks in advance for when it can be added.