Extensions:2.6/Py/Scripts/3D interaction/Camera Switcher

提供: wiki
移動先: 案内検索
Camera Switcher
Simplified workflow for multicam scenes.
UI location 3D View > Tool Shelf
Usage Preview each camera, or insert a marker using the buttons in the Camera Switcher tool.
Version 1.1 Author(s) Daniel Fairhead
Blender 2.65+ License {{{license}}}
Category 3D View Distribution Extern

Executable information
File name ?
Current version download https://raw.githubusercontent.com/danthedeckie/camera-switcher/master/cam_switcher.py

Links https://github.com/danthedeckie/camera-switcher/

What is this extension for?

In order to switch active cameras in a blender scene, you need to:

  1. Select that camera
  2. View Menu > Cameras > Set Active Object as Camera (Ctrl-Num 0)

To insert a 'cut' point in the timeline to cut to that camera in recording:

  1. Select the camera
  2. Insert a marker on the timeline (m)
  3. (Timeline) View Menu > Bind Cameras to Marker (Ctrl-B)

The marker will be named by its frame number, F_42, for instance.

This is extremely clumsy for scenes which switch cameras a lot. This addon introduces a much easier workflow. It also allows switching between custom views of an object much easier.

How to install it:

  1. Download the latest version of the python script from:
 https://bitbucket.org/dfairhead/camera-switcher/src/ or
  1. Open Blender.
  2. File > User Preferences > Add-ons > Install from File...
  3. Select the downloaded script.
  4. Activate it.

How to use this addon:


In the 3D view, open the Tool Shelf. (t) A new panel 'Camera Switcher' should be there. It lists all the available cameras, with Preview (to view the scene from that camera) and Take to insert a marker in the timeline which cuts to that camera (and is named after that camera).

The Take buttons can be used while the scene is actually playing, to 'live switch' through a scene.

Additional options:

Sometimes it's useful to be able to sort cameras, group them, or not display them in the switcher. For this, there is a new panel in the Camera Data Properties window, which allows you to set a sort-prefix, and toggle whether or not the camera should be shown in the switcher. In the switcher itself, there is a checkbox to allow you to group the cameras by prefix (up until the first '_' (underscore)), for instance you can set the prefix of a bunch of cameras to: "Closeup_01", "Wide Angle B", "Closeup_02", "Closeup_03", "Wide Angle_A", etc. It will group them by "Closeup" and "Wide Angle", and sort them within those groups by 01,02,03 or A, B.