Sub-Presentations is a feature which allows one presentation to be embedded in another.
The main benefit of doing this is that you can author different parts of a large presentation as separate smaller presentations. This can help control complexity in single
.uip files, as well as allow different parts of a presentation to be authored separately and simultaneously.
Sub-presentations execute independently, albeit inside the same Runtime process as the initial presentation. The rendered frame from each sub-presentation is essentially used as a texture on a rectangle in the main presentation. This allows control over where and how each sub-presentation is composited into the final frame.
There are two different ways to display a sub-presentation; on a separate layer or on an image element on an existing layer.
Sub-presentation on a Layer
- From the file menu, select Edit > Sub-presentations.
- Click the + icon.
- Set Type to
- Click Browse, browse to the project folder of your desired project and select the
- Enter desired name for the sub-presentation in the Name field. In case you have several sub-presentations in your project the names need to be unique.
- Select the layer you want to use for the sub-presentation in the timeline palette. Then, in the inspector palette, select the desired sub-presentation in the Sub-Presentation field. All sub-presentations added to the project will be listed here.
Sub-presentation on an Image Element
- Follow step 1 to 3 in the Sub-presentation on a layer section above.
- Add a basic object to your layer, preferably a rectangle.
- Add any image as a diffuse map for the material of the object by first selecting the material of the object in the timeline palette and then selecting Diffuse Map in the inspector palette.
- Select the diffuse map in the timeline palette and then select the desired sub-presentation in the Sub-Presentation field. All sub-presentations added in the
.uiawill be listed here.
To display the sub-presentation background as transparent in the main presentation there are two settings in the sub-presentation that needs to be set.
- Layer property Layer Background needs to be set to
- Scene property Set Background needs to be unchecked.
Available under certain Qt licenses.
Find out more.