Create and edit scenes

Physical Cameras

With PocketStudio you can simulate real-world cameras such as a Red, Arri Alexa or Panavision camera. It is not uncommon to see multiple cameras used for various aspects of the filmmaking process.

Cameras in PocketStudio have physical properties such as f-stop or shutter angle that allow you to simulate effects such as depth of field or control motion blur as you would on a real-world camera.

You can import a list of predefined camera models and lenses that fit the needs of your project. A camera model contains a sensor (filmback) size (width and height in mm) and a list of lenses to choose from.

To create a camera:

  1. Navigate through the scene to choose a viewpoint you would like to record the scene from. This will become the camera view.

  2. Click on the icon on the Toolbar to open the Camera panel, then click on the Create button located in the top left corner of this Camera panel. A thumbnail will show up below the window’s menu bar. It represents a view of the scene, as seen from the newly created camera.

  3. To change the camera name, click once on the default camera name. Once the the text field becomes editable, type a new name.

To delete a camera, open the Camera panel by clicking on the camera icon on the Toolbar. Select the camera you wish to delete by clicking once on its thumbnail, then click on the icon located in the top right corner of the Camera panel. Cameras can only be deleted one at a time.

PocketStudio’s Scene Editor has only one view over the scene. This view can be set to either the walkthrough or the camera mode. Imagine a multi-camera setup on a film set to record the scene simultaneously from different point of views:

  • When you are in the walkthrough mode, you can move around and explore the scene.
  • In the camera mode you are looking at the scene through one of the set’s camera.

In this section you will learn how to switch between these modes.

Looking through an existing camera and switching back to the walkthrough mode.

  1. Click on the icon on the toolbar to open the camera panel. The camera panel shows the list of all the cameras contained in the scene.
  2. Double click on the thumbnail of the camera you want to look through. The viewport will switch to this camera view.
  3. To exit the camera view and switch back to the walkthrough navigation mode, click on the camera icon in the upper left corner of the viewport.

When you look through a camera, a couple of icons are added to the viewport (in the top left corner).

  1. This icon essentially tells you that you are looking through a camera. By clicking on this icon you will get out of the camera view and back to the walkthrough navigation mode.
  2. By default cameras are locked. This will prevent you from inadvertently changing their position. However, in some cases, you might find that a camera position could be adjusted. By clicking on this icon, you will unlock the camera transformations; once unlocked, you can use the viewport navigation controls to adjust the camera angle again. Click on the icon to lock it back if necessary.

Accessing the camera settings in the properties panel can be done in two ways:

  1. Click on the camera name in the Scene Graph.
  2. Click on the camera icon on the toolbar to open the camera panel. Then double-click on the thumbnail of the camera you want to edit. If you edit the camera properties you can then see the result of the changes on the screen in real-time.

For cameras, the Property Editor panel is divided into three groups:

  • Scene Properties: it contains the camera translation and rotation values.
  • Camera Properties themselves such as the focal, f-stop, shutter angle, etc.
  • Global Properties: an easy access to the settings of the Project Global Settings window that are somehow related to cameras and how they are rendered in the viewport.

Camera Properties

The focal length of the lens used for that camera (in millimeters). If you change the focal length, the angle of view will be updated automatically and vice versa.
Horizontal angle of view (computed from the sensor width). If you change the angle of view, the focal length will be updated automatically and vice versa.

For the depth of field properties see Rendering: Depth of Field.

For the motion blur properties see Rendering: Motion Blur.

The Camera Motion (AR) group is only displayed when the camera is animated (maybe you created it with PocketStudio’s AR app),

Smooth the camera moves. For cameras created with PocketStudio's AR app, this property need to be set with a values in the range 1000 to 5000 to produce satisfactory results (smaller or greater values are of course possible).

Camera Model

You can choose a model from a list of predefined models or create a custom model by setting the the sensor width and height with your own values.

A camera model contains the camera’s sensor width and height as well as a list of lenses (optional). Lenses can be a prime (fixed focal) or a zoom (the focal length can vary within a certain range). If you choose a prime lens, the focal length and angle of view parameter will be fixed (read only).

For more information regarding this model and learn how to add more camera models to the predefined list of models, see Add your own camera models.

