The Predict Engine window has a dedicated Unity tab. It is best fitted to render static images and prepare scenes for Predict Engine. It works in the following way :
(1) : The 3D scene (cameras, geometries, lights, environments) is defined and constructed entirely in Unity,
(2) : Additional settings specific to Predict Engine can be defined using specific components,
(3) : The renderer view is opened via the menu "PredictSuite/Engine/Engine View",
(4) : Predict Engine is started directly in the engine view using the Play button in the window, the Predictive Engine simulation appears in this window when the scene is loaded.
The Renderer Window contains the following buttons :
Hand mode : when this mode is selected, you can move the simulation in the window. You can also move the simulation in any mode using the mouse scroll button.
Play/Stop : starts the render if current state is off, stop the render if current state is on.
Zoom mode : when this mode is selected, you can zoom on the rendered image in the window. You can also zoom on the rendered image in any mode using the mouse scroll.
Pause : pauses/unpauses the render. The color of the button is an indicator of the state (colored = unpaused, gray = paused).
Picking mode (Play mode only): when this mode is selected, you can pick a pixel in the simulation to get details on the pixel's value (normal, depth, channels, ... depending on the sensor).
Reload :
if the "auto reload" option is disabled in the Preferences, reload the Predictive Engine scene with the updates made in the Unity scene,
if the "auto reload" option is enabled in the Preferences, enable/disable the auto reload mode. The color of the button is an indicator of the state (colored = auto reload enabled, gray = auto reload disabled).
Camera mode (Play mode only) : when this mode is selected, you can move the scene camera using the following keys :
Pan : scroll click and pan,
Orbit : left click or right click and pan,
Zoom : scroll wheel.
The camera transform definition will be automatically set to "Scene View".
Save Render : saves the render to a PNG or an EXR file.
Center simulation : resets the zoom and position of the simulation in the window to center it and fill in the available space.
Full Screen : displays the simulation in full screen.
1:1 Scale : resets the zoom and position of the simulation in the window to center it and view it with a 1:1 pixel scale.
Stats : shows/hides the current process statistics (state, render time, samples per pixel,...).
Fast <-> Accurate performances : defines the performance preset used for Predict Engine. The button on the left enables you to switch between preset and custom values. Performances settings are defined in the preferences.
Camera selection : defines which camera in the scene is currently being rendered. The camera can be disabled in the Hierarchy. The camera can be defined using a Unity "Camera" component or a "Physical Sensor" component.
Camera Transform Definition : defines whether the position of the selected camera is defined by its "Transform" component or by the transform of the camera in the Scene view.
Transform Definition = Game View
Transform Definition = Scene View
Resolution selection : defines the resolution/ratio of the computed simulation. New resolutions and ratios can be defined using the resolution combo-box in the Game view.
Interactive settings : some elements in the scene can be edited interactively while Predict Engine is running. Depending on the definition of the scene, some of the icons here against will appear :
optics : defines the field of view of the camera, the lens radius and the focus distance,
environment : rotates the HDRI environment,
post-process : edits the current post-process.
Channel selection : defines which channel(s) of the camera are displayed on screen. The "Output" is the tri-channel output as defined on the "Camera Settings" component. The other available channels will be listed in this combo-box, depending on the sensor definition and selected layers (see the Optical Instruments section for more details). When the selected channel is not "Output", the post process options can be edited directly in the Engine view interactive settings (section above).