Re: [Interest] Qt3D point light intesity

2020-04-11 Thread Megidd Git
Cool, thanks! 

On Sat, Apr 11, 2020 at 9:00 PM Esch Lorenz TU Ilmenau <
lorenz.e...@tu-ilmenau.de> wrote:

> Hi,
>
>
>
> QPointLight inherits from QAbstractLight, which offers setIntensitiy().
> See https://doc.qt.io/qt-5/qt3drender-qabstractlight.html#intensity-prop.
> Hope this helps.
>
>
>
> Cheers,
>
>
>
> Lorenz
>
>
>
> *Von:* Interest  *Im Auftrag von *Megidd
> Git
> *Gesendet:* Samstag, 11. April 2020 11:30
> *An:* interest@qt-project.org
> *Betreff:* [Interest] Qt3D point light intesity
>
>
>
> Hi!
>
>
>
> I'm using point light <https://doc.qt.io/qt-5/qt3drender-qpointlight.html> in
> a 3D scene with entities of Phong
> <https://doc.qt.io/qt-5/qt3dextras-qmorphphongmaterial.html> material. I
> just want to be able to increase/decrease point light *intensity*. Point
> light has three properties:
>
>
>
> - constantAttenuation : float
>
> - linearAttenuation : float
>
> - quadraticAttenuation : float
>
>
>
> Documentation mentions that the exact meaning and use of those properties
> is up to the material implementation. Now I wonder how can I simply
> decrease/increase light intensity, considering that I'm using Phong
> <https://doc.qt.io/qt-5/qt3dextras-qmorphphongmaterial.html> material.
>
>
>
> Thanks
>
> 
>
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Qt3D point light intesity

2020-04-11 Thread Esch Lorenz TU Ilmenau
Hi,

QPointLight inherits from QAbstractLight, which offers setIntensitiy(). See 
https://doc.qt.io/qt-5/qt3drender-qabstractlight.html#intensity-prop. Hope this 
helps.

Cheers,

Lorenz

Von: Interest  Im Auftrag von Megidd Git
Gesendet: Samstag, 11. April 2020 11:30
An: interest@qt-project.org
Betreff: [Interest] Qt3D point light intesity

Hi!

I'm using point light<https://doc.qt.io/qt-5/qt3drender-qpointlight.html> in a 
3D scene with entities of 
Phong<https://doc.qt.io/qt-5/qt3dextras-qmorphphongmaterial.html> material. I 
just want to be able to increase/decrease point light intensity. Point light 
has three properties:

- constantAttenuation : float
- linearAttenuation : float
- quadraticAttenuation : float

Documentation mentions that the exact meaning and use of those properties is up 
to the material implementation. Now I wonder how can I simply decrease/increase 
light intensity, considering that I'm using 
Phong<https://doc.qt.io/qt-5/qt3dextras-qmorphphongmaterial.html> material.

Thanks

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Qt3D point light intesity

2020-04-11 Thread Megidd Git
Hi!

I'm using point light  in
a 3D scene with entities of Phong
 material. I
just want to be able to increase/decrease point light *intensity*. Point
light has three properties:

- constantAttenuation : float
- linearAttenuation : float
- quadraticAttenuation : float

Documentation mentions that the exact meaning and use of those properties
is up to the material implementation. Now I wonder how can I simply
decrease/increase light intensity, considering that I'm using Phong
 material.

Thanks

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest