[ui] Viewer3D: Use directional light & add light controller

Use a single light entity instead of one per camera.
Use directional light instead of point light.
Add camera relative directional light controller.
This commit is contained in:
Grégoire De Lillo 2024-06-14 20:59:50 +02:00 committed by Candice Bentéjac
parent 9df260ac6c
commit bfda6f66ac
4 changed files with 27 additions and 18 deletions

View file

@ -51,6 +51,7 @@ Item {
property bool displayGrid: true
property bool displayGizmo: true
property bool displayOrigin: false
property bool displayLightController: false
// Camera
property bool syncViewpointCamera: false
property bool syncWithPickedViewId: false // Sync active camera with picked view ID from sequence player if the setting is enabled