4
$\begingroup$

I'm trying to render a building using an orthographic camera. The first side of the building works fine, but when I mirror the camera to the other side of the building the camera is in the right position but the view through the camera is mirrored on the Y axis.

I tried different things:

  1. Mirror the camera again and rotate it around 180°. Doesn't work, the viewport is still mirrored on one axis.

  2. Apply Rotation, Location and Scale (doesn't work either)

My question is, how do I fix this behavior?

PS: I fixed it with new camera - but the question, or the answer is still interesting.

$\endgroup$
3
  • 2
    $\begingroup$ Why do you use mirror ? You should use the 3D cursor (placing it at the building center) to rotate the camera along Z axis, 180°... $\endgroup$
    – Polosson
    Aug 2, 2013 at 9:09
  • $\begingroup$ This sounds like it could be a bug. If it is, you could consider filing a bug report $\endgroup$
    – gandalf3
    Aug 2, 2013 at 19:00
  • 1
    $\begingroup$ Related? blender.stackexchange.com/questions/1093/… $\endgroup$
    – iKlsR
    Aug 2, 2013 at 19:03

1 Answer 1

3
$\begingroup$

This is because the Object mode Mirror tool works by scaling -1. (the same thing will happen if you manually scale the camera by -1.) You will also notice that in addition to the viewport being mirrored, Object Normals appear reversed.

from the wiki about Edit mode mirror:

The mirror tool in Edit mode is similar to Mirroring in Object mode. It is exactly equivalent to scaling by -1 vertices, edges or faces around one chosen pivot point and in the direction of one chosen axis, only it is faster/handier.

note that using an Orthographic or Perspective camera does not change this behavior. It is the same on both.

(as already mentioned by Polosson),
The solution is to Rotate the camera instead of mirroring it.

Also as already mentioned by Polosson, one way to do this would be to

  1. Select the building, and press Shift+S > Cursor to selection
  2. Press . to change the Pivot point to Cursor
  3. Select the Camera and rotate around the Z axis by 180 degrees. (R+Z+180)
$\endgroup$

You must log in to answer this question.

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