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>
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 11 KiB |
BIN
doc/qtdesignstudio/images/studio-3d-area-light.png
Normal file
After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 21 KiB |
BIN
doc/qtdesignstudio/images/studio-3d-spot-light.png
Normal file
After Width: | Height: | Size: 25 KiB |
@@ -42,6 +42,7 @@
|
||||
\list
|
||||
\li \l{DirectionalLight}{Light Directional}
|
||||
\li \l{PointLight}{Light Point}
|
||||
\li \l{SpotLight}{Light Spot}
|
||||
\li \l{AreaLight}{Light Area}
|
||||
\endlist
|
||||
|
||||
@@ -121,6 +122,22 @@
|
||||
Aside from fade, a point light has the same properties as a directional
|
||||
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
|
||||
|
||||
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
|
||||
colors using two different area lights.
|
||||
|
||||
\image area-light.png
|
||||
\image studio-3d-area-light.png
|
||||
|
||||
You can rotate, scale, and move area lights.
|
||||
|
||||
|