Doc: Describe SpotLight Qt Quick 3D type

Update screenshots of all light types in 3D Editor.

Task-number: QDS-2056
Change-Id: I5f4fbacd01850c7cedcbd187969b9f310507649c
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Leena Miettinen
2020-05-15 14:46:23 +02:00
parent 6839d2471e
commit 564bace1ec
7 changed files with 18 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -42,6 +42,7 @@
\list \list
\li \l{DirectionalLight}{Light Directional} \li \l{DirectionalLight}{Light Directional}
\li \l{PointLight}{Light Point} \li \l{PointLight}{Light Point}
\li \l{SpotLight}{Light Spot}
\li \l{AreaLight}{Light Area} \li \l{AreaLight}{Light Area}
\endlist \endlist
@@ -121,6 +122,22 @@
Aside from fade, a point light has the same properties as a directional Aside from fade, a point light has the same properties as a directional
light. light.
\section1 Spot Light
A spot light emits light towards one direction in a cone shape.
The light intensity diminishes when approaching the value of the
\uicontrol {Cone angle} property. The angle at which the light
intensity starts to diminish is defined by the
\uicontrol {Inner cone angle} property. Both angles are defined in degrees.
Inside the inner cone angle, the spot light behaves similarly to the point
light. There the light intensity diminishes according to inverse-square-law.
However, the fade-off (and range) can be controlled with the
\uicontrol {Constant fade}, \uicontrol {Linear fade}, and
\uicontrol {Quadratic fade} properties.
\image studio-3d-spot-light.png
\section1 Area Light \section1 Area Light
An area light is similar to the directional light. However, instead of An area light is similar to the directional light. However, instead of
@@ -135,7 +152,7 @@
The image below shows an example on how to light an object with different The image below shows an example on how to light an object with different
colors using two different area lights. colors using two different area lights.
\image area-light.png \image studio-3d-area-light.png
You can rotate, scale, and move area lights. You can rotate, scale, and move area lights.