12
$\begingroup$

I'm currently weight painting and find myself glancing back and forth between camera view and user perspective view to check where I'm painting in relation to my camera boundaries (for an environment scene). Is there a way to view the camera boundaries from within the user perspective view? Weight Painting

$\endgroup$
12
$\begingroup$

Another option is to simply scale up the camera object. It doesn't effect the FOV at all. Select the camera, go to the properties panel and Camera > Display > Size.

scale camera display only

Scale it up until the frustrum covers your painting area. You can see it from any angle. Alternatively you could parent a lamp with a square cone to match the camera frustrum.

Add a spot lamp and constrain it to the camera and copy the camera's Field Of View to lamp Size. You will have to scale the lamp's Y axis to fit aspect ratio.

lamp constrained to camera

Copy camera FOV

match lamp to camera position and rotation

$\endgroup$
  • $\begingroup$ Hardly intuitive, but highly effective results! $\endgroup$ – Patdog Aug 21 '16 at 11:39
  • $\begingroup$ Thanks I think it would make a neat little addon if automated. $\endgroup$ – 3pointedit Aug 21 '16 at 12:09
11
$\begingroup$

I don't think it's possible as of 2.77, but a quick workaround would be to use Clipping Border to visualize what's visible from camera regarding its field of view angle setup.

  1. Enter camera view (Numpad 0) and enable Clipping Border tool with Alt+B.
  2. Draw the rectabgle which should be the same as camera boundaries.

Now once exiting the camera view you'll see large grey cone of nearly the same area visible to the camera.

GIF of drawing clipping border

Note:

  1. Clipping border means that any geometry out of its boundaries is hidden.

  2. The border drawn may be not the most convenient while in 3D Viewport because of grey area it consists of.

$\endgroup$
  • $\begingroup$ Well that just makes my method look stupid haha. $\endgroup$ – Ray Mairlot Aug 18 '16 at 14:28
  • $\begingroup$ @RayMairlot well I wouldn't say as Clipping Border hides any other geometry which may be undesirable and it has quite strange visualization in 3D Viewport (it's much more friendly with mesh), but the method is faster. $\endgroup$ – Mr Zak Aug 18 '16 at 14:39
  • $\begingroup$ Thanks for this, have never used that before but looks like it should work. I also thought your idea Ray was good! $\endgroup$ – Dan Aug 18 '16 at 20:43
2
$\begingroup$

Currently there is no built in way to do this. Someone did start building a patch for this here, with the developer, Ulysse Martin, stating:

I'm not convinced about the usefulness of this too finally. So I close the task for the moment, and if users request such a feature, I'll reopen it.

If you feel this is an important feature I would suggest commenting on the patch as Ulysse Martin suggested.

However, I was able to make a rough camera frustrum by modelling it with geometry:

enter image description here

  1. Select the camera, press Shift+S and choose Cursor to selected.
  2. Go to the camera view (Numpad 0) and add a Plane with Shift+A, which results in:

enter image description here

(This depends on the Editing user preference Align To set to View, so new objects are aligned to where you are looking)

  1. Extrude the plane along its face normal until it aligns with the front of the camera.
  2. Scale down the face so it matches the camera shape. Using a local transform manipulator can help with this:

enter image description here

  1. Select the other end of the cube and press S,0 to scale down the face to a point.

  2. Select the face that aligns with the front of the camera and press G twice to perform an Edge Slide. While edge sliding press C to turn off Clamping. You can now adjust the 'camera frustrum' to be as big as necessary:

enter image description here

You could then parent the frustrum object to the camera with Ctrl+P so it follows the camera if you move it.

For convenience, while doing this I set the object to Wire display mode by going to Object Properties> Display and setting Maximum Draw Type to wire.

I'm not sure if you want to go to this effort or if this is even useful doing it in this manner (as it may still be hard to tell what is inside or outside the object), but this is the only way I know of doing it.

$\endgroup$
2
$\begingroup$

Blender has an option to display camera bounds. The option is only available for the 3D stereoscopy camera. If we want to use it for a normal camera it is possible to enable the multi-view option without altering the camera view, this needs to be disabled again to render unless you setup the camera properly.

views options

Once enable we have the stereoscopy panel in the 3Dview properties panel (N)

stereo settings

3dview with camera volume

$\endgroup$
0
$\begingroup$

Initial Solution: AltB select the camera boundary. Pro: Simple Con: Limited view of other references.

Alternative Solution: Vertex/ Face Mask. Pro: Flexibility & control Con: N/A. enter image description here

Most Efficient Solution: Adjust Mesh to Camera View. Pro: No wasted vertices Con: Camera is set - less flexible. Less Geometry is elegant

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.