aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qml/qmlpuppet/qml2puppet/editor3d/lightgeometry.cpp
Commit message (Collapse)AuthorAgeFilesLines
* QmlDesigner: Add fade control handle to point light gizmoMiikka Heikkinen2020-06-091-10/+2
| | | | | | | | | Also changed the point light mesh to just a single camera plane ring based on discussions with UX. Change-Id: If9e847440570bbe87483194c0b417cf09c7084a2 Fixes: QDS-2041 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add missing camera plane ring to point light modelMiikka Heikkinen2020-06-091-0/+5
| | | | | | Task-number: QDS-2037 Change-Id: Ica5a7ec2983da251d2ab75565120423288de27a2 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Update light gizmosMiikka Heikkinen2020-06-091-98/+59
| | | | | | | | | | | | | | | | | | | | Directional light model was made constant size, as it doesn't have actual physical presence. Spot light cone now shows the cone angle correctly and the length of the cone is calculated so that 5% of the brightness reaches the center of the cone bottom. Area light rectangle matches the area of the light. Point light mesh changed to three perpendicular circles. Same formula for size of the circles used as for spotlight length. All light types share a common brightness indicator arrow. Task-number: QDS-2037 Change-Id: I534dbcda9cfa2a7768c2537868ba83818979b250 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add a simple wireframe cone model for edit 3d spotlightMiikka Heikkinen2020-03-161-21/+24
| | | | | | | Change-Id: I013e4fc2d77b49694d887e8cadc05584a904ed62 Fixes: QDS-1819 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Edit 3D view icon updateMiikka Heikkinen2020-03-131-1/+26
| | | | | | | | Added icon for spot light gizmo and updated directional light icon. Removed icons that are no longer needed on puppet side. Change-Id: Id1e72c80e122250f7edc8a69a0e5720e755b96fc Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* QmlDesigner: Add light meshes to edit 3d viewMiikka Heikkinen2020-03-121-0/+208
Change-Id: I996498fde14510fc78c729f56cb8d46b28b233bb Fixes: QDS-1634 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>