Create and edit scenes
Creating and editing cameras requires to be able to navigate around the scene. To learn how to navigate the Viewport in PocketStudio see Scene editor UI and viewport navigation.
PocketStudio’s Scene Editor has only one view over the scene. This view can either be the viewport or a camera view. Imagine a film set where several cameras are employed to record the scene simultaneously.
- Think of the viewport as you walking on this set and looking around.
- Think of the camera view as you looking through one of the set’s camera view finder.
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.
- To interactively change the camera field-of-view: hold ctrl + LMB. Then drag the mouse up or down.
- To set the focus distance of the camera you are looking through: hold ctrl and right click on the object you would like the camera to focus on (this feature only works in the high-quality rendering mode. Depth of field is not supported in the preview rendering mode).
Current limitations (advanced): at the moment, the film aperture cannot be set on a camera to camera basis. The horizontal film aperture is set internally and a horizontal film aperture is calculated from the film aspect ratio property. The camera aspect ratio is global to the project and can be edited in the project’s global settings panel. If you want to exchange cameras between PocketStudio and another 3D program, see Convert a PocketStudio camera to/from a 3rd party application.
Creating and deleting camera
- Frame the scene as you like using the viewport navigation controls. This will become the camera view.
- Locate the camera icon on the toolbar. Click on it 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.
- 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 trash bin iconlocated in the top right corner of the Camera panel. For now, cameras can only be deleted one at a time.
Looking through an existing camera and switching back to the viewport
- Click on the camera icon on the Toolbar to open the Camera panel. The Camera panel will show the list of all the cameras contained in the scene.
- Double click on the thumbnail of the camera you want to look through. It will switch to this camera view.
- 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).
- 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.
- 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.
Additionally when you look through a camera, a gate mask is added to the screen. The opacity of the mask can be adjusted in the project’s global settings.
*What is a gates mask? Sometimes, the aspect ratio of the screen is different from the aspect ratio of the camera (for real-world camera, this aspect ratio is defined by the physical size of the camera’s sensor also known as the camera horizontal and vertical aperture). If the screen aspect ratio (the width of the screen over its height) is greater than the camera aspect ratio, borders will be added to the screen (as lines) indicating which part of the screen the camera records. If the screen aspect ratio is greater than the camera aspect ratio, these borders will be vertical. The film gate is the rectangular region delimited by these either vertical or horizontal borders.
Editing the camera properties
Where do I change the camera aspect ratio? The film aspect ratio is global to the project and can be adjusted in the project’s global settings.
To edit the properties of the camera and display them in the Property Editor panel, you will need to select the camera first. This can be done in two ways:
- Click on the camera name in the Scene Graph.
- 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.
A physically-based depth of field effect can be produced in the high quality rendering mode (press the F2 key to turn it on). To set this effect, see rendering.
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:
- Click on the Camera icon on the Toolbar to open the Camera panel.
- 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