Link a Camera to a Render Target

There are two options on how to create a link between a camera and a render target:

drawing-5-1718955616.png

Render Targets Panel with Camera enabled  

A camera can be associated to exactly one render target at a moment. 
A render target can be associated to one or more cameras, hence one or more cameras can use the same render target as output target.


Render Target Swapping

Once all cameras are finished with rendering their content onto a render target, the render target must be swapped. There are two options to ensure this:

drawing-5-1718955742.png

"Enable Swapping" property of Camera  

In case no swapping is done, the display will remain black. 
In case more than one swapping is done during a render pass, the display will flicker.


Additional Info about Rendering

This section explains the render loop performed by SCHost for the Scene Editor part of SceneComposer. For each frame, the following procedure is executed:

Displays are cleared (all the render targets are cleared) - due to specific requirements.

All cameras are rendered in the order specified by the camera property "Sequence Number". A camera is rendered only if it is explicitly enabled in the Render Targets panel.

Active Camera Rendering:
drawing-4-1699592111.png

Scene Rendered on a Configured Display  

Zoom Display Preview:

In some particular situations, the user could need an option to switch back to 100% of a display if its size has been modified. Consequently, the possibility to zoom in Display Preview through options in the context menu of the view is available. In the context menu which can be opened by right click anywhere in the display, eight given values are available: 200%, 175%, 150%, 125%, 100%, 75%, 50%, and 25%.

drawing-4-1699591998.png

Context Menu with Zoom Options on a Preview Display  


Rotate Display Preview:

This function is used to rotate the orientation of the display preview to match the orientation of the target device (landscape/portrait). The CGI Player also has a similar function. See "Rotate" for details.

The display preview can be rotated in the below two ways.

drawing-5-1718955881.png

Revision #15
Created 2023-02-13 05:39:24 UTC by Kanai Tomoaki
Updated 2025-01-20 23:32:06 UTC by Elisabeth Zauner