Choose a camera model from the list of predefined models. When you do so, the sensor width and height are updated with this model's values. If lens data was set for this model, the lens pulldown menu will also be populate with a lise of possible lenses for this model.
The sensor or film width (in mm).
The sensor or film height (in mm).
If a list of lenses was provided with the camera model, then you will be able to access them from this pulldown menu. Alternatively you can use the option **free** from this pulldown menu; this will allow you to change the focal length for this camera and all its parameters freely.

Global Properties

See Physical Cameras: Camera Global Properties.

You can set a list of predefined camera models that fit your project’s needs.

A camera model contains a sensor size (width and height in mm) and potentially a list of lenses to choose from. For each lens you can set a min, max and default value for the focal and f-stop parameters.

  1. Download this camera presets example (JSON file) and edit the file to your needs.
  2. Drag and drop the file onto the viewport. The new models are now accessible for all the cameras in the scene.

When you use a camera presets file, the default camera used in the scene will take values from the first item in your camera presets file.

If you need to adjust camera presets you can make your adjustments in the file and re-import. Existing cameras will be updated with the new values. You can drop in as many camera-presets file as you like, new cameras will be appended to the project.

{
    "camPresets": [
        {
            "name": "Canon EOS 5D Mark IV",
            "filmSizeInMm": {
                "width": 36.00,
                "height": 24.00
            },
            "lenses": [
                {
                    "name": "35mm",
                    "focal": {
                        "min": 35.0,
                        "max": 35.0,
                        "default": 35.0
                    },
                    "fStop": {
                        "min": 2.0,
                        "max": 22,
                        "default": 5.6
                    }
                },
                {
                    "name": "50mm",
                    "focal": {
                        "min": 50.0,
                        "max": 50.0,
                        "default": 50.0
                    },
                    "fStop": {
                        "min": 1.4,
                        "max": 22,
                        "default": 2.8
                    }
                },
                {
                    "name": "70-200mm",
                    "focal": {
                        "min": 70.0,
                        "max": 200.0,
                        "default": 100.0
                    },
                    "fStop": {
                        "min": 2.8,
                        "max": 22,
                        "default": 4.0
                    }
                }
            ]
        },
        {
            "name": "Super 35 3-Perf",
            "filmSizeInMm": {
                "width": 24.89,
                "height": 13.9
            }
        },
        {
            "name": "IMAX 70mm",
            "filmSizeInMm": {
                "width": 70.00,
                "height": 48.5
            }
        }
    ]
}

This provides an easy access to the settings of the Project Global Settings window that are somehow related to the camera, and to the way cameras are rendered in the viewport. These settings are global to the project.

Overlays (gates) are not displayed in the high-quality mode at the moment.

Display the film (white) and render or output (red) gates.

The film gate (white) represents the part of the viewport that is being captured by the sensor of the camera.

The render or output gate (red) defines the area of the film gate that is actually being saved to file (render region). An alternative name for render gate (CG) is film guides or guidelines (film). The render gate is controlled by the film output aspect ratio which can be set in the Project Global Settings.

The render gate is always contained within the boundaries of the film gate (there is no overscan option).

When off, part of the viewport that is outside of the film gate is cropped (not rendered).
There are two possible options:
  1. Fit Film Gate to Viewport: the film gates takes all the available space on screen (with the output gate contained within).
  2. Fit Output Gate to Viewport: the output gate takes all the available space on screen (the film gate is out of screen and is thus not visible).

XX image

A few shortcuts useful when dealing with cameras:

  • select one or more objects in the viewport and press f to frame the camera view on this selection. The center of interest of the camera is the object’s pivot. This can be a problem is the object’s pivot is far from the object itself. See the next option then.

  • ctrl+shift+: to set the center of interest of the camera to the point on the geometry you clicked on rather than the object's pivot.
  • ctrl + then drag up or down to interactively change the camera angle-of-view/focal.
  • ctrl+ on the object you would like to get in focus (this feature only works in the [high-quality rendering mode](preview-high-quality-rendering). Depth of field is not supported in the preview rendering mode).
  • F9 toggle the visibility of camera frustums.

To create animated cameras using PocketStudio’s native augmented reality application, see create virtual cameras using AR.

To export all the cameras contained in the scene to a FBX file, do as follows:

  1. Click on the Camera icon on the Toolbar to open the Camera panel.
  2. Click on the floppy disk icon located in upper right corner of the Camera panel. A file browser will open up. Navigate to the directory where you want to save the file, enter a file name and click on the export button.

Exporting AR cameras with smoothed out motion: set the Smoothing camera property to 0 if you wish to export the AR camera’s raw data.

XX to do aperture size XX