Storing and restoring a camera view

Next
 From:  Metin (METIN_SEVEN)
11302.1 
Hi Michael,

I'm wondering: is there an option or script to store and restore a camera view (perspective or isometric) ?

I often model for one specific view angle, like for an illustration, making it very useful to be able to press a hotkey to return to a specific view angle and perspective FOV to check how it looks from the relevant side.

Thanks in advance for possibly considering this, if it isn't already possible.

─ Metin

visualizer • illustrator • 3D designer — metinseven.nl
  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:  Frenchy Pilou (PILOU)
11302.2 
Maybe this (it's not a store but...

http://moi3d.com/forum/index.php?webtag=MOI&msg=8476.3

Alternatively, go to Menu Options / 3D View Settings - Pitch - Azimuth - Roll - View
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  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:  Metin (METIN_SEVEN)
11302.3 In reply to 11302.2 
Thanks Pilou.

This workaround with manually copying and entering camera coordinates is too convoluted for me though. I'd need a simple hotkey or button to store a manually navigated custom camera view, then another hotkey or button to restore it.

─ Metin

visualizer • illustrator • 3D designer — metinseven.nl
  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:  Larry Fahnoe (FAHNOE)
11302.4 In reply to 11302.3 
Hi Metin,

Here are a couple of scripts that may be of help to you. PEER's NamedView in particular may be the better choice to get the hotkey behavior you are after.

PEER's NamedView: https://moi3d.com/forum/messages.php?webtag=MOI&msg=11036.1

Teddy Lindsey's ViewManager: https://moi3d.com/forum/messages.php?webtag=MOI&msg=10028.1

--Larry

EDITED: 20 Dec 2023 by FAHNOE

  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:  Frenchy Pilou (PILOU)
11302.5 In reply to 11302.3 
Seems to me that is yet existing!
Michael or other will give you that!
before that make a shortcut to this

Camera&TargetPointToClipboard – it will copy the camera and target locations to the clipboard as a text string:

script:var v = moi.ui.mainWindow.viewpanel.getViewport('3D'); moi.copyTextToClipboard( 'Camera=' + v.cameraPt.toString() + '\r\nTarget=' + v.targetPt.toString() );

Similarly you can set the .cameraPt value to something to place the camera at a certain x,y,z location:

script:var v = moi.ui.mainWindow.viewpanel.getViewport('3D'); v.cameraPt = moi.vectorMath.createPoint(50.2, 30.5, 10.1);

Ps you have my little site for some other things but it's in French... :)
https://moiscript.weebly.com

EDITED: 20 Dec 2023 by PILOU

  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:  Metin (METIN_SEVEN)
11302.6 In reply to 11302.4 
Thanks Larry and Pilou!

Love the always helpful MoI community. <3

Peer's version is exactly what I wished for, great!

─ Metin

visualizer • illustrator • 3D designer — metinseven.nl
  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:  Frenchy Pilou (PILOU)
11302.7 In reply to 11302.6 
Excellent a new one to translate in French...if possible! :)
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  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:  Metin (METIN_SEVEN)
11302.8 In reply to 11302.7 
Love your MoI site, Pilou. I know it for many years now, and it recently helped me refresh my "meMOIry". ;) You're doing a great job maintaining it. So much info, tips, explanations, animated GIFs.
  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:  Frenchy Pilou (PILOU)
11302.9 In reply to 11302.8 
It's my reminder! :) So no style only efficacity (for me) ! :)
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  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