2
$\begingroup$

I feel like I've been searching for the wrong terms. Appologies if so.

I have a camera object retuned from fspy. I now want to work IN this view axis, not in the origin or files axis. So how do I create an axis that has eg X as the horizontal of the view through the camera, Y as the vertical and z coming towards me (my viewing vector)?

$\endgroup$
2
  • $\begingroup$ These are not exact duplicate but should answer your question : blender.stackexchange.com/a/52050/86891 blender.stackexchange.com/questions/206200/… (I swear this has already been answered but can't find the question). Point is you can create a custom axis from the camera object $\endgroup$
    – Gorgious
    Commented Nov 17, 2021 at 12:23
  • $\begingroup$ These solutions require me to have geometry to align to already? I only have a camera randomly in space, and want to work IN that viewport with Z towards me, x along horizontal (in the view) and Y vertical. $\endgroup$
    – dwbell
    Commented Nov 17, 2021 at 12:53

1 Answer 1

4
$\begingroup$

You can create a Custom Orientation from your Camera.

With that orientation in use, if you ShiftS snap the 3D Cursor to the camera, amd use it as your Transform Pivot Point, you can, for example, SZ scale an object up and down the camera's axis, and its appearance through the camera won't change.

If you want to create objects aligned to the camera, then on ShiftA creation, in the F9 'Adjust Last Operation' panel, change the creation orientation from 'World' to 'View', while looking through the camera. This can be set to be the default, in Main Header > Edit > Preferences :

enter image description here

If you have objects in scene, and you want to align them, along with their existing local axes, to the camera,then, having created the Camera Custom Orientation, use Header > Object > Transform > 'Align to Transform Orientation'.

If you want to leave meshes in place, but align the object's local axes to the camera, then, in Object Mode, you can use Header > Options > 'Affect only Origins' , and align only the axes to the camera, using the above method.

$\endgroup$
5
  • $\begingroup$ This does not seem to allow me to create objects IN the camera viewport that have Z towards me, X along the horizontal view axis and Y in the vertical? $\endgroup$
    – dwbell
    Commented Nov 17, 2021 at 13:28
  • $\begingroup$ Well yes it does, it's the whole point :) $\endgroup$
    – Gorgious
    Commented Nov 17, 2021 at 13:46
  • $\begingroup$ @dwbell I hope the edit covers the bases? $\endgroup$
    – Robin Betts
    Commented Nov 17, 2021 at 14:04
  • $\begingroup$ @Robin Betts. Ah ha! This is exactly what I was after, I didn't realise it would be a retrospective function "If you want to create objects aligned to the camera, then on ShiftA creation, in the F9 'Adjust Last Operation' panel, change the creation orientation from 'World' to 'View', while looking through the camera." $\endgroup$
    – dwbell
    Commented Nov 17, 2021 at 14:50
  • 1
    $\begingroup$ @dwbell See edit.. it doesn't have to be retrospective... :) $\endgroup$
    – Robin Betts
    Commented Nov 17, 2021 at 15:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .