MoI discussion forum
MoI discussion forum

Full Version: V5 viewport navigation wish

Show messages: All  1-3  4-14

From: Frenchy Pilou (PILOU)
9 Sep 2021   [#4] In reply to [#3]
Maybe Michael will cook this for you! :)
From: Viewbyte
9 Sep 2021   [#5] In reply to [#4]
I hope so - he's clearly a great chef!
From: Michael Gibson
9 Sep 2021   [#6] In reply to [#1]
Hi Viewbyte, you can get something similar in MoI currently by using the "Zoom area" tool. It will also set the center of rotation. The method you're describing would not be a great fit with MoI because you wouldn't have a chance to use object snap to precisely set the target point.

Also currently the Alt key is being used for a different purpose, it disables object snaps when point picking.

Here's a demo using "Zoom area" in MoI:



- Michael
From: Viewbyte
9 Sep 2021   [#7] In reply to [#6]
Thanks for the tip on the 'Zoom area' tool. i'll try that.

I'm not sure what you mean by:
"The method you're describing would not be a great fit with MoI because you wouldn't have a chance to use object snap to precisely set the target point."

Because in the method / demo I uploaded I'm not snapping to anything. Snapping is not active at all. It's simply that the intersection of the 'cursor ray' and face of first visible object is automatically used to establish the rotation / zoom origin. For the user it's simply a case of position the cursor over the scene and Alt drag.
From: Michael Gibson
9 Sep 2021   [#8] In reply to [#7]
Hi Viewbyte,

re:
> Because in the method / demo I uploaded I'm not snapping to anything. Snapping is not active at all.

Yes, but that's the problem - that would be unusual in Moi to have something target a point on an object but not be able to use snapping while doing so.

- Michael
From: Viewbyte
9 Sep 2021   [#9] In reply to [#8]
But if I do a pan, zoom or rotate in MOI now - I'm not typically 'targeting or selecting' anything, so why are you suggesting that's a requirement with an alternative (improved) method?
From: Michael Gibson
9 Sep 2021   [#10] In reply to [#9]
Hi Viewbyte, the difference is that pan/zoom/rotate like you're describing manipulates the camera and doesn't do any object-specific targeting in it.

The method that you were describing targets an object but in MoI when you target a point on an object with the mouse it should allow for object snaps.

- Michael
From: Viewbyte
9 Sep 2021   [#11]
I would say the method I'm describing targets a location in 3D space - to manipulate the camera : )
From: Michael Gibson
9 Sep 2021   [#12] In reply to [#11]
Hi Viewbyte, it's a location in space on an object. In MoI it's a focus for points on objects to be placed with precision using object snaps.

- Michael
From: Viewbyte
9 Sep 2021   [#13] In reply to [#12]
"In MoI it's a focus for points on objects to be placed with precision using object snaps."

I totally understand and appreciate that, but I'm not doing, or intending to do, anything whatsoever to the object by manipulating the camera.

Anyway I'll rest my case here. I appreciate your engagement and willingness to respond, and I do understand the desire to stay consistent with your chosen modus operandi. MOI is clearly a very fluid and well thought out application. I just feel the viewport navigation isn't quite on that same high level.
From: Viewbyte
10 Sep 2021   [#14]
I've found a script on Petr's page that goes most of the way to what I want when assigned to a shortcut:

script:var objs = moi.geometryDatabase.getSelectedObjects(); if ( objs.length > 0 ) { moi.ui.mainWindow.viewpanel.getViewport('3D').targetPt = objs.getBoundingBox().center; }

It requires a section and a shortcut key press - but I can live with that.

Show messages: All  1-3  4-14