Viewport navigation: Rotate around selection

Next
 From:  Heiner (BILDERMENSCH)
6124.1 
Hi There!
When working in MOI, I have always problems with the navigation in the viewport.
Coming from Blender I am used to work mainly in the 3D viewport. When working with rather large
objects I would like to set my current selection as the center of the rotation of the
3D view. Until now I have not found such a option in MOI. Did I miss it somewehre?
If not, I would really apprechiate to see that option in a future Version.
Regards
Heiner
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  coi (MARCO)
6124.2 In reply to 6124.1 
hoi heiner..

option is already available..

http://moi3d.com/2.0/docs/moi_command_reference5.htm#View
http://moi3d.com/2.0/docs/moi_command_reference9.htm#Viewport%20controls

either you use the RESET button at the bottom of the window, so called Viewport controls

quote:
Fills the view with either the selected objects or all objects.

On the first click Reset will target just the selected objects and adjust the view so the selected objects fill up the viewport.

If you click the button a second time, Reset will target all objects in the model regardless of selection, zooming to fit everything within the view.

Reset also places the pivot point for rotating the 3D view at the center of what it zoomed to.

If you right-click on the Reset button, the reset will be applied to all viewports.

If there are no objects visible, Reset will restore the view to the initial startup default view.







or assign the command to a shortcut.

script:moi.view.resetAll();


..as this is very(very) basic stuff, you should definitely have a read through the manual or a look at the tutorials section

http://moi3d.com/2.0/docs/moi_introduction.htm
http://moi3d.com/2.0/docs/moi_command_reference.htm

http://moi3d.com/resources#Tutorials

~ marco

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Heiner (BILDERMENSCH)
6124.3 In reply to 6124.2 
Thank you so much,
belive me, I was looking for it, but I was looking the wrong way:
I was searching for "rotate around selection". I am sorry for that,
but i handle 3 applications at the moment (Blender, CINEMA 4D and Moi)
and that leads sometimes to confusion like that.
Again sorry, and a big thank you for taking the time and helping me out!
Best regards
Heiner
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  coi (MARCO)
6124.4 In reply to 6124.3 
hi heiner..

no need to apologize..lol..the pivot center thingy is indeed somewhat "hidden" in the RESET command.

ciao,
marco
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  rich (RICHKEAR)
6124.5 In reply to 6124.4 
Good day all,

A while ago, Michael was very helpful to divide "Reset" into two separate scripts for hotkey assignments: 1. View or zoom all, and 2. view or zoom selected.

1. script:/* Zoom extents all */ var vp = moi.ui.getActiveViewport(); vp.zoom( 0.9 ); vp.reset(); vp.reset();

2. script:/* Zoom extents selected */ var vp = moi.ui.getActiveViewport(); vp.zoom( 0.9 ); vp.reset();

I find this very useful.

Rich
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Samuel Zeller
6124.6 In reply to 6124.5 
This one is cool too

It zoom on selection or on everything if nothing is selected :)

No need to have two separate shortcuts

script:moi.ui.getActiveViewport().reset();
--
shapenoid.com stojan-voumard.com
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All